https://bugs.documentfoundation.org/show_bug.cgi?id=167672

            Bug ID: 167672
           Summary: Margins are wrongly calculated when applying styles in
                    LibreOffice 25.2
           Product: LibreOffice
           Version: 25.2.5.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Since LibreOffice 25.2.x, the margins of styles are calculated wrong. After
saving and reloading the file, the margins are right.

Steps to Reproduce:
1.) Open the attached test-document
(LibreOffice_25.2_Margin-Calculation-Error-Demonstration.odt. The demo won't
work with the default style-sheets in modern LibreOffice versions)

2.) Apply Heading 5 to line 2

3.) Notice the margin between line 2 and 3

4.) Save the document and reload it (File -> Reload)

5.) Notice that the margin between line 2 and 3 is a lot less now, compared to
before the save/reload.

Actual Results:
The margins are wrong immediately after the style is applied. After
save/reload, the margins are right.

Expected Results:
The margins should be the same, no matter if the style just got applied, or if
the document is saved/reloaded.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Up until LibreOffice 24.8.7 this error did not exist. It was introduced some
when in 25.2 development. In the attached file
(LibreOffice_25.2_Margin-Calculation-Error-Demonstration.png) one can easily
see the different margins before and after the reload.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to