Bug 170632 - Table with on-line heading row is split at end of page right after the header row
Summary: Table with on-line heading row is split at end of page right after the header...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-06 11:36 UTC by Ulrich Windl
Modified: 2026-02-06 11:38 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing split table at end of page (23.64 KB, image/png)
2026-02-06 11:37 UTC, Ulrich Windl
Details
Screenshot showing the table's properties (German, sorry) (23.91 KB, image/png)
2026-02-06 11:38 UTC, Ulrich Windl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Windl 2026-02-06 11:36:04 UTC
Description:
A short table with one header row was split at the bottom of a page so that the page showed just the header row, while the next page showed just the body.

Obviously that looks very bad, and I think there should be a rule that the header row should be followed by one data row at least.

See screenshots for illustration. I'm aware that I might modify the "table header" style to avoid page break, but I think there should be better defaults, especially when the "table header" style is used elsewhere (e.g. first column also)

Seen in this portable version (portable versions are way behind, BTW):
Version: 7.6.7.2 (x86) / LibreOffice Community
Build ID: dd47e4b30cb7dab30588d6c79c651f218165e3c5
CPU threads: 8; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL threaded

Steps to Reproduce:
1. Create a table in a document with one header row (see also screenshot)
2. Add some data rows
3. Make the table move at the bottom of a page


Actual Results:
The table may be split in a way that the previous page just contains the hwader row at the bottom of the page.

Expected Results:
The header row should be followed by one data row at least.


Reproducible: Always


User Profile Reset: No

Additional Info:
See expected results
Comment 1 Ulrich Windl 2026-02-06 11:37:43 UTC
Created attachment 205393 [details]
Screenshot showing split table at end of page

The header row is left alone at the bottom of the page. "Track changes" was active (in case this may make a difference).
Comment 2 Ulrich Windl 2026-02-06 11:38:59 UTC
Created attachment 205394 [details]
Screenshot showing the table's properties (German, sorry)