Bug 119914

Summary: FILEOPEN Adjacent tables in DOC mostly overlap
Product: LibreOffice Reporter: Aron Budea <aron.budea>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: xiscofauli
Priority: medium Keywords: bibisected, bisected, filter:doc
Version: 4.1 all versions   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=117134
https://bz.apache.org/ooo/show_bug.cgi?id=119466
https://bugs.documentfoundation.org/show_bug.cgi?id=78756
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 112700, 120468    
Attachments: Sample DOC

Description Aron Budea 2018-09-16 23:05:14 UTC
Created attachment 144922 [details]
Sample DOC

This is the same as bug 117134, but the document is in DOC format this time.

The attached DOC contains two tables, right below one another. The first one is a floating table (text wrapping set to: Around), there's an empty line between the tables, but it slides up next to the first table because of that.
See attachment 141509 [details] for how it looks in Word.

In Writer the two tables (the first is imported inside a frame) mostly overlap. Similarly to bug 117134, just slightly differently.
This is a case where having a setting mentioned in bug 117132 could be useful.

Observed using LO 6.1.1.2 & 4.4.0.3 / Windows 7.
Tables don't overlap in 4.0.0.3.

This is likely not a clear-cut regression, nevertheless, finding the commit where it started would be nice.
Comment 1 Aron Budea 2018-09-17 04:40:51 UTC
The overlap started with the following commit (plus ce0f4825730a0f96ca5369a7d07982ea073901fb, which fixed a compilation issue), bibisected using repo bibisect-41max.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=4e07258cbd1f4fb16d6ce2174fb5c74c3b36da33
author		Chen ZuoJun <zjchen@apache.org>	2012-10-08 12:21:52 +0000
committer	Xisco Fauli <anistenis@gmail.com>	2013-04-14 17:52:34 +0200

"#i119466# Doc file loaded by AOO, table with incorrect text wrapping property."

A piece of comment from the code:
//#i119466 mapping "Around" wrap setting to "Parallel" for table
Comment 2 QA Administrators 2019-10-11 02:37:08 UTC Comment hidden (obsolete)
Comment 3 Aron Budea 2019-10-14 01:33:26 UTC
Still buggy in 6.4.0.0.alpha0+ (bb6bcabda53dbd64dda43f09fab9f4ad6f34eba6).
Comment 4 Justin L 2020-04-23 12:48:29 UTC
Since LO doesn't know how to "wrap" a table around floating objects, I wouldn't consider this a DOC bug.

*** This bug has been marked as a duplicate of bug 106840 ***
Comment 5 Justin L 2023-05-27 02:00:43 UTC

*** This bug has been marked as a duplicate of bug 76022 ***