Created attachment 139768 [details]
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.
See screenshot "good". This is the result when open with MSO 2010.
See screenshot "bad". this is the result when open with LibreOffice.
CPU 线程：4; 操作系统：Linux 4.14; UI 渲染：默认; VCL: gtk2;
区域语言：zh-CN (zh_CN.UTF-8); Calc: group
Fedora 27 x64.
Created attachment 139769 [details]
Created attachment 139770 [details]
Bug already exists in: 184.108.40.206.alpha1+ 9feb7f7039a3b
Also exists in version 220.127.116.11. So it may never work.
This was reproduced in the following environment.
Version: 18.104.22.168 (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.
Version: 22.214.171.124.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
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":
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:
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. ***