https://issues.apache.org/ooo/show_bug.cgi?id=124886

          Issue ID: 124886
        Issue Type: DEFECT
           Summary: Tab settings corrupted on changing units
           Product: Writer
           Version: 4.0.1
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: formatting
          Assignee: [email protected]
          Reporter: [email protected]

There seems to be a rounding error causing the tab settings to be corrupted on
changing units.

Replication 1

1. Open Preferences/writer/general.
2. Set units to centimetres
3. Set tabs to 1.00 cm.
4. Change units to inches.
5. Change units to centimetres. Value corrupts to 0.99.
6. Change units to millimetres. Value corrupts to 0.991.

Replication 2

1. Close and repeat 1-3 above using 0.89 as tab value.
2. Change units to millimetres. Value corrupts to 0.891. It should be 0.890.

Replication 3

1. Close and reopen.
3. Set units to points.
4. Set tabs to 25.0 points.
5. Change units to inches.
6. Change units back to points. Value corrupts to 25.2 points.
7. Et cetera.

Presumably this is because AOO is still working natively in inches and
converting other values – but using insufficient significant figures when so
doing.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

Reply via email to