Bug 1908 - Staroffice files are recognized as ZIP files in Nautilus
Summary: Staroffice files are recognized as ZIP files in Nautilus
Status: RESOLVED DUPLICATE of bug 732
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-23 01:16 UTC by Vinay M R
Modified: 2004-11-25 09:09 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch which fixes the problem (3.57 KB, patch)
2004-11-23 01:27 UTC, Vinay M R
Details | Splinter Review

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.