Bug 195471 - Evince fails to open PostScript/PDF files without file-type suffixes
Summary: Evince fails to open PostScript/PDF files without file-type suffixes
Keywords:
Status: CLOSED DUPLICATE of bug 193582
Alias: None
Product: Fedora
Classification: Fedora
Component: evince
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Kristian Høgsberg
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-06-15 13:13 UTC by Mark A J Ashdown
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-06-29 21:04:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mark A J Ashdown 2006-06-15 13:13:45 UTC
Description of problem:

Evince does not open PostScript or PDF files if they do not have a .ps or .pdf
suffix. In particular, such files downloaded from the web cannot be opened
automatically (some websites, for example, arxiv.org, distribute PS and PDF
files with no suffix).

Version-Release number of selected component (if applicable):

0.5.1-3

How reproducible:

Every time.

Steps to Reproduce:
1. Remove file-type suffix from name of PS/PDF file
2. Attempt to open file with evince.
  
Actual results:

For PostScript files, an error box pops up containing:

Unable to open document 
Unhandled MIME type: 'text/plain'

A similar thing happens for PDF files, except the supposed MIME type is
'application/octet-stream'.

Expected results:

File should be opened as normal.

Additional info:

The obvious work-around is to change the file name by hand. This is particularly
annoying if the file is being downloaded from a website; you have to save it to
disk, change the name and then start evince manually.

Comment 1 James Ralston 2006-06-19 03:04:03 UTC
Agreed.  Not only do I get bitten by this bug all the time, I generally have to
resort to removing the mozplugger package to actually get firefox to prompt me
to save the document to a file.

(Hopefully evince's amazing brittleness will improve over time.  When it
actually works, it's superb.)


Comment 2 Kristian Høgsberg 2006-06-29 21:04:37 UTC

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


Note You need to log in before you can comment on or make changes to this bug.