Bug 164022 - FILEOPEN: When opening a file with a multi column section that contains a table that flows between pages, the table flows inconsistently
Summary: FILEOPEN: When opening a file with a multi column section that contains a tab...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.2.1 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: QA:needsComment
Keywords:
Depends on:
Blocks: Section
  Show dependency treegraph
 
Reported: 2024-11-24 09:02 UTC by vort3
Modified: 2025-03-08 17:41 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
This file contains a multi column section that contains a table, table flows to page 3, even though it would fit perfectly on page 2. (9.02 KB, application/vnd.oasis.opendocument.text)
2024-11-24 09:04 UTC, vort3
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vort3 2024-11-24 09:02:35 UTC
Description:
Tables inside of multicolumn sections flow inconsistently.

I set the version of this bug to 24.8.2.1, but it also happens in 24.8.3, and I remember it happening in precious versions as well.

I also set OS of this bug to "All", but I only tried in Linux (Arch) and Windows (11).

The reproducibility is set to "happens every time". This does not mean it happens with every section and every table, but if this happens, then it happens with the same file and same table every time you open it.

As for when this happens, I think it depends on the amount of rows and columns and if they are divisible, for example 100 rows that can't be evenly split between 3 columns in a section. However I'm not sure, still testing.

I will try to attach a sample file and/or a screenshot of such file.

Also, the workaround is to change the table in some way, for example add a new row, after that the table "reflows" correctly and added row can be deleted. This has to be done every time the file is opened. This also happens if such file is loaded in a master document.

Steps to Reproduce:
1. Create a new document and add a bunch of empty paragraphs, so that cursor is close to the end of page 1.
2. Insert a new section with multiple columns (I tried both 2 and 3 columns).
3. Insert a table, 1 columns is enough, set rows to some big value, try 100 rows.
4. Table will flow between all columns and flow from page 1 to page 2.
5. Save, close, reopen.

Actual Results:
The table will flow from page 1 to page 2, have only a few rows on page 2 and "spill" to page 3.

Expected Results:
The page should flow consistently, if it would fit on page 2, then it should stay that way when file is closed and opened again.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 480(Build:1)
CPU threads: 16; OS: Linux 6.11; UI render: default; VCL: kf6 (cairo+wayland)
Locale: en-US (en_US.UTF-8); UI: en-US
24.8.2-2
Calc: threaded
Comment 1 vort3 2024-11-24 09:04:45 UTC
Created attachment 197761 [details]
This file contains a multi column section that contains a table, table flows to page 3, even though it would fit perfectly on page 2.
Comment 2 Dieter 2025-03-08 17:35:50 UTC
Thank you for reporting the bug. I see the problem, if I open attachment 197761 [details], but I can't reproduce it with a new document and I also can't reproduce with the following steps:

1. Open attachment 197761 [details]
2. Delete three rows of the table -> Table looks now correct
3. Undo -> Table looks still fine
4. Safe, close and reopen

Actual and expected result: Table on page 1 and 2

Pershaps at least related to bug 157023
Comment 3 Dieter 2025-03-08 17:41:43 UTC
Version I'm using:

Version: 25.2.0.3 (X86_64) / LibreOffice Community
Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069
CPU threads: 12; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded