GNOME Bugzilla – Bug 332126
Clicking on and opening a .ps.gz file is not repeatable
Last modified: 2007-05-30 11:09:32 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
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.
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.
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?.
*** This bug has been marked as a duplicate of 307210 ***