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 575010 - evince fails to open .PS.gz files, works with .ps.gz
evince fails to open .PS.gz files, works with .ps.gz
Status: RESOLVED OBSOLETE
Product: glib
Classification: Platform
Component: gio
2.20.x
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2009-03-11 22:42 UTC by Emilio Pozuelo Monfort
Modified: 2018-05-24 11:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Emilio Pozuelo Monfort 2009-03-11 22:42:48 UTC
[ from http://bugs.debian.org/519274 ]

Evince can open .ps.gz files, but if you rename one to .PS.gz, it will fail saying 'unable to open document. unhandled mime type
"application/x-gzip"'
Comment 1 Carlos Garcia Campos 2009-04-10 14:38:52 UTC
it should be an issue in gio:

$ gvfs-info file.ps.gz | grep content-type
  standard::content-type: application/x-gzpostscript
  standard::fast-content-type: application/x-gzpostscript

$ gvfs-info file.PS.gz | grep content-type
  standard::content-type: application/x-gzip
  standard::fast-content-type: application/x-gzip
Comment 2 Alexander Larsson 2009-05-20 13:13:18 UTC
Ah, this is a problem with the xdg mime spec. It says to first to a case sensitive match and only if that fails do a case insensitive match, and .PS.gz only matches .gz case sensitivity...

I'll bring it up on the list.
Comment 3 GNOME Infrastructure Team 2018-05-24 11:47:51 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/204.