Created attachment 139768 [details] test.docx The attached sample DOCX file contains a text frame, and below the text frame is a table. If I open it with MSO 2010, the text frame appears above the table without intersection. However, when I open with LibreOffice, the text frame is "intersecting" with the table. Steps to Reproduce: 1. Open the attached test DOCX file. Expected Result: See screenshot "good". This is the result when open with MSO 2010. Current Result: See screenshot "bad". this is the result when open with LibreOffice. Version: 6.0.1.1 Build ID:60bfb1526849283ce2491346ed2aa51c465abfe6 CPU 线程:4; 操作系统:Linux 4.14; UI 渲染:默认; VCL: gtk2; 区域语言:zh-CN (zh_CN.UTF-8); Calc: group Fedora 27 x64.
Created attachment 139769 [details] screenshot good
Created attachment 139770 [details] screenshot bad
Bug already exists in: 5.4.0.0.alpha1+ 9feb7f7039a3b
Also exists in version 3.6.7.2. So it may never work.
This was reproduced in the following environment. Version: 6.0.1.1 (x64) Build ID: 60bfb1526849283ce2491346ed2aa51c465abfe6 Locale: ja-JP (ja_JP); OS:Winsows7 Home Premium x64
Created attachment 166029 [details] Test compared MSO LO Repro LO 7.1+. This was never fine, in OO there was no frame, later frame was wrong and this look is from LO 4.1. It's not Text Frame Placed on Wrong Position, but rather table placed wrong due to frame wrap. Test DOCX is 2007 but same if resaved in MSO as new.
Created attachment 166030 [details] test.docx resaved in MSO The same as 2007 DOCX, but let's keep here for test.
Reproduced in Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: 465c3ad95059f0efa13c8027f7383c4d20a5b2ff CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb) Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded Text field is still overlapping with the table both in original file and in the sample from comment #7.
This kind of bug report is duplicated several times. Apparently LO doesn't really consider a table something that needs to be affected by wrapping.
*** This bug has been marked as a duplicate of bug 76022 ***
Justin Luth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/afbe948d4c47391092c8fcf4130bd7501c3d5062 tdf#115625 tdf#76022 sw table: CalcFlyOffset: get correct surround for textbox It will be available in 7.6.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.
This particular document is fixed by the patch, but bug 76022 (of which this is a duplicate) is a bigger problem.
I mark this as Fixed instead of Duplicate per comment 12.
*** Bug 136270 has been marked as a duplicate of this bug. ***