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

            Bug ID: 161172
           Summary: UNDO incomplete: list level is not restored in a
                    specific document
           Product: LibreOffice
           Version: 24.2.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: implementationError
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Created attachment 194188
  --> https://bugs.documentfoundation.org/attachment.cgi?id=194188&action=edit
A manual list item

1. Open the attachment. See that the single paragraph there (with the text
"foo") has the paragraph style "No_list", the numbering style "Num_1", the list
level 1 (shown in the status bar), and the numbering label "Num1_lvl1_1".

2. Double-click paragraph style "Num_1_lvl2" in the Stylist (F11) to apply it
to the paragraph. See that the list level in the status bar changes to level 2,
and that the numbering label becomes "Num1_lvl2_1".

3. Undo (Ctrl+Z). See that the paragraph style restores to the "No_list". The
problem is: the list level is not restored to level 1 (it is still level 2),
and the numbering label is still "Num1_lvl2_1", instead of the expected
"Num1_lvl1_1".

The change of the list level in step 2 was implemented in commit
c1cfe85f8bba10d367ef9ef1d6d569f53969dd34 (tdf#62032 use style list level when
changing style, 2023-07-10). The correct Undo needs to be implemented.

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

Reply via email to