Bug 89887 - FileOpen: Drawing is not visible in 2007 DOCX (opens OK if resaved in MSO)
Summary: FileOpen: Drawing is not visible in 2007 DOCX (opens OK if resaved in MSO)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: interoperability
Keywords: filter:docx, filter:ooxml
Depends on:
Blocks: OOXML-WordArt
  Show dependency treegraph
 
Reported: 2015-03-08 16:35 UTC by Sergey Kozyr
Modified: 2019-12-09 10:53 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample DOCX file with drawing (34.04 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2015-03-08 16:35 UTC, Sergey Kozyr
Details
Actual LibreOffice behaviour (4.63 KB, image/png)
2015-03-08 16:39 UTC, Sergey Kozyr
Details
Expected behaviour (51.41 KB, image/png)
2015-03-08 16:40 UTC, Sergey Kozyr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Kozyr 2015-03-08 16:35:52 UTC
Created attachment 113976 [details]
Sample DOCX file with drawing

I have a DOCX file with <w:drawing> element. This drawing is shown in Microsoft Word. But it's missing in LibreOffice.
See attached "drawing_sample.docx"
Comment 1 Sergey Kozyr 2015-03-08 16:39:41 UTC
Created attachment 113977 [details]
Actual LibreOffice behaviour
Comment 2 Sergey Kozyr 2015-03-08 16:40:19 UTC
Created attachment 113978 [details]
Expected behaviour
Comment 3 V Stuart Foote 2015-03-08 17:45:26 UTC
Confirming on Windows and Linux with 4.4.1.2 as well as with recent builds of master.

The <w:drawing> element is lines 55 -> 4417 in the document.xml of the OOXML .docx archive. Drawing contains an inline graphic structured as a lockedCanvas. 

It all looks to be reasonably opened and closed in the XML tags.

The OOXML documnet is well formed in Word 2007 and Word Office 365. But on opening into LibreOffice 4.4.1 the graphic is not being rendered into the document.
Comment 4 Robinson Tryon (qubit) 2015-12-14 06:04:49 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2017-12-04 09:53:51 UTC Comment hidden (obsolete)
Comment 6 V Stuart Foote 2017-12-04 18:26:32 UTC
Issue remains on current builds of 6.1.0alpha0 master.
Version: 6.1.0.0.alpha0+ (x64)
Build ID: 6b3cc69fd2b2de5ace68f2739eb383267d66f76f
CPU threads: 8; OS: Windows 10.0; UI render: default; 
TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2017-12-01_01:36:58
Locale: en-US (en_US); Calc: group threaded
Comment 7 V Stuart Foote 2017-12-04 18:31:59 UTC
see details for the ooxml Drawing lockedCanvas class:

https://msdn.microsoft.com/en-us/library/documentformat.openxml.drawing.lockedcanvas.lockedcanvas.aspx
Comment 8 QA Administrators 2018-12-05 03:49:05 UTC Comment hidden (obsolete)
Comment 9 Sergey Kozyr 2018-12-05 08:54:15 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2019-12-06 04:18:55 UTC Comment hidden (obsolete)
Comment 11 Sergey Kozyr 2019-12-06 08:47:33 UTC
Bug is still present with LibreOffice downloaded from https://www.libreoffice.org/download/ . Version details:

Version: 6.3.3.2 (x64)
Build ID: a64200df03143b798afd1ec74a12ab50359878ed
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 12 Timur 2019-12-09 10:53:45 UTC
Repro for attached .docx that is 2007 version. If resaved in MSO, opens fine. Test LO 6.5+.