Bug 142269 - PLEASETEST: Phantom page breaks when text flow increases
Summary: PLEASETEST: Phantom page breaks when text flow increases
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.5.2 release
Hardware: All Windows (All)
: medium normal
Assignee: sirtelly
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-13 23:54 UTC by sirtelly
Modified: 2021-05-29 15:51 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
A glossary for a worldbuilding project. (18.64 MB, application/vnd.oasis.opendocument.text)
2021-05-13 23:59 UTC, sirtelly
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sirtelly 2021-05-13 23:54:22 UTC
Description:
Changing the text length of any page (such as paragraph expansion, adding a paragraph, or changing style heights) inserts phantom page breaks in the displayed document, and the page count multiplies to 4 or 5 times what it should be. If you save the document and reopen it, the page count winds back down to a reasonable number, and the phantom page breaks are gone, but the page count still isn't quite right. Note that the phantom page breaks only appear in the "Glossary" portion of the document.

Steps to Reproduce:
1.Open attached document.
2.Note the page count in the lower left corner (148). (Your page count may vary if you don't have some of the fonts installed.)
3.In the navigator window, double-click on "Glossary".
4.Note that each glossary entry neatly follows the other, as designed in the style for "1- Entry".
5.Double-click on "Introduction" in the navigator, and place your cursor after the last period in the first paragraph (ending in "same year").
6.Hit the enter key three times, and watch the page count skyrocket until it settles above 600.
7.In the navigator window, double-click on "Glossary" again. Note how every page now has only one or two glossary entries on it, followed by a "phantom" page break that is not in the document.

Actual Results:
Unwanted "phantom" page breaks in the display, wreaking havoc on the formatting.

Expected Results:
Phantom/display-only page breaks appear, and the page count skyrockets. Saving and reopening the file seems to correct the problem, but I noticed that the page count did not go back to near what it was before.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Text flow should only add to the page count as necessary.
Comment 1 sirtelly 2021-05-13 23:59:16 UTC
Created attachment 171983 [details]
A glossary for a worldbuilding project.
Comment 2 sirtelly 2021-05-14 00:46:46 UTC
Edit: Confirmed that this bug exists in LibreOffice 6.4.4.2.
Comment 3 sirtelly 2021-05-14 01:04:56 UTC
Confirmed that turning off the "Keep with next paragraph" option in paragraph style "1 - Entry" removes the phantom page breaks. Turning off that option in any other paragraph style had no effect.
Comment 4 Dieter 2021-05-29 08:39:18 UTC
I can't confirm it with

Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 4a9eef7849a75ba91806886ea9c96d114c8d56f9
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

Document has 147 pages and after inserting three paragraphs on introduction page it has 148 pages (expected)

So could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? If you don't want to change to a newer version please try to reproduce it with a master build from http://dev-builds.libreoffice.org/daily/master/current.html ? You can install it alongside the standard version.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the master build
Comment 5 sirtelly 2021-05-29 15:27:51 UTC
Tried alpha/dev release of 7.2, could not reproduce the problem. Will wait for stable release of 7.2.