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.
Created attachment 171983 [details] A glossary for a worldbuilding project.
Edit: Confirmed that this bug exists in LibreOffice 6.4.4.2.
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.
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
Tried alpha/dev release of 7.2, could not reproduce the problem. Will wait for stable release of 7.2.