Download it now!
Bug 79826 - Impress can not properly open specific PPT created with WPS Office that MSO opens fine
Summary: Impress can not properly open specific PPT created with WPS Office that MSO o...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:ppt
: 127967 (view as bug list)
Depends on:
Blocks: PPT
  Show dependency treegraph
 
Reported: 2014-06-09 09:07 UTC by Kevin Suo
Modified: 2019-10-17 08:04 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:


Attachments
test ppt file (774.50 KB, application/vnd.ms-powerpoint)
2014-06-09 09:07 UTC, Kevin Suo
Details
the actual content for the test ppt file (592.18 KB, application/pdf)
2014-06-09 09:09 UTC, Kevin Suo
Details
Screenshot showing the ppt file open with libreoffice (57.88 KB, image/png)
2014-06-09 09:10 UTC, Kevin Suo
Details
OPs attachement converted to Office 2007 sp3 OOXML - .odp (793.79 KB, application/xml)
2014-06-09 13:29 UTC, V Stuart Foote
Details
test PPT and PPT resaved in MSO compared in MSO2016 and LO64+ (117.46 KB, image/png)
2019-10-17 08:03 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Suo 2014-06-09 09:07:27 UTC
Created attachment 100711 [details]
test ppt file

Problem Description:
LibreOffice Impress is not able to open the attached ppt file. (Actually libreoffice can open it, but is not showing the actual content).

Steps to reproduce:
1. Open the attached ppt file with libreoffice impress.

Current Behaviour:
The ppt file is only showing "In Slide Show mode, click the arrow to enter the PowerPoint Getting Started Center". It's actual contents are not shown.

Expected behaviour:
The actual content should show up.

Version: 4.3.0 beta2, also reproduce in 4.2.5.1.
Comment 1 Kevin Suo 2014-06-09 09:09:11 UTC Comment hidden (obsolete)
Comment 2 Kevin Suo 2014-06-09 09:10:42 UTC Comment hidden (obsolete)
Comment 3 Kevin Suo 2014-06-09 09:11:21 UTC Comment hidden (obsolete)
Comment 4 retired 2014-06-09 10:34:09 UTC
Confirmed:4.3b2:OSX 10.9.3

Open with Powerpoint 2010 shows 4 slides with colorful stuff. Open with LO just shows one page, no color. Ton of stuff missing. not sure why, but def confirmed.
Comment 5 V Stuart Foote 2014-06-09 13:29:28 UTC
Created attachment 100738 [details]
OPs attachement converted to Office 2007 sp3 OOXML - .odp

Confirmed on Windows 7 sp1, 64-bit (en-US) with
Version: 4.2.3.3
Build ID: 6c3586f855673fa6a1576797f575b31ac6fa0ba3

Same issue with the AOO 4.1.0 release of Impress.

The document looks to have been created in Office 2013 (15.) and saved from there as Office 2003-2007 .ppt format.

I opened the .ppt (attachment 100711 [details]) with Office 2007 PowerPoint (12.0.6554.5000) SP3 MSO (12.0.6683.5000) so document is not corrupt (from MS perspective) and then Saved as Open Document Presentation OOXML--.ODP attached.

LibreOffice opens the OOXML.ODP without issue and reasonable fidelity.

So issue would seem to originate in formatting of MS Office 2013 export to .PPT, our headache to deal with--but not our bug.
Comment 6 Julien Nabet 2014-06-13 23:03:44 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this.

I noticed a lot of this kind of log:
warn:sd.core:13834:1:sd/source/core/PageListWatcher.cxx:101: ImpPageListWatcher::GetSdPage(PK_STANDARD): page number 0 >= 0

+ 1 time this one:
warn:sot:13834:1:sot/source/sdstor/stgdir.cxx:420: Trying to resize readonly stream by seeking, could be a wrong offset: 4784697

Thorsten: one for you?
Comment 7 Sarah Miles 2014-10-22 18:55:14 UTC Comment hidden (no-value)
Comment 8 Julien Nabet 2014-10-22 19:03:30 UTC Comment hidden (obsolete)
Comment 9 Pieter van Oostrum 2014-10-31 21:27:18 UTC
You have to be aware that there are different versions of the binary PPT format. There is the 97-2003 format which is the most used. But there is also a PPT 2007 version, although PPT 2007 normally saves in XML format. The 2007 format has a lot of additional possibilities that the 97-2003 version does not have. However, Impress can only import the 97-2003 format, not the 2007 format (I think), so if you feed it a 2007 PPT file, it is to be expected that it will not be imported correctly.

 
V Stuart Foote has suggested that the file was "saved from there as Office 2003-2007 .ppt format." So I loaded the PPT in Powerpoint 2007 and saved it as a 97-2003 PPT file, and that file was imported correctly in LibreOffice. So I would suggest that the file is of a format that is not supported by LibreOffice.
Comment 10 Timur 2015-09-07 16:51:36 UTC Comment hidden (obsolete)
Comment 11 Julien Nabet 2015-11-18 22:05:13 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this.

I noticed these logs on console:
warn:legacy.tools:4083:1:editeng/source/editeng/impedit3.cxx:4287: ImpEditEngine::GetSpaceBeforeAndMinLabelWidth: min-label-width < 0 encountered
warn:legacy.tools:4083:1:editeng/source/editeng/impedit3.cxx:4287: ImpEditEngine::GetSpaceBeforeAndMinLabelWidth: min-label-width < 0 encountered
warn:svl:4083:1:svl/source/items/itempool.cxx:745: unequal types in Put(): no Clone()?, with ID/pos 1131
warn:svl:4083:1:svl/source/items/itempool.cxx:745: unequal types in Put(): no Clone()?, with ID/pos 1130
Comment 12 Timur 2016-11-28 18:59:47 UTC
Looks like this mysterious PPT was created with WPS, known before as KSO.
It was mistake not to ask immediately the reporter how the file was created.
Comment 13 Volga 2018-03-01 16:43:38 UTC Comment hidden (no-value)
Comment 15 Buovjaga 2019-09-22 12:03:42 UTC Comment hidden (obsolete)
Comment 16 Timur 2019-10-17 07:59:18 UTC
*** Bug 127967 has been marked as a duplicate of this bug. ***
Comment 17 Timur 2019-10-17 08:00:57 UTC
(In reply to Buovjaga from comment #15)
> As mentioned in comment 12, the file is created with WPS Office. I wonder if
> it makes sense to keep this open, if Powerpoint 2007 saves a file that LibO
> is able to interpret correctly.

I had the same doubts but now I'm confident this is a bug, as is our practice now. Because we should read it and there are those around and because MSO reads it right.
Comment 18 Timur 2019-10-17 08:03:13 UTC
Created attachment 155051 [details]
test PPT and PPT resaved in MSO compared in MSO2016 and LO64+

As noted before, LO 6.4+ opens PPT wrong, while MSO opens it fine. 
If resaved in MSO, LO opens it right. 
This should definitely be fixed. 

Another example attachment 154761 [details] from bug 127967, compared as attachment 155050 [details].