Bug 134702 - Additional page added after pressing undo, not there upon reopen
Summary: Additional page added after pressing undo, not there upon reopen
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.1 rc
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Undo-Redo
  Show dependency treegraph
 
Reported: 2020-07-09 21:37 UTC by Telesto
Modified: 2021-04-14 19:21 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
Example file (732.68 KB, application/vnd.oasis.opendocument.text)
2020-07-09 21:37 UTC, Telesto
Details
Bibisect log (3.37 KB, text/plain)
2020-07-09 21:38 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-07-09 21:37:34 UTC
Description:
Additional page added after pressing undo

Steps to Reproduce:
1. Open the attached file
2. Select the text on page 2 and press backspace
3. CTRL+Z

Actual Results:
New empty page 3

Expected Results:
No empty page 3


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 7.1.0.0.alpha0+ (x64)
Build ID: c48e4d795e37f23b71d647247590807ab9e52223
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

but not in
6.4
Comment 1 Telesto 2020-07-09 21:37:48 UTC
Created attachment 162866 [details]
Example file
Comment 2 Telesto 2020-07-09 21:38:56 UTC
Created attachment 162867 [details]
Bibisect log

Bisected to:
author	Michael Stahl <Michael.Stahl@cib.de>	2019-12-20 17:28:55 +0100
committer	Michael Stahl <michael.stahl@cib.de>	2019-12-23 10:04:57 +0100
commit 68a5afaaabd0c75bba3439cfdff90fb75d1cdd3f (patch)
tree 53894979f566e3d913a485be170a45c6e0e7ee10
parent 8723ac4e20eda87a82393f2f6c7d28ece8514238 (diff)
sw: fix widow loop with as-char flys in text formatting
The document has a paragraph with 4 as-character anchored flys depicting
Zirbenholz; due to their size and an additional fly that is anchored at
the paragraph, there are 3 lines that do not fit onto a single page.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=68a5afaaabd0c75bba3439cfdff90fb75d1cdd3f
Comment 3 sora34ce 2020-07-30 02:01:17 UTC
I have no idea how this bug even exists. I know that files can be too big to fit onto a single page, but I believe this is definitely a glitch due to the big file present on Page 3. I've noticed that when highlighted, it occupies a space bigger than the single page it fits in, and that the text on Page 2 has a few spaces after that before the image. I believe that there is something with your image that you might look at, but I should get some clarification.
Comment 4 Telesto 2020-07-30 09:25:37 UTC
(In reply to sora34ce from comment #3)
> I have no idea how this bug even exists. I know that files can be too big to
> fit onto a single page, but I believe this is definitely a glitch due to the
> big file present on Page 3.

True

> I believe that there is  something with your image that you might look at, but I > should get some clarification.

There is technically nothing wrong with doc. It has something to do without rendering. They underlying issue is likely caused by commit identified in bug 133975
Comment 5 Timur 2020-09-18 08:50:04 UTC
Repro 7.1+. I change Importance to Minor because additional page is not there upon reopen. Other similar bugs should be in CC or duplicated. 
Since no repro 6.0, I add CC: Michael.Stahl@cib.de, didn't check bibisect myself.
Comment 6 Xisco Faulí 2021-04-14 19:21:14 UTC
Still reproducible in

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: a199e4ea389c934d169a178433f4b94033e60f93
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded