Bug 54740 - Particular .pptx after FILESAVE from LibO can not be opened with Powerpoint
Summary: Particular .pptx after FILESAVE from LibO can not be opened with Powerpoint
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
3.4.5 release
Hardware: Other All
: medium major
Assignee: Not Assigned
URL:
Whiteboard: target:3.7.0
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-10 16:55 UTC by Florian Reisinger
Modified: 2013-12-30 18:44 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
problematic presentation exported with master branch LO (270.62 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2012-09-12 09:46 UTC, Radek Doulik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Reisinger 2012-09-10 16:55:20 UTC
Bug, which occured in c't a german newspaper magazine.

Open Original-PPT-2010.pptx with LibO and save it --> Big size reduction.

Open this file (from step above) in MS Office (2010)

Eroor message 1.png occured. "Repair" "Abort". Click repair
Eroor message 2.png occured. "Download" "Open" "Acort" Click Open

Save this file (You will get kopie-saved.pptx)
Open the original file and save it using MS Office. Nothing changed (original-saved.pptx)

OS: Windows 7 x64
LibreOffice 3.6.1.2

Testcase: https://www.box.com/s/68o7qxc2dzh5pevran8r
Comment 1 Rainer Bielefeld Retired 2012-09-10 17:54:53 UTC
Hm, I am not sure whether I understand what problem is reported here. 

I can open "Original-PPT-2010.pptx" with MS PPT Viewer.

I can confirm that "Original-PPT-2010.pptx" saved from LibO as 
"Original-PPT-2010_savedfromlibo361.pptx" can not be opened by MS PPT Viewer (error message different from the ones in test kit), so the suspect that there might be a LibO bug is at least plausible.

LibO and AOOo 3.4.1 open "Original-PPT-2010_savedfromlibo361.pptx" without problems.

Comparing "Original-PPT-2010_savedfromlibo361.pptx" and "Original-PPT-2010.pptx" the main difference seems to be that the original containsa .png without any compression, while the png in "Original-PPT-2010_savedfromlibo361.pptx" is compressed. No idea whether that difference is part of the problem. 

Not a special 3.6.1 problem, I get the same errormessage for a .pptx saved from LibO 3.4.5. Saved from LibO 3.3.3 can be opened by PPT Viewer, but that's empty.

I think someone with pptx knowledge will have to check this.

@Florian:
Is the test from c't available? I believe they will contribute a copy for us for internal use if you ask.
Comment 2 Radek Doulik 2012-09-12 09:45:01 UTC
It might be problem I fixed recently in master. I saved the Original-PPT-2010.pptx from master LO and it is opening OK in MSO. Attaching the saved document.

I will try to backport the pptx export fixes to 3-6 branch.
Comment 3 Radek Doulik 2012-09-12 09:46:13 UTC
Created attachment 67031 [details]
problematic presentation exported with master branch LO
Comment 4 Rainer Bielefeld Retired 2012-09-12 10:33:33 UTC
Modified Version due to earliest tested version, target due to test results.

No longer reproducible already with parallel installation of Master "LOdev  3.7.0.0.alpha0+   -  ENGLISH UI / German Locale  [Build ID: 6cad15d]"  {tinderbox: @6, pull time 2012-09-03 23:08:07} on German WIN7 Home Premium (64bit)  (installation without Base)

@Radek:
On Marketing list we are thinking a bout a short comment on <http://www.heise.de/ct/inhalt/2012/20/76/>. Can you help with a short expectation like "reason for the problem might have been ..." here in the bug?
Comment 5 Radek Doulik 2012-09-19 08:01:16 UTC
The problem was in slide export, where timeline for transitions and animations is exported.

It was probably caused by changes in some part of impress related to animations and transitions, where the internal data representation changed a bit and thus we exported empty child nodes list, which doesn't complain with the standard.
Comment 6 Jorendc 2013-12-30 18:44:47 UTC
Can't reproduce anymore, tested using Windows 8.1 with LibreOffice Version: 4.3.0.0.alpha0+
Build ID: 8102d45911bf3c47ce7ee15d3db89b0024c3bff8
TinderBox: Win-x86@39, Branch:master, Time: 2013-12-29_09:34:00 and opened using MS Powerpoint 2010.

Kind regards,
Joren