Bug 133930 - A <text:soft-page-break /> is inserted on load
Summary: A <text:soft-page-break /> is inserted on load
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All All
: high major
Assignee: Not Assigned
Depends on:
Blocks: Writer-Page-Break
  Show dependency treegraph
Reported: 2020-06-12 13:16 UTC by Rene van Lieshout
Modified: 2022-07-29 04:36 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

File without pagebreak, but with after load (50.37 KB, application/vnd.oasis.opendocument.text)
2020-06-12 13:16 UTC, Rene van Lieshout
Example file (50.13 KB, application/vnd.oasis.opendocument.text)
2020-06-13 07:22 UTC, Telesto

Note You need to log in before you can comment on or make changes to this bug.
Description Rene van Lieshout 2020-06-12 13:16:20 UTC
When I open the attached document LibreOffice Writer inserts a <text:soft-page-break /> just before ' <text:tab /> Taakuitvoering'.

Also it somewhat behaves weird around that soft-page-break.

Steps to Reproduce:
1. Open document

Actual Results:
Soft page break in document

Expected Results:
No soft page break in document

Reproducible: Always

User Profile Reset: Yes

Additional Info:
This also affects somebody who've I've sent that document using a Windows machine
Comment 1 Rene van Lieshout 2020-06-12 13:16:54 UTC
Created attachment 161921 [details]
File without pagebreak, but with after load
Comment 2 Julien Nabet 2020-06-12 17:36:13 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this.
Comment 3 Telesto 2020-06-13 07:22:29 UTC
Created attachment 161941 [details]
Example file

Copy/paste of the original file.. looks as it supposed to look. Delete the first page break break and the soft break is inserted
Comment 4 Telesto 2020-06-13 08:00:10 UTC
Also in:
Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b

Let's call this a serious glitch and see what happens

* Page breaks are quite essential.. 
* Text flow shouldn't be broken.. 
* It's an old bug
* There are more complains of layout of broken layout (in large documents, likely caused by this)
* It happens unexpectedly 
* It's hard to solve -> Except for copy/paste
Comment 5 Telesto 2020-06-13 12:35:31 UTC Comment hidden (obsolete)
Comment 6 Telesto 2020-06-13 13:00:33 UTC
You might find this interesting to follow, based on comment 0 bug 129101
Comment 7 Justin L 2020-07-28 06:45:24 UTC
The problem with the design of this document is that every single paragraph is trying to "keep with the next" one. So LO is trying to fit the entire document's content on the last page - together with the last paragraph. Since it doesn't all fit on the last page, some of it has to end up on previous pages. The results are going to be somewhat unexpected, and extremely taxing on the layout engine.
Comment 8 Justin L 2020-07-28 06:53:18 UTC
I guess I should be clear on how to "fix" this design.

I'd say for this particular document you would want to modify the paragraph styles for Heading 4 and Heading 5, and on the Text Flow tab, remove the "Keep with next Paragraph" setting.
Comment 9 QA Administrators 2022-07-29 04:36:13 UTC
Dear Rene van Lieshout,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)

If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword

Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team