Description: In the Dimension Line dialog, setting the number of decimal places above 7 causes the measurement preview to overflow its display area. 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" value beyond 7 Actual Results: When the number of decimal places is increased beyond 7, the measurement text in the preview area shows an overflows its value and shows -21.47483648 Expected Results: The preview should properly handle higher numbers of decimal places without overflowing by limiting the maximum number of visible decimal places. Reproducible: Always User Profile Reset: No Additional Info: Version: 26.8.0.0.alpha0+ (X86_64) Build ID: cb6edc8aaefcb20b0e0f98a55111a43a1d63578f 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
Created attachment 206668 [details] Dimensione line dialog preview overflow
Already occuring in LibreOffice 3.3.0.4. Inherited from OOo? ( cf. Issue 128487 - "Dimension line - numerical artefact" https://bz.apache.org/ooo/show_bug.cgi?id=128487 )
(In reply to nutka from comment #2) > Already occuring in LibreOffice 3.3.0.4. Inherited from OOo? > ( cf. Issue 128487 - "Dimension line - numerical artefact" > https://bz.apache.org/ooo/show_bug.cgi?id=128487 ) Unfortunately, I cannot access the link since Apache prevents the scraping and I could not figure out any new registration to the site.
My bad! Please find attached relevant files: .pdf and .odg
Created attachment 206673 [details] AOO Bugzilla - Issue 128487
Created attachment 206674 [details] Attachment to AOO Bugzilla Issue 128487
Thank you very much!
Andreas Heinisch committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/7a124dd41f2bbe62f60ff93a620f61a56516e385 tdf#171746 - Limit number of decimal places to prevent numeric overflow It will be available in 26.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Andreas Heinisch committed a patch related to this issue. It has been pushed to "libreoffice-26-2": https://git.libreoffice.org/core/commit/8c171a205cec514936a03daba6082135cfe6a8b3 tdf#171746 - Limit number of decimal places to prevent numeric overflow It will be available in 26.2.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.