Bug 127819 - Docx with large image stored in XML with mc:Fallback w:pict tag: content not imported at all (except one image)
Summary: Docx with large image stored in XML with mc:Fallback w:pict tag: content not ...
Status: RESOLVED DUPLICATE of bug 136551
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: https://wiki.openoffice.org/wiki/OOXM...
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Images DOCX
  Show dependency treegraph
 
Reported: 2019-09-27 10:26 UTC by pneenkoalabear
Modified: 2020-12-10 12:58 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
sample file (22.30 MB, application/vnd.openxmlformats-officedocument.wordprocessingml.template)
2019-09-30 13:55 UTC, Xisco Faulí
Details
Comparison MSO 2010 and LibreOffice 7.1 master (281.09 KB, image/png)
2020-09-08 08:40 UTC, Xisco Faulí
Details
Reproducible with this file (23.31 MB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-09-08 09:42 UTC, Xisco Faulí
Details
Not reproducible with this file (19.20 MB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-09-08 09:43 UTC, Xisco Faulí
Details
The attachment # 165261 in Writer 7.1 (146.50 KB, image/png)
2020-12-10 12:57 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pneenkoalabear 2019-09-27 10:26:05 UTC
Description:
https://www.dedoimedo.com/images/computers-years/2019-2/libre-6-3-docx-load-error.png

https://templates.office.com/EN-US/organic-shapes-resume-TM44864860

FILEOPEN

Steps to Reproduce:
1. Open document in Writer
2.
3.

Actual Results:
After proceeding, only a picture is displayed

Expected Results:
It would appear like it would in Word


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Comment 1 Julien Nabet 2019-09-27 13:30:42 UTC
On Win10 with master sources updated today, I could reproduce this.
Comment 2 Julien Nabet 2019-09-27 13:34:09 UTC
On console, I got logs like these:
warn:oox:5704:4600:oox/source/docprop/docprophandler.cxx:322: OOXMLDocPropHandler::startFastElement: unknown element 5620
warn:oox:5704:4600:oox/source/docprop/docprophandler.cxx:322: OOXMLDocPropHandler::startFastElement: unknown element 3197
warn:oox:5704:4600:oox/source/docprop/docprophandler.cxx:322: OOXMLDocPropHandler::startFastElement: unknown element 5620
warn:oox:5704:4600:oox/source/docprop/docprophandler.cxx:322: OOXMLDocPropHandler::startFastElement: unknown element 2748
warn:oox:5704:4600:oox/source/docprop/docprophandler.cxx:322: OOXMLDocPropHandler::startFastElement: unknown element 3197
000001DC03C2F350:createUnknownChildContext:http://schemas.microsoft.com/office/2006/metadata/contentType:ct:contentTypeSchema
000001DC03C2F850:start unknown element:http://schemas.microsoft.com/office/2006/metadata/contentType:ct:contentTypeSchema
000001DC03C2F850:createUnknownChildContext:http://www.w3.org/2001/XMLSchema:xsd:schema
000001DC03C2ED10:start unknown element:http://www.w3.org/2001/XMLSchema:xsd:schema
000001DC03C2ED10:createUnknownChildContext:http://www.w3.org/2001/XMLSchema:xsd:import
000001DC03C30750:start unknown element:http://www.w3.org/2001/XMLSchema:xsd:import
000001DC03C30750:end unknown element:http://www.w3.org/2001/XMLSchema:xsd:import
000001DC03C2ED10:createUnknownChildContext:http://www.w3.org/2001/XMLSchema:xsd:import
000001DC03C2EB30:start unknown element:http://www.w3.org/2001/XMLSchema:xsd:import
000001DC03C2EB30:end unknown element:http://www.w3.org/2001/XMLSchema:xsd:import
000001DC03C2ED10:createUnknownChildContext:http://www.w3.org/2001/XMLSchema:xsd:element
000001DC03C2EDB0:start unknown element:http://www.w3.org/2001/XMLSchema:xsd:element
000001DC03C2EDB0:createUnknownChildContext:http://www.w3.org/2001/XMLSchema:xsd:complexType
000001DC03C2FB70:start unknown element:http://www.w3.org/2001/XMLSchema:xsd:complexType
000001DC03C2FB70:createUnknownChildContext:http://www.w3.org/2001/XMLSchema:xsd:sequence
000001DC03C30750:start unknown element:http://www.w3.org/2001/XMLSchema:xsd:sequence
000001DC03C30750:createUnknownChildContext:http://www.w3.org/2001/XMLSchema:xsd:element
000001DC03C2F2B0:start unknown element:http://www.w3.org/2001/XMLSchema:xsd:element
000001DC03C2F2B0:createUnknownChildContext:http://www.w3.org/2001/XMLSchema:xsd:complexType
000001DC03C2F670:start unknown element:http://www.w3.org/2001/XMLSchema:xsd:complexType
000001DC03C2F670:createUnknownChildContext:http://www.w3.org/2001/XMLSchema:xsd:all
000001DC03C2F3F0:start unknown element:http://www.w3.org/2001/XMLSchema:xsd:all
000001DC03C2F3F0:createUnknownChildContext:http://www.w3.org/2001/XMLSchema:xsd:element
000001DC03C30110:start unknown element:http://www.w3.org/2001/XMLSchema:xsd:element
Comment 3 Xisco Faulí 2019-09-30 13:55:27 UTC
Created attachment 154657 [details]
sample file
Comment 4 Xisco Faulí 2019-09-30 13:58:36 UTC
Also reproducible in

Version: 5.2.0.0.alpha1+
Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Linux 4.15; UI Render: default; 
Locale: ca-ES (ca_ES.UTF-8

@Mike Kaganski, I thought you might be interested in this issue...
Comment 5 Xisco Faulí 2020-09-08 08:40:14 UTC
Created attachment 165257 [details]
Comparison MSO 2010 and LibreOffice 7.1 master
Comment 6 Xisco Faulí 2020-09-08 08:41:40 UTC
The document looks pretty much the same as in bug 120547
Comment 7 Xisco Faulí 2020-09-08 09:42:45 UTC
Created attachment 165261 [details]
Reproducible with this file
Comment 8 Xisco Faulí 2020-09-08 09:43:19 UTC
Created attachment 165262 [details]
Not reproducible with this file
Comment 9 Xisco Faulí 2020-09-08 09:46:08 UTC
I've played a bit with the original file and found that the issue is reproducible when the image filling the shape has a size greater than X, if I reduce it a bit, from 3100x3100 pixels to 3000x3000 pixels, LibreOffice no longer complains at import time. In attachment 165261 [details] the image's size is 3100x3100 and in attachment 165262 [details] it's 3000x3000
Comment 10 NISZ LibreOffice Team 2020-12-10 12:57:25 UTC
Created attachment 168035 [details]
The attachment # 165261 [details] in Writer 7.1

Seems to be fixed since:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=cd85546a2fbdade42f80fd3b6bd650791db9f32d

author	Miklos Vajna <vmiklos@collabora.com>	2020-09-28 21:05:27 +0200
committer	Miklos Vajna <vmiklos@collabora.com>	2020-09-29 09:06:07 +0200

tdf#136551 DOTX import: restore support for large XML attribute values
Comment 11 NISZ LibreOffice Team 2020-12-10 12:58:24 UTC
Thanks Miklos for fixing this one!

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