Bug 137319 - Writer splits pages of specific document randomly
Summary: Writer splits pages of specific document randomly
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-07 18:47 UTC by kkivi
Modified: 2020-10-07 22:36 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
problematic file (15.71 KB, application/vnd.oasis.opendocument.text)
2020-10-07 18:49 UTC, kkivi
Details
screenshot (167.78 KB, image/png)
2020-10-07 18:49 UTC, kkivi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kkivi 2020-10-07 18:47:49 UTC
Description:
I had about fifty topics in a text editor, that I copied to Writer,
converted to header 2, add chapter numbers and started to fill in detailes.
I noticed soon that writer started to tranfer next header to the next page while it was a lot of space on the previous one. 

Steps to Reproduce:
1. load attached document
2. scroll through it
3.

Actual Results:
notice huge whitespace area in the middle of the document.
I have also attached a screenshot.

Expected Results:
Paragraphs should fill entire page.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.0.0.3 (x64)
Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e
Потоков ЦП: 8; ОС: Windows 10.0 Build 19041; Отрисовка ИП: Skia/растр; VCL: win
Locale: ru-RU (ru_RU); ИП: ru-RU
Calc: threaded

I checked there is no hand formatting. The document is fresh
Comment 1 kkivi 2020-10-07 18:49:05 UTC
Created attachment 166169 [details]
problematic file
Comment 2 kkivi 2020-10-07 18:49:50 UTC
Created attachment 166170 [details]
screenshot
Comment 3 Mike Kaganski 2020-10-07 19:16:39 UTC
Heading N style has "Keep with next paragraph" setting enabled (that is natural; headings are typically expected to be on the same page with at least one following paragraph). In your document, there's one normal paragraph after chapter 15, and then a series of paragraphs that all are headings - i.e., all try to keep together. Since they cannot all fit on the same page where chapter 15 is, they are moved on the next page.

When you add a normal paragraph after any of those headings, that allows to layout the text differently.

This is not a bug, and works as intended.