Bug 113178 - FILESAVE: Writer makes page break although not necessary
Summary: FILESAVE: Writer makes page break although not necessary
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.2.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Page-Break
  Show dependency treegraph
 
Reported: 2017-10-17 09:38 UTC by Jonas Müller
Modified: 2025-04-17 03:10 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
affected odt file (244.97 KB, application/vnd.oasis.opendocument.text)
2017-10-17 09:38 UTC, Jonas Müller
Details
The file before saving (94.05 KB, image/png)
2017-10-17 09:38 UTC, Jonas Müller
Details
The file after saving and opening it. Notice the final paragraph missing from this page as it moved to page 2 (80.33 KB, image/png)
2017-10-17 09:39 UTC, Jonas Müller
Details
One page document exported as 2 pages (258.45 KB, application/vnd.oasis.opendocument.text)
2023-03-15 17:19 UTC, Shmuel (Seymour J.) Metz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Müller 2017-10-17 09:38:00 UTC
Created attachment 137041 [details]
affected odt file

After saving this file, LibreOffice writer adds some line breaks forcing the final paragraph (the one starting with "TTTTTTT TTTTTT") on the next page.

Correcting this error is not possible as the final paragraph will always be on the next page the next time you open the file.

Unfortunately this happens with a lot of files for my parents. Sometimes they write until the very last line of page 1 and when then saving and opening the file again there will be a page 2 with an empty line they have to remove every time they open the file.
Comment 1 Jonas Müller 2017-10-17 09:38:49 UTC
Created attachment 137042 [details]
The file before saving
Comment 2 Jonas Müller 2017-10-17 09:39:22 UTC
Created attachment 137043 [details]
The file after saving and opening it. Notice the final paragraph missing from this page as it moved to page 2
Comment 3 Regina Henschel 2017-10-17 15:08:15 UTC
You have anchored an image to the header, which is much higher than the header. You get a more stable page layout, if you increase the header height at least to the actual needed height.
Another way to more stable page break is to anchor the image as character and set the negative indents right and left at the paragraph, instead of the image position.

Besides that, I can confirm, that the lines do not flush to the previous page, although the place would be enough. A "keep with next" is not set.
Comment 4 QA Administrators 2018-10-18 02:50:07 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2020-10-18 04:16:31 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2022-10-19 03:33:29 UTC Comment hidden (obsolete)
Comment 7 Shmuel (Seymour J.) Metz 2023-03-15 17:19:17 UTC
Created attachment 185985 [details]
One page document exported as 2 pages

Export as PDF adds page break after image.
Comment 8 QA Administrators 2025-04-17 03:10:29 UTC
Dear Jonas Müller,

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

MassPing-UntouchedBug