Bug 135220 - Different number of pages/ layout after CTRL+X undo
Summary: Different number of pages/ layout after CTRL+X undo
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.1 rc
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Undo-Redo
  Show dependency treegraph
 
Reported: 2020-07-28 11:25 UTC by Telesto
Modified: 2020-09-24 19:25 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (6.57 MB, application/vnd.oasis.opendocument.text)
2020-07-28 11:26 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-07-28 11:25:59 UTC
Description:
Different number of pages/ layout after CTRL+X undo

Steps to Reproduce:
1. Open the attached file
2. CTRL+A
3. CTRL+X
4. CTRL+Y

Actual Results:
413-416 pages at undo

Expected Results:
398 (worked fine in 6.0-6.4)


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: <buildversion>
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
Comment 1 Telesto 2020-07-28 11:26:19 UTC
Created attachment 163685 [details]
Example file
Comment 2 Telesto 2020-07-28 11:27:29 UTC
For the record; save the file & reload you get 398 again
Comment 3 BogdanB 2020-09-18 20:38:36 UTC
Before: 398
After: 408
Reload: 398

Your step 4 should be: Ctrl+Z, not Ctrl+Y.
Comment 4 raal 2020-09-24 19:25:27 UTC
This seems to have begun at the below commit.
Adding Cc: to Michael Stahl; Could you possibly take a look at this one?
Thanks

e10b27a4bccbf917348bd88fa19fe0352d4cc1b3 is the first bad commit
commit e10b27a4bccbf917348bd88fa19fe0352d4cc1b3
Author: Jenkins Build User <tdf@pollux.tdf>
Date:   Wed Apr 8 13:26:54 2020 +0200

    source sha:6c7245e789f973cf6dad03f7008ab3f9d12d350c

https://gerrit.libreoffice.org/c/core/+/91842