Bug 105261 - FILEOPEN: bad layout of docx with wrap-around table and shapes around table (never OK, worse since 4.1.3)
Summary: FILEOPEN: bad layout of docx with wrap-around table and shapes around table (...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
4.2 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:docx, regression
Depends on:
Blocks: DOCX
  Show dependency treegraph
 
Reported: 2017-01-11 17:25 UTC by Marina Latini (SUSE)
Modified: 2020-01-27 12:38 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
docx affected file (25.42 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2017-01-11 17:26 UTC, Marina Latini (SUSE)
Details
good rendering (46.11 KB, application/pdf)
2017-01-11 17:28 UTC, Marina Latini (SUSE)
Details
bad rendering with LibO 6.0.0.2.0+ (20.15 KB, application/pdf)
2018-01-29 08:50 UTC, Marina Latini (SUSE)
Details
docx without wrap-around table (26.88 KB, application/vnd.ms-word.document)
2018-01-29 09:45 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marina Latini (SUSE) 2017-01-11 17:25:37 UTC
Description:
bad rendering of the attached docx file.

Steps to Reproduce:
1. open the attached docx file

Actual Results:  
The formatting is completely lost

Expected Results:
The file is rendered like the attached PDF.


Reproducible: Always

User Profile Reset: Yes

Additional Info:
Tested with:

Version: 5.1.6.2
Build ID: 07ac168c60a517dba0f0d7bc7540f5afa45f0909
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; 
Locale: it-IT (it_IT.UTF-8); Calc: group

Versione: 5.2.3.3
Build ID: 20m0(Build:3)
Thread CPU: 4; Versione SO: Linux 4.8; Resa interfaccia: predefinito; 
Versione locale: it-IT (it_IT.UTF-8); Calc: single

Version: 5.2.4.2
Build ID: 3d5603e1122f0f102b62521720ab13a38a4e0eb0
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk2; 
Locale: it-IT (it_IT.UTF-8); Calc: group



User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2946.0 Safari/537.36
Comment 1 Marina Latini (SUSE) 2017-01-11 17:26:58 UTC
Created attachment 130321 [details]
docx affected file
Comment 2 Marina Latini (SUSE) 2017-01-11 17:28:03 UTC
Created attachment 130322 [details]
good rendering

pdf with the correct rendering
Comment 3 Marina Latini (SUSE) 2017-01-11 17:32:21 UTC Comment hidden (no-value)
Comment 4 Xisco Faulí 2017-01-11 20:31:02 UTC
Confirmed in

- Version: 5.4.0.0.alpha0+
Build ID: 9a30cb2161506e003f14592d83075ab9d30516c1
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk2; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

- Version: 4.5.0.0.alpha0+
Build ID: 2851ce5afd0f37764cbbc2c2a9a63c7adc844311
Locale: ca_ES

however the layout seems correct in

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4

in

Version: 4.2.0.0.alpha0+
Build ID: 7f4a622f9fbf27774efa908348e682df7280713b

the layout was worse than in 3.3 but better than it's nowadays.

Layout became completely messed up by:

author	Adam Co <rattles2013@gmail.com>	2013-06-26 08:08:56 (GMT)
committer	Miklos Vajna <vmiklos@suse.cz>	2013-06-28 09:43:48 (GMT)
commit	74c5ed19f430327988194cdcd6bdff09591a93fa (patch)
tree	3c13fe12ac592a1d0acb6caf273f12a1d0e15433
parent	7f4a622f9fbf27774efa908348e682df7280713b (diff)
DOCX import fix for table with auto size

Adding Cc: to Adam Co
Comment 5 QA Administrators 2018-01-12 03:30:43 UTC Comment hidden (obsolete)
Comment 6 Marina Latini (SUSE) 2018-01-29 08:48:19 UTC
Confirmed in:

Versione: 6.0.0.2.0+
Build ID: 00m0(Build:2)
Thread CPU: 4; SO: Linux 4.14; Resa interfaccia: predefinito; VCL: gtk3; 
Versione locale: it-IT (it_IT.UTF-8); Calc: group
OS: openSUSE tumbleweed
Comment 7 Marina Latini (SUSE) 2018-01-29 08:50:06 UTC
Created attachment 139424 [details]
bad rendering with LibO 6.0.0.2.0+
Comment 8 Timur 2018-01-29 09:45:16 UTC
Created attachment 139425 [details]
docx without wrap-around table

Bad rendering is bad bug description :)
Looks like already existing wrap-around table issue, worsen with shapes around table. 
If wrap is set to None in MSO and than layout fixed, opens fine in LO.
So, looks like a duplicate to me, but since it's worsen by shapes, may remain open separately for a check should wrap-around ever be resolved.
Comment 9 Timur 2018-01-29 10:09:03 UTC
Attachment 130321 [details] also suffers from Bug 108493. 
I had to correct that in attachment 139425 [details] to have a proper look.
Comment 10 Marina Latini (SUSE) 2018-12-21 08:32:40 UTC
repro on:
Versione: 6.2.0.1 (x64)
Build ID: 0412ee99e862f384c1106d0841a950c4cfaa9df1
Thread CPU: 4; SO: Windows 10.0; Resa interfaccia: GL; VCL: win; 
Versione locale: de-DE (en_US); UI-Language: it-IT
Calc: threaded