Description: Undo for clear formatting (not clear direct formatting) breaks numbering Steps to Reproduce: 1. open the attached file 2. CTRL+A 3. Clear formatting (paragraph style box) 4. CTRL+Z Actual Results: Multi-level numbering gone Expected Results: Should be restored Reproducible: Always User Profile Reset: No Additional Info: Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community Build ID: deea3b7471c3dab0220eca6146c225a2d47681a2 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL
Created attachment 176979 [details] Example file
Found in 7.0 and in 6.0 and in Versie: 4.4.7.2 Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600 Locale: nl_NL and in LibreOffice 3.5.0rc3 Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Created attachment 177011 [details] Comparison Step 10 withresult in step 14 REPRODUCIBLE with installation of Version 7.2.4.1 (x64) / LibreOffice Build 27d75539669ac387bb498e35313b970b7fe9c4f9 CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win; Locale: de-DE (de_DE); UI: de-DE; Calc: threaded; Elementary Theme; My normal User Profile: 10. Open Smaple document "ssq2e3.odt" in WRITER » you see contents with complex multi level numbering 11. <ctral+a> to select all contents 12. in Formatting Styles Toolbar in Paragraph Style Dropdown change (from "Heading 1") to "Default Paragraph Style » All paragraph related styles changed to "Default" 14. Undo (does not matter whether you use <ctrl+z> or Icon Or Menu 'Edit Undo') » Expected: looks as in step 10 Actual: Numbering and other styles messed up or lost
Additional Info: a) Still REPRODUCIBLE with Server Installation of Version: 7.4.0.0.alpha0+ (x64) Build ID ae36ee4f3aa544e53e2edad93d6d79160b27bc9d CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-US | Calc: CL | Colibri Theme | Special devUserProfile b) Query <https://bugs.documentfoundation.org/buglist.cgi?cmdtype=dorem&remaction=run&namedcmd=DUPs146284&sharer_id=19321> shows some possibly related Bugs b1) To me this one seems more or less the same like "Bug 139376 - Heading numbering style changed after clear paragraph formatting followed by undo"? c) I wonder whether it's correct that also character formatting is affected from "Reset Formatting" in _Paragraph_ Formatting Dropdown d) The sample document has some very particular structure ...
Sorry for the noise, me reporting without using search (and creating duplicate of my own report) *** This bug has been marked as a duplicate of bug 139376 ***