Issue 117227

Summary: Limit on the left spacing in Table Properties is less than the cell width.
Product: Impress Reporter: spowers2004 <spowers2004>
Component: formattingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3 CC: issues, louqingle, rtrujillo2008
Version: DEV300m98   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Test document used in my replication none

Description spowers2004 2011-03-05 02:49:18 UTC
Impress allows you to enter a table and dynamically change the width of each cell. I was working with the Table Properties->Borders->”Spacing to contents” values and noticed that each value has a maximum value of 1.97”. If you have a cell that is larger than 1.97” and would like to indent the text using the Left “Spacing to contents” value, you would manually need to enter spaces for the additional length required after 1.97”. This is not the behavior I expected while working with this behavior. The steps to reproduce this behavior are listed below.

Replication Steps:

1. Start a new presentation in OpenOffice
2. Create a table (Selecting Insert -> Table) 
3. Leave the Default number of columns and rows and click OK.
4. Increase the width of the first cell by dragging the cell separator to the right.
5. Type the text “Hello World” in the first cell.
6. Select Table Properties under the Table Toolbar
4. Change the left spacing values to be the maximum value, 1.97
5. Click OK
Notice the text is not indented to the full extent of the cell as it would be with smaller cells.

When you change the left spacing value for a cell that is smaller than 1.97”, the cell width is automatically increased. I have run this same test under a similar feature in Microsoft PowerPoint and when you increase the spacing for a cell larger than the cells width, it will automatically increase the cell width without setting a maximum value of 1.97” on the value. I suggest that the spacing values do not have a maximum of 1.97” and either have a maximum that is equal to the cell’s width or there is no maximum value on the spacing value and the cell width will be increased appropriately. 

Thank you,
-Sean Powers
Comment 1 wolframgarten 2011-03-07 14:08:23 UTC
Reproducble. Reassigned.
Comment 2 Robert Trujillo 2011-10-04 22:55:12 UTC
(Robert Trujillo, 10/4/2011)

Replicated in OOo-dev 3.3.0 (OOO330m20) Build: 9567, Windows 7 Ultimate 32-bit

When a editing a table in Impress, after entering text into the first cell in the first row and changing the spacing to a greater than 1.97” the size of the cell stops changing dynamically as the max value seems to be 1.97”. It would be expected that you could keep increasing this spacing as necessary and that it does not stop at 1.97”.

Since users may expect to be able to dynamically change the cell width by increasing spacing around the contents this could be potentially problematic bug; especially for users that use Microsoft PowerPoint, which does not appear to have this issue.

Expected Results:
It is expected that the cell would give the appropriate spacing to the cell above the value 1.97” dynamically allowing the user to change the width of the cell.

Actual Results:

After the value 1.97” the cell will no longer become larger and the value will be set back to 1.97” if a number larger than that has been entered.

Steps to Reproduce: (File Attached if needed)

1. Open Impress; create a new blank slide presentation.

2. Create a table by clicking Insert->Table

3. Keep the default values (In my case Columns=5, Rows=2), Click Ok

4. Select the first cell in the first row and type the string “Software Testing”.

5. A table tool bar should pop up when the table is selected. If not click View->Toolbars->Table.

6. Click the Table properties button. (bottom row, last button in my configuration)

7. Click the Borders tab.

8. Uncheck the “Synchronize” field so one individual spacing field can be changed independently.

9. In the “Left” value enter a known working value such as 1.5” (my other columns read Right=0.10” Top=0.05” Bottom=0.05”) and click OK. (column should add space)

10. Notice that the cell gets larger with the indent is has placed to the left of the contents.

11. Repeat this with the value 1.97” grows the table cell yet again.

12. Enter a number larger than 1.97” in the left indent. Notice no change.

13. Click back into the properties and notice that the value has changed itself back to 1.97”.

Follow-up tests:

1. Tested without step four of spowers2004 replication steps and results seem to be completely consistent.

2. Tested other cells besides just the left (top,right,bottom) and the exact same results are achieved.

3. Tested with 9 columns and 5 rows and the same results were seen.
Comment 3 Robert Trujillo 2011-10-05 03:28:07 UTC
Created attachment 76864 [details]
Test document used in my replication
Comment 4 Oliver-Rainer Wittmann 2012-06-13 12:23:39 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.
Comment 5 louqle 2012-08-31 04:57:53 UTC
(In reply to comment #2)
> (Robert Trujillo, 10/4/2011)
> 
> Replicated in OOo-dev 3.3.0 (OOO330m20) Build: 9567, Windows 7 Ultimate
> 32-bit
> 
> When a editing a table in Impress, after entering text into the first cell
> in the first row and changing the spacing to a greater than 1.97” the size
> of the cell stops changing dynamically as the max value seems to be 1.97”.
> It would be expected that you could keep increasing this spacing as
> necessary and that it does not stop at 1.97”.
> 
> Since users may expect to be able to dynamically change the cell width by
> increasing spacing around the contents this could be potentially problematic
> bug; especially for users that use Microsoft PowerPoint, which does not
> appear to have this issue.
> 
> Expected Results:
> It is expected that the cell would give the appropriate spacing to the cell
> above the value 1.97” dynamically allowing the user to change the width of
> the cell.
> 
> Actual Results:
> 
> After the value 1.97” the cell will no longer become larger and the value
> will be set back to 1.97” if a number larger than that has been entered.
> 
> Steps to Reproduce: (File Attached if needed)
> 
> 1. Open Impress; create a new blank slide presentation.
> 
> 2. Create a table by clicking Insert->Table
> 
> 3. Keep the default values (In my case Columns=5, Rows=2), Click Ok
> 
> 4. Select the first cell in the first row and type the string “Software
> Testing”.
> 
> 5. A table tool bar should pop up when the table is selected. If not click
> View->Toolbars->Table.
> 
> 6. Click the Table properties button. (bottom row, last button in my
> configuration)
> 
> 7. Click the Borders tab.
> 
> 8. Uncheck the “Synchronize” field so one individual spacing field can be
> changed independently.
> 
> 9. In the “Left” value enter a known working value such as 1.5” (my other
> columns read Right=0.10” Top=0.05” Bottom=0.05”) and click OK. (column
> should add space)
> 
> 10. Notice that the cell gets larger with the indent is has placed to the
> left of the contents.
> 
> 11. Repeat this with the value 1.97” grows the table cell yet again.
> 
> 12. Enter a number larger than 1.97” in the left indent. Notice no change.

XP SP3 against Aoo trunk build 1376366, after step 12, the table cell shrink to the original value 0.4", but not leave at 1.97". This should be fixed

> 
> 13. Click back into the properties and notice that the value has changed
> itself back to 1.97”.
> 
> Follow-up tests:
> 
> 1. Tested without step four of spowers2004 replication steps and results
> seem to be completely consistent.
> 
> 2. Tested other cells besides just the left (top,right,bottom) and the exact
> same results are achieved.
> 
> 3. Tested with 9 columns and 5 rows and the same results were seen.
Comment 6 Marcus 2017-05-20 11:08:39 UTC
Reset assigne to the default "issues@openoffice.apache.org".