Description: Number of pages different after undo of cut; back to normal after save and reload Steps to Reproduce: 1. Open the attached file 2. CTRL+A 3. CTRL+X or Backspace or delete 4. CTRL+Z I attempted to trim it more, but tends to work as expected.. Actual Results: On open 255; after undo 289. after save and reload 255 LibreOffice 4.4.7.2 shows 255 on open. 251 after delete redo. and 251 after reload Expected Results: Some timing more stable Reproducible: Always User Profile Reset: No Additional Info: Version: 7.0.0.0.alpha0+ (x64) Build ID: 97a2c1fc5e376c0c00968f17a0392c6d3a5ed565 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win; Locale: nl-NL (nl_NL); UI-Language: en-US Calc:
Created attachment 160400 [details] Example file
Based on attachment 157129 [details]
Bibisected with win32-6.2 to https://git.libreoffice.org/core/commit/723728cd358693b8f4bc9d913541aa4479f2bd48 sw_redlinehide_2: SwUndoDelete Adding Cc: to Michael Stahl For me the good result after undo was exactly correct, 255.
*** Bug 138618 has been marked as a duplicate of this bug. ***
I can't reproduce this in bibisect-linux-7.1 after: https://git.libreoffice.org/core/+/b9ef71476fd70bc13f50ebe80390e0730d1b7afb author Michael Stahl <Michael.Stahl@cib.de> Fri Nov 13 20:52:28 2020 +0100 committer Michael Stahl <michael.stahl@cib.de> Mon Nov 16 16:51:19 2020 +0100 tdf#134298 sw: layout: remove left-over page frame without content Number of pages equals the original 255 after cut all - undo. *** This bug has been marked as a duplicate of bug 134298 ***