Bug 161001 - DOCX nested table popped out of surrounding table
Summary: DOCX nested table popped out of surrounding table
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
7.6.6.3 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:docx, regression
Depends on:
Blocks: DOCX-Tables
  Show dependency treegraph
 
Reported: 2024-05-09 02:42 UTC by nengxing_xu
Modified: 2024-06-10 14:07 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Image show error (189.91 KB, image/png)
2024-05-09 02:44 UTC, nengxing_xu
Details
source word file (151.17 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2024-05-09 02:44 UTC, nengxing_xu
Details
Minimal reproducer (35.53 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2024-06-10 14:06 UTC, Miklos Vajna
Details
PoC patch (1013 bytes, patch)
2024-06-10 14:07 UTC, Miklos Vajna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nengxing_xu 2024-05-09 02:42:52 UTC
Description:
Word to PDF, move table content up

Actual Results:
Word to PDF, move table content up

Expected Results:
Word to PDF conversion, table content correct


Reproducible: Always


User Profile Reset: Yes

Additional Info:
No more information
Comment 1 nengxing_xu 2024-05-09 02:44:19 UTC
Created attachment 194042 [details]
Image show error
Comment 2 nengxing_xu 2024-05-09 02:44:48 UTC
Created attachment 194043 [details]
source word file
Comment 3 Stéphane Guillou (stragu) 2024-05-09 05:31:31 UTC
Thanks for the report!

I can reproduce at fileopen in a recent daily build:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 92815f3a464b447898ecf52492247335228e4a72
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

...and 7.6.6, but not in 7.5.9 -> regression.

Also on Windows 11.

Bibisected with linux-64-7.6 repo to first bad build [1235fa4aa4d7ffa258bdffae06299ef14ce19016] which points to f1307f09e60e715877769e9fa12c0a6313fa0c1a which is a cherrypick of:

commit f74a6ef94ac957e4c146fc9923d30ce6bd31b5ce
author	Miklos Vajna 	Tue Feb 13 08:09:23 2024 +0100
committer	Miklos Vajna 	Tue Feb 13 10:00:30 2024 +0100
tdf#159453 sw floattable: fix unexpected overlap of in-header fly and body text
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163290

Miklos, can you please have a look?
Comment 4 Miklos Vajna 2024-06-10 14:06:17 UTC
Created attachment 194630 [details]
Minimal reproducer

I attach a smaller reproducer.
Comment 5 Miklos Vajna 2024-06-10 14:07:31 UTC
Created attachment 194631 [details]
PoC patch

I attach a naive patch that solves the problem, but then this makes

make -C sw -sr CppunitTest_sw_core_layout CPPUNIT_TEST_NAME=testSplitFlyNestedRowSpan

hang, so this needs more time.