https://bugs.freedesktop.org/show_bug.cgi?id=75916
Priority: medium
Bug ID: 75916
Assignee: [email protected]
Summary: Unresetted hidden decimals in positions and sizes
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: All
Status: UNCONFIRMED
Version: Inherited From OOo
Component: framework
Product: LibreOffice
This is probably inherited from the openoffice code base
To reproduce:
-------------
1) Open Libreoffice impress (or draw)
2) Open the Tools->Options dialog
3) Go to the Libreoffice Impress -> General tab
4) Set the unit of measurement to millimeters
5) Draw something
6) Open the position and size dialog for the just drawn object
7) Set the object x position to 61.04 mm
8) Open the Tools->Options dialog
9) Go to the Libreoffice Impress -> General tab
10) Set the unit of measurement to centimeters
11) Open the position and size dialog for the just drawn object
12) Note how the x position reads 6.10 cm (we know that this is in fact 6.104
cm)
13) Type 6.10cm as the x position, press OK. Now the position should be 6.10 cm
14) Open the Tools->Options dialog
15) Go to the Libreoffice Impress -> General tab
16) Set the unit of measurement to millimeters
17) Open the position and size dialog for the just drawn object
18) Note how the x position reads 61.04 mm. Our editing action at point 13 has
not reset the hidden decimals (!)
In my humble opinion, even if the position and size boxes only display a fixed
number of decimal digits, when the user explicitly enters a quantity with more
digits, these should not be ignored. Otherwise:
1) there is no way for the user to position objects with high precision
2) there is no way to see that the user input is different from the current
stored value when the difference is on decimal digits that are customarily not
shown. As a consequence the value is not updated. Hence, if the currently
stored value is 6.104 and the user enters 6.10, the software truncates 6.104 to
6.10, sees it as identical to the user input and does not update the value to
the user input. Nasty decimal digits that cause ugly misalignements in display
and print may get retained.
Furthermore, it would be nice if
1) At least one additional digit was shown when working in cm (3 instead of 2);
or
2) then number of shown digits was made configurable together with the
measurement unit.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs