Apache OpenOffice (AOO) Bugzilla – Issue 124436
the Increase Spacing and Decrease Spacing buttons change the paragraph spacing value inconsistently
Last modified: 2020-03-04 08:45:43 UTC
When the Increase Spacing or Decrease Spacing button is used it changes the current Above Paragraph Spacing and Below Paragraph Spacing values inconsistently To reproduce enter a text into the document, set its Before and After Paragraph Spacing to 50,00 mm and press the Increase Spacing button. The following are the results of the increase: Increasing gives these results with millimeters as the unit: 50,00 51,03(1,03) 52,05(1,02) 53,08(1,03) 54,10(1,02) 55,12(1,02) so the increase - seen in the bracket - is either 1,03 or 1,02 The same happens for cm unit: 2,10 2,21(0,10) 2,31(0,10) 2,41(0,10) 2,51(0,10) 2,61(0,10) 2,72(0,11) 2,82(0,10) 2,92(0,10) 3,02(0,10) the increase - seen in the bracket - is either 0,10 or 0,11 The similar result can be reproduced for decreasing the spacing value. This bug is not critical, but it can be annoying for the user not to be able to rely on a steady increase which one would expect from a button designated just for this functionality.
I think root of that effect is that AOO internally calculates with some other unit than mm (pt?), and so the shown values are calculated with rounding. If I am right it should be impossible to select a linear measure of 50mm anywhere. For Paragraph spacings as reported, Calc column width and row height, DRAW positions and sizes, always there should be a change from 50,00mm to 50,01mm. So it is for me with Writer and Calc, but not in Draw, where I can place a rectangle as position 50,00/50,00mm with size 50,00mmx50,00mm. So my hypothesis is incomplete or wrong. I am pretty sure that we already have bug reports concerning these rounding problems.
(In reply to Rainer Bielefeld from comment #1) > I think root of that effect is that AOO internally calculates with some > other unit than mm (pt?), and so the shown values are calculated with > rounding. > > If I am right it should be impossible to select a linear measure of 50mm > anywhere. For Paragraph spacings as reported, Calc column width and row > height, DRAW positions and sizes, always there should be a change from > 50,00mm to 50,01mm. So it is for me with Writer and Calc, but not in Draw, > where I can place a rectangle as position 50,00/50,00mm with size > 50,00mmx50,00mm. So my hypothesis is incomplete or wrong. > > I am pretty sure that we already have bug reports concerning these rounding > problems. I think you may be right. I think the calculation is done in inches then translated into other units - I am not entirely sure either. I would be surprised if this issue weren't reported yet, but I honestly couldn't find an existing bug in the database.
(In reply to Rainer Bielefeld from comment #1) > I think root of that effect is that AOO internally calculates with some > other unit than mm (pt?), and so the shown values are calculated with > rounding. Actually, the Writer internally works with Twips which is equals 1/20pt. As far as I know Calc and Draw/Impress are working internally with 1/100mm. > > If I am right it should be impossible to select a linear measure of 50mm > anywhere. For Paragraph spacings as reported, Calc column width and row > height, DRAW positions and sizes, always there should be a change from > 50,00mm to 50,01mm. So it is for me with Writer and Calc, but not in Draw, > where I can place a rectangle as position 50,00/50,00mm with size > 50,00mmx50,00mm. So my hypothesis is incomplete or wrong. > > I am pretty sure that we already have bug reports concerning these rounding > problems. I also assume that the inconsistencies are caused by rounding errors
I assume that the Increase Spacing or Decrease Spacing buttons on the corresponding Sidebar Properties Paragraph panel are meant. Right? I reproduced it also in AOO 4.0.0 I observed the same in drawing objects available in all applications (Calc, Writer, Draw/Impress)