After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 780214 - Nautilus "extracts" ooxml files
Nautilus "extracts" ooxml files
Status: RESOLVED FIXED
Product: gnome-autoar
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Autoar maintainer(s)
GNOME Autoar maintainer(s)
: 781648 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2017-03-17 17:36 UTC by Giovanni Campagna
Modified: 2017-04-24 08:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Revert "mime-types: use g_content_type_is_a for mime support" (1.84 KB, patch)
2017-03-21 12:02 UTC, Carlos Soriano
none Details | Review
Revert "autoar-mime-types: update supported mime types with shared-mime-info" (1.95 KB, patch)
2017-03-21 12:02 UTC, Carlos Soriano
none Details | Review
Revert "mime-types: use g_content_type_is_a for mime support" (2.03 KB, patch)
2017-03-21 12:09 UTC, Carlos Soriano
committed Details | Review
Revert "autoar-mime-types: update supported mime types with shared-mime-info" (1.54 KB, patch)
2017-03-21 12:09 UTC, Carlos Soriano
committed Details | Review

Description Giovanni Campagna 2017-03-17 17:36:06 UTC
OOXML (docx, xlsx, pptx) files are technically zip files, and they are a subtype of application/zip in shared-mime-info, but nobody wants to unpack them if you double click them in Nautilus!

Instead, the default app (usually Libreoffice) should be used to open them.
Comment 1 Carlos Soriano 2017-03-21 12:02:45 UTC
Created attachment 348396 [details] [review]
Revert "mime-types: use g_content_type_is_a for mime support"

This reverts commit d7e45a2627d026b86aa518984fad48b5ff76ffb8.
Comment 2 Carlos Soriano 2017-03-21 12:02:50 UTC
Created attachment 348397 [details] [review]
Revert "autoar-mime-types: update supported mime types with shared-mime-info"

This reverts commit 4cda32a73314a68ea278fe15107c8d85fc4d1f7c.
Comment 3 Carlos Soriano 2017-03-21 12:09:50 UTC
Created attachment 348399 [details] [review]
Revert "mime-types: use g_content_type_is_a for mime support"

This reverts d7e45a2627d026b86aa518984fad48b5ff76ffb8

It gives more problems than it solves. For example docx is a subtype of zip,
which makes autoar report it as supported, when it's not.

So it's better to use the subtypes that autoar supports directly.
Comment 4 Carlos Soriano 2017-03-21 12:09:56 UTC
Created attachment 348400 [details] [review]
Revert "autoar-mime-types: update supported mime types with shared-mime-info"

This reverts commit 4cda32a73314a68ea278fe15107c8d85fc4d1f7c.

It gives more problems than it solves. For example docx is a subtype of zip,
which makes autoar report it as supported, when it's not.

So it's better to use the subtypes that autoar supports directly.
Comment 5 Carlos Soriano 2017-03-21 12:50:15 UTC
Attachment 348399 [details] pushed as 578aeec - Revert "mime-types: use g_content_type_is_a for mime support"
Attachment 348400 [details] pushed as 5c7f955 - Revert "autoar-mime-types: update supported mime types with shared-mime-info"
Comment 6 Carlos Soriano 2017-04-24 08:40:30 UTC
*** Bug 781648 has been marked as a duplicate of this bug. ***