Bug 132738 - Page count different after undo of cut; back to normal after save and reload
Summary: Page count different after undo of cut; back to normal after save and reload
Status: RESOLVED DUPLICATE of bug 134298
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.0.3 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Undo-Redo redlinehide-regressions
  Show dependency treegraph
 
Reported: 2020-05-05 18:50 UTC by Telesto
Modified: 2022-02-15 00:16 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (467.00 KB, application/vnd.oasis.opendocument.text)
2020-05-05 18:50 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-05-05 18:50:25 UTC
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:
Comment 1 Telesto 2020-05-05 18:50:39 UTC
Created attachment 160400 [details]
Example file
Comment 2 Telesto 2020-05-05 18:51:22 UTC
Based on attachment 157129 [details]
Comment 3 Buovjaga 2020-08-30 18:55:05 UTC
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.
Comment 4 Dieter 2021-01-04 08:25:01 UTC
*** Bug 138618 has been marked as a duplicate of this bug. ***
Comment 5 Gabor Kelemen (allotropia) 2022-02-15 00:16:26 UTC
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 ***