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

            Bug ID: 161741
           Summary: LO crashes with undo/redo of new header + some other
                    change
           Product: LibreOffice
           Version: 7.2 all versions
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Steps to reproduce the crash
- launch Writer
- Menu "Insert" -> Header and Footer -> Header -> Default Style
* enter "something" in the header
* use the undo dropdown to undo everything, including "Header/footer changed"
(in one step) 
- Redo
=> crash

Notes: header or footer is irrelevant. The method of creating the header/footer
is irrelevant (I used the in-header-area + button in testing).

The ability to undo/redo the "Header/footer change" started in
bibisect-linux-64-7.2 commit 910d9a081daf11ea53235d227c3dc9623942a824
commit 8d8486f43c1a8a51157bfc3e0b87090b05a9229e
Author: Daniel Arato (NISZ) on Mon Feb 22 16:59:38 2021 +0100
    tdf#46561 sw: fix lost undo stack setting header/footer

At first, (at least for these particular steps) undo/redo worked. Then for a
short time the undo cleared the redo list, until the crash started with
bibisect-linux-64-7.2 commit 68d3f7ef5385a8c5717131fcd0f98e3fca9da825
commit 0cd000bb83719982c1fd2265ea040c82af5bf98e
Author: Daniel Arato (NISZ) on Mon Apr 26 15:04:17 2021 +0200
    tdf#141613 sw: avoid possible crash when undoing header creation
        We still need to call ClearRedo() because
        there is no mechanism in place to Redo a header/footer change.

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

Reply via email to