Bug 170620 - A floating table moves to the next page in a certain DOCX
Summary: A floating table moves to the next page in a certain DOCX
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Mike Kaganski
URL:
Whiteboard: target:26.8.0
Keywords:
Depends on:
Blocks: DOCX-Floatingtable
  Show dependency treegraph
 
Reported: 2026-02-05 13:29 UTC by Mike Kaganski
Modified: 2026-02-06 16:17 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
A keep-with-next para followed by a floating table with a keep-with-next para and an inner floating table (14.10 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2026-02-05 13:29 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2026-02-05 13:29:46 UTC
Created attachment 205381 [details]
A keep-with-next para followed by a floating table with a keep-with-next para and an inner floating table

Open the attachment in current master (to v.26.08; previously, it hang).

=> the "Keep-with-next paragraph" and the following table starts on page 2. In Word, it starts on page 1, immediately under the initial empty paragraph.
Comment 1 Mike Kaganski 2026-02-05 15:11:06 UTC
https://gerrit.libreoffice.org/c/core/+/198757
Comment 2 Commit Notification 2026-02-05 15:29:30 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/e3b6e6e829c4ecf0cf44905723e82c6103fae695

tdf#170620: CheckMoveFwd: only ignore empty master without split fly

It will be available in 26.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.