Bug 123242 - Reverting changes made with Undo is leading to inconsistent results.
Summary: Reverting changes made with Undo is leading to inconsistent results.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.7.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Undo-Redo
  Show dependency treegraph
 
Reported: 2019-02-07 21:53 UTC by Richard
Modified: 2019-02-09 10:38 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Described File (18.96 KB, application/vnd.oasis.opendocument.text)
2019-02-07 21:54 UTC, Richard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard 2019-02-07 21:53:28 UTC
Description:
When opening the attached file and deleting the first two paragraphs, at the the initial cursor location, it will move the rest of the document upwards as expected.

However, when reverting these deletions with Undo, the rest of the document will end up on the next page, rather than in the middle of the first one, where it was initially.

Steps to Reproduce:
1.
Open attached document.
2.
At the initial cursor position, hit delete twice, removing the paragraphs.
I suggest enabling formatting marks for this.
3.
Revert those two deletions with Undo.

Actual Results:
The rest of the document below the cursor position will end up on the second page.

Expected Results:
Returned to the same state as when the document was opened. Leaving the rest of the document back on the first page.


Reproducible: Always


User Profile Reset: No



Additional Info:
This document was initially a Microsoft Word OOXML document, saved with Word 2016, likely initially created in Word 2003.

When using the original OOXML file in Word, there isn't as much white space between the Quotation header and the table that starts with Attention. I'll file another bug for this issue.
Comment 1 Richard 2019-02-07 21:54:18 UTC
Created attachment 149000 [details]
Described File
Comment 2 Dieter Praas 2019-02-08 09:48:05 UTC
I confirm and with

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 411f3a050ac2be598019d512f8ccfe041080c28f
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-01-14_03:17:11
Locale: en-US (de_DE); UI-Language: en-US
Calc: threaded

and with

Version: 5.4.7.2 (x64)
Build-ID: c838ef25c16710f8838b1faec480ebba495259d0
CPU-Threads: 4; BS: Windows 6.19; UI-Render: GL; 
Gebietsschema: de-DE (de_DE); Calc: CL