Bug 51321 - docx-import messed up with attached file (wrong layout)
Summary: docx-import messed up with attached file (wrong layout)
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
3.5.4 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: OOXML-Shapes
  Show dependency treegraph
 
Reported: 2012-06-21 23:02 UTC by Carsten Niehaus
Modified: 2017-01-06 16:03 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
the file is misrendered when imported. (111.35 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2012-06-21 23:02 UTC, Carsten Niehaus
Details
This file is even more messed up when imported (51.38 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2012-06-21 23:06 UTC, Carsten Niehaus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Niehaus 2012-06-21 23:02:20 UTC
Created attachment 63330 [details]
the file is misrendered when imported.

Import the file, I tried with LibreOffice 3.5.4.



Two examples: 
* The penguin should have a speech bubble with text.
* A big frame appears. Inside that frame should be the picture with the syringe. This picture appears on the second page (that page shouldn't even exist).
Comment 1 Carsten Niehaus 2012-06-21 23:06:48 UTC
Created attachment 63331 [details]
This file is even more messed up when imported

A second file of the same author which is even more messed up. I could provide screenshots if it helps.
Comment 2 bfoman (inactive) 2012-07-05 03:49:12 UTC
Confirmed with:
LO 3.5.4.2 
Build ID: own W7 debug build
Windows 7 Professional SP1 64 bit

Many errors comparing LibreOffice with Word 2010.
Comment 3 Daniel 2012-07-15 19:17:18 UTC
still present in LO version 3.5.5.3 

for example pictures become unusable with an export to docx.
Comment 4 Urmas 2012-11-22 19:40:57 UTC
The entire content is off-page with 4.0-master.
Comment 5 Carsten Niehaus 2013-03-08 19:14:03 UTC
Also still valid Version 3.6.5.2 (Build ID: 5b93205)

(probably pretty obius if Comment #4 says that it is also valid in 4.0.x...
Comment 6 Jorendc 2013-12-29 00:01:25 UTC
Still reproducible, tested using Windows 8.1 with LibreOffice Version: 4.3.0.0.alpha0+
Build ID: 5be7ec4193b892e5643ff5f3f2e6755319569190
TinderBox: Win-x86@39, Branch:master, Time: 2013-12-27_23:55:02
Comment 7 QA Administrators 2015-04-19 03:20:56 UTC Comment hidden (obsolete)
Comment 8 Buovjaga 2015-06-15 17:34:26 UTC
attachment 63330 [details] doesn't show the bubbles, but rectangles, penguin is on 2nd page.

attachment 63331 [details] has wonky syringes, rectangle instead of bubble and pingu in the 2nd page.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 01a189abcd9a4ca472a74b3b2c000c9338fc2c91
TinderBox: Win-x86@39, Branch:master, Time: 2015-06-14_07:46:28
Locale: fi-FI (fi_FI)
Comment 9 QA Administrators 2016-09-20 10:01:41 UTC Comment hidden (obsolete)
Comment 10 Xisco Faulí 2016-11-20 15:56:12 UTC
Pingin problem is the same as bug 96218
Comment 11 Timur 2017-01-05 17:03:43 UTC
This is one of those old "document(s) based" bugs that were not properly triaged at the time in order to have "issue based" bugs. Not related, but as an example, please check Bug 90237.

Bug title was "wrong layout" but now with 5.4 master, layout of attachment 63330 [details] is OK. 
Only bubble shapes are not correct. That's because it's Word 2007 docx and even bubbles are OK if previously saved in Word 2010. 
That could be a separate bug, if not reported already. But, I don't think it's worth reporting because of this old 2007 docx version. 

Attachment 63331 [details] has some layout problems in LO plus penguin bubble shape. When also saved in Word 2010 it loses some data, like penguin text. So, even MSO has problems with that file. 
Both 2007 and 2010 docx are imported in LO with wrong shape (thermometers) and I find that's worth reporting. 

I'll close this one as WFM, having in mind layout. 
Feel free to report remaining issues separately.
Comment 12 Timur 2017-01-06 16:03:35 UTC
Actually, thermometer is reported in Bug 103964, so no need for a new bug.