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: 2023-04-17 14:26 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.