Bug 145488 - Undo doesn't restore original layout for specific file (image disappears) or when press CTRL+ENTER on first page
Summary: Undo doesn't restore original layout for specific file (image disappears) or ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Undo-Redo
  Show dependency treegraph
 
Reported: 2021-11-01 10:28 UTC by Telesto
Modified: 2022-05-16 07:06 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file (1.29 MB, application/vnd.oasis.opendocument.text)
2021-11-01 10:28 UTC, Telesto
Details
Example file (1.29 MB, application/vnd.oasis.opendocument.text)
2021-11-01 10:30 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-11-01 10:28:08 UTC
Description:
Undo doesn't restore original layout for specific file

Steps to Reproduce:
1. Open the attached file
2. Delete the first image
3. press Undo

Actual Results:
Empty square

Expected Results:
Not so


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 93115d2c54d645bcf2f80fde325e3ede39dee4d5
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

and in
3.5.7.0
Comment 1 Telesto 2021-11-01 10:28:22 UTC
Created attachment 176054 [details]
Example file
Comment 2 Telesto 2021-11-01 10:30:52 UTC
Created attachment 176055 [details]
Example file
Comment 3 Dieter 2021-11-16 07:10:18 UTC
I confirm the behaviour with

Version: 7.2.3.1 (x64) / LibreOffice Community
Build ID: 1d5dee817bde88d78dbcc0d00f88492568e131d5
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL

but I get a different result (still a bug) with

Version: 7.3.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 7b8f630db30ee0066a9f4b6e540368d2fcad7fa8
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

After deleting the image, there is an empty paragraph at the top oof the page with cursor inside (OK)
Undo => empty paragraph disappears and cursor moves to the end of the document.

Telesto, could you please retest with actual master? => NEEDINFO
Comment 4 QA Administrators 2022-05-16 03:35:18 UTC Comment hidden (obsolete)
Comment 5 Telesto 2022-05-16 07:03:37 UTC
Still present
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: cdf8e971d5d46df4bcab35a99c4254df9459213f
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (nl_NL); UI: en-GB
Calc: CL Jumbo
Comment 6 Telesto 2022-05-16 07:05:39 UTC
Also in
7.1

and in
Versie: 4.4.7.2 
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL

and in
LibreOffice 3.5.7.2 
Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b