[Libreoffice-bugs] [Bug 142811] New: UI: Ruler grid inaccurate for tabstops in metric units
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Jun 11 22:22:59 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=142811
Bug ID: 142811
Summary: UI: Ruler grid inaccurate for tabstops in metric units
Product: LibreOffice
Version: 7.1.3.2 release
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: minor
Priority: medium
Component: Writer
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: mail2.0 at gmx.de
Description:
When placing a tabstop on the ruler with the mouse, it snaps into the nearest
grid point. However, using Centimeter as measuring unit causes unexpected
deviations of +- 0,01 cm from the regular grid positions, which can be detected
in the Paragraph > Tabs dialog view.
Steps to Reproduce:
1. Open a new text-document
2. Make sure to use Centimeter as Measurement Unit in Tools > Options >
LibreOffice Writer > General
3. Also use Centimeters with the ruler: right-click on the ruler and select
"Centimeter" from the context menu
4. Choose Paper Format "A4" in Format > Page Style...
5. Set View > Zoom > 100% (only full- and half- cm tick marks should be visible
on the ruler)
6. By clicking and dragging the mouse on the ruler, place a tabstop at the 16
cm tick mark
7. Check the location of tabstops in the Format > Paragraph > Tabs dialog.
Actual Results:
Position of the tabstop is shown to be 16,01 cm
Expected Results:
Tabstop should be placed at exactly 16,00 cm
Reproducible: Always
User Profile Reset: No
Additional Info:
Workaround: Zoom in more or use the Paragraph > Tabs dialog.
The behaviour was also observed in different units (e.g. milimeters), at
various zoom-levels and with other tabstop positions (not too small).
Suspecting a unit-conversion/rounding/floating point error.
Tested on monitor with DPI scaling 100% (72 DPI).
Version: 7.1.3.2 (x64) / LibreOffice Community
Build ID: 47f78053abe362b9384784d31a6e56f8511eb1c1
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210611/edd900c2/attachment.htm>
More information about the Libreoffice-bugs
mailing list