Bug 1908

Summary: Staroffice files are recognized as ZIP files in Nautilus
Product: shared-mime-info Reporter: Vinay M R <vinay.mandyakoppal>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Patch which fixes the problem

Description Vinay M R 2004-11-23 01:16:46 UTC
When the name of a StarOffice file has its extension in capitals (ie, SXW or SXC
instead of sxw or sxc), Nautilus shows them as ZIP files.  It also displays the
contents when double-clicking on them, rather then starting StarOffice.
Comment 1 Vinay M R 2004-11-23 01:27:45 UTC
Created attachment 1356 [details] [review]
Patch which fixes the problem

Most of the staroffice format files are archived files so when gnome-vfs tries
to match the magic key it matches with the tar files. Need to add the capital
extensions for all staroffice formats.

Attaching a patch which adds entries for capital extensions in the glob file.
Comment 2 Christophe Fergeau 2004-11-23 03:03:13 UTC
This will still break for .sXw files for example, and for non-staroffice zipped
files. Maybe extension matching should be case insensitive...
Comment 3 Christophe Fergeau 2004-11-26 04:09:52 UTC

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

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.