Apache OpenOffice (AOO) Bugzilla – Issue 8340
∑ Table column widths does not match with total Table width
Last modified: 2017-05-20 10:11:30 UTC
I use NT 4, SP6 Steps reproduce problem 1) Start a new document in OO Writer 2) Set page width to 1 inch by setting the margin in Format->Page menu. (It's not neccesary to do this, but it make you see the bug easier. In my case I use Left 1", Right 6.5") 3) Go to menu Insert->Table. Set Column to 50 (make a table with 50 columns). Hit OK. 4) Go to menu Format->Table->Columns Tab. 5) Click on that right arrow under "Column width" until the width of the column 50th shown. As you will see that from 1 to 49, column widths are 0.02". The width of the column 50th is 0.05". 0.02 * 49 + 0.05 = 1.03" This mean the table width is longer than the page width 1" as we set above. The issue here that the width of column 50th should be 0.02, not 0.05. After I play with it a little bit, I found the issue is actually a little more serious. The bug can reproduce with the same steps as above, but use 6 columns instead of 50. This results in column width is .17". 0.17 * 6 = 1.02" > 1.0"
Tony, thank you for using and supporting OOo. Duplicated on Win NT 4.0 SP6a, OOo 643. When I print the document out, the table is exactly 1 inch.
Created attachment 3435 [details] 6 columns on a with the margins set so that there is a text area of 1 inch.
Reassigned to Andreas.
I don't see a perfect solution for 6 columns and 1 inch. If we have two positions after decimal point for displaying, we have to display 0.17. Of course we could display 4x0.17 and 2x0.16 but then it would look like different column widths?! The 50 column problem may be a non optimal calculation/displaying of the last column, we will have a look at this but with a minor priority.
SBA: According to the OpenOffice.org roadmap http://tools.openoffice.org/releases this issue was retargeted to OOo Later.
.
Assignee back to list due to facts! That looks like a normal rounding problem? With "AOO 4.1.0 Release – German UI / German locale [AOO410m18(Build:9764) - Rev. 1589052 2014-04-22 11:43:54]" on German WIN7 Home Premium (64bit)", “historic” 4. User Profile used for all predecessor versions I see 6 Columns * 0,17 ∑ 1,02 " 6 Columns * 0,16 " would be ∑ 0,96 " So the display is the optimum what can be reached with 2 decimals?
Not an issue due to comment above. Please feel free to reopen if you can contribute comprehensible arguments that we have a real problem here.