.ppsx (Office 2007 slideshows) files not recognized

Bug #344198 reported by Krzysztof Kosinski
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shared-mime-info
Fix Released
Medium
shared-mime-info (Ubuntu)
Fix Released
Low
Unassigned
Declined for Karmic by Sebastien Bacher

Bug Description

Binary package hint: shared-mime-info

Office 2007 slideshows are not recognized by shared-mime-info.
They differ from Office 2007 presentations (.pptx) only in that they should be immediately shown as slideshows instead of being opened for editing.
You can find plenty of examples by searching for filetype:ppsx on Google.

Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, could you add an example to the bug? what ubuntu version do you use?

Changed in shared-mime-info (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Krzysztof Kosinski (tweenk) wrote :

I don't have access to Office 2007 and OO.o can't write those files, but you can try the fifth result from this link (that's what I used):
http://www.google.pl/search?q=filetype%3Appsx

The file is recognized as application/zip, whereas it should be recognized as:
application/vnd.openxmlformats-officedocument.presentationml.slideshow
when the extension is changed to .pptx, this format is recognized as:
application/vnd.openxmlformats-officedocument.presentationml.presentation
and can be opened by OpenOffice 3.0 as Microsoft PowerPoint 2007 XML, although I have to manually select the filter.

This type of file should be opened by OpenOffice.org in presentation mode, instead of in the editor (I heard this is the behaviour with PowerPoint).

I'm using the current dev version of Ubuntu Jaunty.

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you add any example to the bug rather than giving random urls to other websites? you tried on an example no? that would make the job easier for everybody there

Revision history for this message
Krzysztof Kosinski (tweenk) wrote :

I don't think I can attach someone's presentation lifted from a website to without any permission, and as I said I don't have access to Office 2007 to create one myself...

Example direct link (under 400 KB): www.keystoneparalegals.org/KeystoneAlliance.ppsx

Revision history for this message
Taco (tcwitte) wrote :

Somebody just sent me a PPSX file and I ran into the same issue (using Jaunty up-to-date as of today).

According to Wikipedia[1] PPSX is a "Microsoft Office 2007 XML Show" document. Ubuntu recognizes it as a ZIP file. If I change the extension to PPTX, it's associated with OpenOffice.org Presentation. If I open it, I still have to select a filter however. Selecting the "Microsoft Powerpoint 2007 XML" filter opens it successfully.

Proposal: associate PPSX with OpenOffice.org Presentation just like PPTX because OO.org can open the file type.
Caveat: I don't know anything about Microsoft Office so I might be wrong. But in that case this bug could be closed as WONTSOLVE.

[1] http://en.wikipedia.org/wiki/Microsoft_Office_2007_filename_extensions

Revision history for this message
Krzysztof Kosinski (tweenk) wrote :

I finally got around to creating a sample PPSX on my brother's computer. The file is identical to pptx, or at least can be opened as such by OO.o - the only difference is the filename extension, and that it should open directly in slideshow view, not in the editor.

Revision history for this message
Nicolas DERIVE (kalon33) wrote :

Sebastien : Occurs in Karmic, .ppsx are recognised as archive whereas they should be associated with OOo which can open them directly using OOo Impress flawlessly.

Changed in shared-mime-info (Ubuntu):
status: Incomplete → New
Revision history for this message
Nicolas DERIVE (kalon33) wrote :

Nominating it for Karmic as it's to my mind something not too difficult to fix, software is here to open them and its a problem for normal users.

Revision history for this message
In , Olivier Tilloy (osomon) wrote :

Created an attachment (id=32851)
Patch against git master

The shared mime info database doesn't know about files with the "ppsx" extension.

Those are to be known as "PowerPoint 2007 XML Show" (see http://en.wikipedia.org/wiki/Microsoft_Office_2007_filename_extensions#PowerPoint_2007_File_Type_Extension), the complete type being "application/vnd.openxmlformats-officedocument.presentationml.slideshow".

I'm attaching a patch against git master along with a test case.

Revision history for this message
In , Olivier Tilloy (osomon) wrote :

Note that there is a bug report in Ubuntu that already tracks this issue, I'll make sure Launchpad is aware of the upstream bug report.

Revision history for this message
In , Olivier Tilloy (osomon) wrote :
Revision history for this message
Olivier Tilloy (osomon) wrote :

I can confirm the issue on Karmic. Note that I've had a look at the package in Lucid, and it's not fixed there.
It seems to me that all that's needed is to add an entry for "application/vnd.openxmlformats-officedocument.presentationml.slideshow" in /usr/share/mime/packages/freedesktop.org.xml. I don't know where to look for the upstream reference version of this document, though.

Changed in shared-mime-info (Ubuntu):
status: New → Confirmed
Revision history for this message
Olivier Tilloy (osomon) wrote :

IMHO, the importance of this bug should be bumped. It's easy enough to work around it for an advanced user, either by changing the file's extension or by selecting "Open with another application", but it's just not a reasonable solution for normal users. To them, the only conclusion will be: "Ubuntu cannot open my presentation".

Revision history for this message
Olivier Tilloy (osomon) wrote :

I reported the bug upstream (https://bugs.freedesktop.org/show_bug.cgi?id=26276) and attached a patch there.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your work there

Changed in shared-mime-info (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
In , Bastien Nocera (hadess-deactivatedaccount) wrote :

commit e665d474b44d36c1510378865bd0bbbb79fd8ac5
Author: Olivier Tilloy <email address hidden>
Date: Wed Jan 27 18:09:18 2010 +0100

    Add application/vnd.openxmlformats-officedocument.presentationml.slideshow

    and sample.ppsx test file (copied sample.pptx).

    http://bugs.freedesktop.org/show_bug.cgi?id=26276

Changed in shared-mime-info:
status: Unknown → Confirmed
Changed in shared-mime-info (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package shared-mime-info - 0.70-1ubuntu1

---------------
shared-mime-info (0.70-1ubuntu1) lucid; urgency=low

  * debian/patches/001_git_openoffice_slideshow.patch:
    - define openoffice presentation mimetype too, thank Olivier Tilloy
      (lp: #344198)
 -- Sebastien Bacher <email address hidden> Thu, 28 Jan 2010 18:54:52 +0100

Changed in shared-mime-info (Ubuntu):
status: Fix Committed → Fix Released
Changed in shared-mime-info:
status: Confirmed → Fix Released
Changed in shared-mime-info:
importance: Unknown → Medium
Changed in shared-mime-info:
importance: Medium → Unknown
Changed in shared-mime-info:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.