Bug 155135 - Issue in section ending with Table as last element
Summary: Issue in section ending with Table as last element
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Section
  Show dependency treegraph
 
Reported: 2023-05-03 12:11 UTC by pulapakiran
Modified: 2023-05-04 05:10 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Test file where the bug is seen (139.34 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-05-03 12:13 UTC, pulapakiran
Details
Test file2 where the issue is not seen i.e., when an empty para is added after the table and before the section (138.20 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-05-03 12:14 UTC, pulapakiran
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pulapakiran 2023-05-03 12:11:44 UTC
Description:
When the table is the last element of continuous section, it is flowing out of the section it needs to be when I open in the writer.

Steps to Reproduce:
1.Open the file in writer
2.The table having two cells with image in one cell and text in other cell is shifting to next page whereas when you open in MS Word.. it is fine

Actual Results:
The table is not in the section and flowing to next page even when there is space.

Expected Results:
The table should be in the same continuous section and on the first page


Reproducible: Always


User Profile Reset: No

Additional Info:
1. I have tried to debug a bit.. and have seen the table node is not falling in between the section start and end nodes in Nodes list layouting..The table Node starts after the section end Node.

2. The issue is not reproducible if you add even an empty para after the table adn before the section end...only when the section ends exactly with a table .. this behaviour is seen.
Comment 1 pulapakiran 2023-05-03 12:13:08 UTC
Created attachment 187069 [details]
Test file where the bug is seen
Comment 2 pulapakiran 2023-05-03 12:14:26 UTC
Created attachment 187070 [details]
Test file2 where the issue is not seen i.e., when an empty para is added after the table and before the section