https://bugs.documentfoundation.org/show_bug.cgi?id=171912
Bug ID: 171912
Summary: Dimension Line dialog: preview shows rounding errors
using different measurement units
Product: LibreOffice
Version: 26.8.0.0 alpha0+ master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Draw
Assignee: [email protected]
Reporter: [email protected]
Description:
In the Dimension Line dialog, changing the measurement units while using a
higher number of decimal places with automatic mode disabled results in
incorrect rounding.
Steps to Reproduce:
1. Open Draw
2. In the left toolbar, open the "Lines and Arrows" panel
3. Choose "Dimension Line"
4. Draw any dimension line in the workspace
5. Select the inserted dimension line
6. Right-click the object and choose "Dimensions..." from the context menu
7. In the dialog, increase the "Decimal places" to 5
8. Uncheck the "Automatic" checkbox
9. Switch "Show measurement units" from Millimeter to Centimeter to Meter
Actual Results:
Preview shows 124.04000 using Millimeters
Preview shows 12.40000 using Centimeters
Preview shows 0.12000 using Meters
Expected Results:
Preview shows 124.04000 using Millimeters
Preview shows 12.40400 using Centimeters
Preview shows 0.12404 using Meters
Not rounding away fractions.
Reproducible: Always
User Profile Reset: No
Additional Info:
Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 90890974c2e843e615a95286e29c3114342f2b28
CPU threads: 12; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster;
VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: CL threaded
Happens after the new feature from bug 138414.
--
You are receiving this mail because:
You are the assignee for the bug.