Bug 165045 - LAYOUT: text of a rotated table, split across pages, is missing on the first page
Summary: LAYOUT: text of a rotated table, split across pages, is missing on the first ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables
  Show dependency treegraph
 
Reported: 2025-02-04 17:15 UTC by Justin L
Modified: 2025-05-25 10:33 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
docx/tdf127118-6.docx_mso.pdf: how it looks in Word 2019 (33.62 KB, application/pdf)
2025-02-04 17:15 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin L 2025-02-04 17:15:10 UTC
Created attachment 198975 [details]
docx/tdf127118-6.docx_mso.pdf: how it looks in Word 2019

The text of a rotated table, split across pages, is missing on the first page.

This started with 25.2 commit d1c5ed30d1128c0500d3fab72bb5505f81a1bdc1
Author: Mike Kaganski on Sat Aug 24 23:51:25 2024 +0500
    tdf#162614: report the reason why a frame couldn't grow
    ... and use it in SwTextFrameBreak::IsBreakNow to decide if the content
    needs to go to a follow or not.

Steps to reproduce:
1.) open tdf127118.docx (attachment 165255 [details] from bug 127118)

Notice that there is no text on page 1 (only numbered cells).
At the time of the commit, there was no text on page 2 either. That came back with commit d5fcc8ea25e416a4d2bea5e0f92c0e403997d845
Author: Michael Stahl on Wed Oct 2 18:51:44 2024 +0200
    tdf#163032 sw: fix painting of row frame with rowspan > 1 cell

Found by Collabora's mso-test
Comment 1 mikhail.machine 2025-02-10 06:30:43 UTC Comment hidden (off-topic)
Comment 2 Mike Kaganski 2025-02-10 06:43:12 UTC Comment hidden (off-topic)
Comment 3 raal 2025-02-16 14:15:01 UTC
Confirm with Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7da1497aa462e2b719aa9b308a749caf7b9a19b1
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 4 Mike Kaganski 2025-05-25 10:33:59 UTC
I am unsure if it's correct to mark this as a regression. IIUC, we rendered it wrong earlier, too - it didn't match Word; and a change from one incorrect render to another is not a regression :) But more importantly, the previous rendering just happened to show stuff on page 1, because the layout loop happened to be forcefully terminated on that layout stage.

Let me remove the "regression" field. The commits that changed the behavior are indeed important code pointers. But please of course revert my changes, if I'm wrong.