Bug 104785 - FILESAVE: PPTX: Corrupted File after RT (The attribute 'cx' has invalid value. The MaxInclusive constraint failed.)
Summary: FILESAVE: PPTX: Corrupted File after RT (The attribute 'cx' has invalid value...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.4.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pptx
Depends on:
Blocks: PPTX-Corrupted OOXML-SmartArt
  Show dependency treegraph
 
Reported: 2016-12-19 15:49 UTC by Xisco Faulí
Modified: 2018-01-09 14:52 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
sample (47.37 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2016-12-19 15:49 UTC, Xisco Faulí
Details
sample saved in PP 2013 (no issue with this) (47.17 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2017-09-24 04:59 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2016-12-19 15:49:26 UTC
Created attachment 129782 [details]
sample

Steps:
1. Open attached document
2. Save it as a new .PPTX
3. Open the new .PPTX file in MSO PowerPoint

Error Node Type: Extents
Error Description: The attribute 'cx'/'cy' has invalid value. The MaxInclusive constraint failed. The value must be less than or equal to 2147483647

Reproduced in

Version: 5.4.0.0.alpha0+
Build ID: 53edf60c4ce6ed32f87471e018878c40b788005a
CPU Threads: 1; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2016-12-18_06:57:59
Locale: es-ES (es_ES); Calc: group
Comment 1 Xisco Faulí 2016-12-19 16:47:32 UTC
attachment 60366 [details] from bug 48948 is affected by the same problem
Comment 2 Buovjaga 2016-12-20 09:55:42 UTC
Repro.

Win 8.1 32-bit
MSO 2013
LibO Version: 5.4.0.0.alpha0+
Build ID: 52853b53494e1e51d71ccdb54afd7a4f16fba93c
CPU Threads: 4; OS Version: Windows 6.29; UI Render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2016-12-19_23:19:20
Locale: fi-FI (fi_FI); Calc: group
Comment 3 Aron Budea 2017-09-24 04:59:14 UTC
Created attachment 136503 [details]
sample saved in PP 2013 (no issue with this)

Opening the original attachment gives the following warning in Impress:
"Warning loading document mp07_accent_process.pptx:
Could not load all SmartArts. Saving in Microsoft Office 2010 or later would avoid this issue."

Indeed, if the file is saved in PowerPoint 2013 first, then it can be roundtripped in Impress, and opened in PP again fine.

Tested using 6.0 daily build (0db08432c69adc36ed464c1f7c8e672acb3752d4, 2017-09-22_22:54:52).
Comment 4 Xisco Faulí 2018-01-09 14:52:30 UTC
Corrupted file problem no longer reproduced in

Version: 6.1.0.0.alpha0+
Build ID: 0ef0740298b45379bbf8d00d50beffee7a2f812a
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group threaded

closing as RESOLVED WORKSFORME

[Improvement found by office-interoperability-tools]