Bug 195471

Summary: Evince fails to open PostScript/PDF files without file-type suffixes
Product: [Fedora] Fedora Reporter: Mark A J Ashdown <majashdown>
Component: evinceAssignee: Kristian Høgsberg <krh>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: ralston
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-06-29 21:04:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 ***