Bug 146287 - Undo doesn't restore page layout
Summary: Undo doesn't restore page layout
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Undo-Redo
  Show dependency treegraph
 
Reported: 2021-12-17 19:45 UTC by Telesto
Modified: 2023-10-12 19:21 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (19.57 KB, application/vnd.oasis.opendocument.text)
2021-12-17 19:45 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-12-17 19:45:30 UTC
Description:
Undo doesn't restore page layout

Steps to Reproduce:
1. Open the attached file 
2. Put the cursor after the yellow marking
3. Press delete
4. Press Undo (notice the text below yellow marking)
5. Click on 1.2.3 numbering -> jumps to next page

Actual Results:
Undo doesn't restore the original position 

Expected Results:
Not sure what the buggy part is, text not being below (see bug 146279) or undo misbehaving or both?


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
Comment 1 Telesto 2021-12-17 19:45:57 UTC
Created attachment 176983 [details]
Example file
Comment 2 Telesto 2021-12-17 19:47:49 UTC
@Heiko
Depending on bug 146279. There is bug one way or another
Comment 3 Heiko Tietze 2021-12-20 10:51:09 UTC
To rephrase the steps: the document contains several paragraphs, all using headings with "keep together" set. Undoing the deletion of a paragraph break puts it tight after the previous. So in other words: the layouting is not consistent with the situation before.

Probably related to bug 135220
Comment 4 Kira Tubo 2023-10-12 19:21:21 UTC
In the current master build, layout is restored when Undo occurs (bullet 2.1.3 is automatically returned to the previous position in the next page). Since this is no longer reproducible, I will close the ticket as WORKSFORME.

Not reproduced in:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1ec2e39cf4d5fe0a592bc783fd8bcdc4345c8cbd
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Reproduced in:

Version: 7.5.5.2 (X86_64) / LibreOffice Community
Build ID: ca8fe7424262805f223b9a2334bc7181abbcbf5e
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Version: 7.3.3.2 (x64) / LibreOffice Community
Build ID: d1d0ea68f081ee2800a922cac8f79445e4603348
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL