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 332126 - Clicking on and opening a .ps.gz file is not repeatable
Clicking on and opening a .ps.gz file is not repeatable
Status: RESOLVED DUPLICATE of bug 307210
Product: epiphany
Classification: Core
Component: Downloads
git master
Other Linux
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Marco Pesenti Gritti
Depends on:
Blocks:
 
 
Reported: 2006-02-22 03:19 UTC by Peter Harvey
Modified: 2007-05-30 11:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Peter Harvey 2006-02-22 03:19:35 UTC
When clicking on a .ps.gz link and selecting "Open" the gnome postscript viewer shows the file. Close, and try again, and the postscript viewer is unable to show it. Seems that on the first try we provide a gunzipped version of the downloaded file, and on the second try we leave it gzipped.

Test file:
  http://www.dsl.uow.edu.au/~harvey/publications/harvey03reducing.ps.gz
Comment 1 Reinout van Schouwen 2006-02-22 11:40:40 UTC
Evince should be able to handle .ps as well as .ps.gz. 

In any case I can't reproduce (on 1.8.2 atm), the handler for .ps files is always called, indicating that the temporary file is decompressed on the fly.
Comment 2 Björn Lindqvist 2006-12-02 03:11:51 UTC
This bug is similar to bug #166325. The first time the link is downloaded, it is saved as /path/harvey03reducing.ps.gz. The next time it is /path/harvey03reducing(1).ps.gz indicating that a file named harvey03reducing.ps.gz already existed there so it was renamed. 

Because Epiphany places its "increment indicator" before ".ps.gz", gnomevfs correctly detects the mime type to application/x-gzpostscript" and Evince can open it. Maybe earlier versions of Epiphany placed the increment indicator after the ".ps" like "harvey03reducing.ps(1).gz" which would have made it impossible for gnomevfs to detect the correct mime type? 

Firefox suffers from this problem, it renames the file to harvey03reducing.ps-1.gz and so Evince thinks its mime is "application/x-gzip" and refuses to open it.
Comment 3 Diego Escalante Urrelo (not reading bugmail) 2006-12-02 04:53:31 UTC
Epiphany adds a -1 after the first .something.
This happens in 2.16.

The -1 should be BEFORE the .something.

Or... maybe this is locale specific?.
Comment 4 Christian Persch 2007-05-30 11:09:32 UTC

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