Created attachment 136209 [details]
Table overlaps table
In the attachment, the bottom half of the first page contains a table in a floating frame. The frame's wrap mode is "Page" (or, as seen in the Properties dialog, "Parallel"). This is described in help (https://help.libreoffice.org/index.php?title=Writer/Wrap) as "Wraps text on all four sides of the border frame of the object". But the text and table that go below the table's anchor point overlap the frame, so the layout is broken.
The problem is not format-specific. First encountered in a DOC file, then sanitized and saved into ODT.
Created attachment 136210 [details]
Current (problematic) layout with overlapping parts
Created attachment 136211 [details]
This is produced by setting the wrap mode of the frame to "No wrap".
The problem is tested with Version: 22.214.171.124 (x64)
Build ID: ea7cb86e6eeb2bf3a5af73a8f7777ac570321527
CPU threads: 4; OS: Windows 6.19; UI render: default;
Locale: ru-RU (ru_RU); Calc: group
and with OpenOffice.org 3.3.0
Build ID: 383aab7ed63bf30931c1cf89138707d2228b5dce
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3;
Locale: ca-ES (ca_ES.UTF-8); Calc: group
Created attachment 136227 [details]
Another DOC example for table overlap
Please check if this DOC example for table overlap is the same issue or another bug.
Attachment 135594 [details] shows "Another DOC example for table overlap" as PDF from MSO.
Attachment 135595 [details] is "Another DOC example for table overlap" with frame wrap set to None in MSO and it opens fine.
Created attachment 136228 [details]
Another DOC example for table overlap - removed multipart header
The attachment is the fixed copy of attachment 136227 [details], but without leading textual "multipart/mixed" heading that prevents opening it (at least on my system), so it's just a usual DOC now.
Yes, it's definitely the same problem.
Steps to reproduce from scratch:
1. In a blank document, press Enter (now you have two empty paragraphs).
2. Put cursor to second paragraph, and add a table (say, 2x2). Put some text to all cells of the table.
3. Put cursor to the first paragraph, and draw a rectangle a little narrower than text area, and with height greater than the table (using Draw Functions panel); set its anchor type To Paragraph or To Character (place the anchor on first paragraph). If required, make its area hatched (to see through).
The rectangle will overlap the table with all the text in it, while it is expected that the table should either move below the rectangle as a whole (as is when the wrapping mode is Optimal), or change its cells' height to at least move its text from below the rectangle (as when anchor type is set To Page).