Bug 167222 - FILEOPEN DOCX Floating table rendered at the top of the next page instead of the bottom
Summary: FILEOPEN DOCX Floating table rendered at the top of the next page instead of ...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: DOCX-Floatingtable
  Show dependency treegraph
 
Reported: 2025-06-25 21:31 UTC by Gabor Kelemen (allotropia)
Modified: 2025-06-25 21:32 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file with floating table with negative vertical positioning (32.08 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-06-25 21:31 UTC, Gabor Kelemen (allotropia)
Details
The document in Word 2013 and Writer master side by side (63.73 KB, image/png)
2025-06-25 21:31 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2025-06-25 21:31:09 UTC
Created attachment 201478 [details]
Example file with floating table with negative vertical positioning

Attached example document contains a floating table at the bottom of the first page in Word.
When opened in Writer, it is rendered at the top of the next page, changing layout significantly.

1. Open attached document
-> Floating table is incorrectly rendered compared to Word 2013 or 2016.

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6faa7e6f7bae3e6a613b4f4b7cee4a9c6d2b7aae
CPU threads: 14; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: de-DE (hu_HU); UI: en-US
Calc: threaded

Seems to have started in 7.4 with:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=3eb6d764b3023500f2299d36bf1860bc8e67db9f

author	Miklos Vajna <vmiklos@collabora.com>	2022-01-21 10:06:02 +0100
committer	Miklos Vajna <vmiklos@collabora.com>	2022-01-21 12:31:24 +0100
commit 3eb6d764b3023500f2299d36bf1860bc8e67db9f (patch)

DOCX import: floating table with negative top margin has to be a fly frame
Comment 1 Gabor Kelemen (allotropia) 2025-06-25 21:31:32 UTC
Created attachment 201479 [details]
The document in Word 2013 and Writer master side by side
Comment 2 Gabor Kelemen (allotropia) 2025-06-25 21:32:05 UTC
Adding CC to: Miklos Vajna