Description of problem: When I click on a PDF file/link in firefox it tries to display it via mozplugger/evince, but I get the error message "Unable to open document -- Unhandled MIME type: 'application/octet-stream'" Version-Release number of selected component (if applicable): evince-0.5.1-3 mozplugger-1.7.3-2.2.1 firefox-1.5.0.1-9 How reproducible: Steps to Reproduce: 1. Click on linked PDF in firefox Actual results: Evince window gets drawn inside firefox, but I get the error message as described above. Expected results: PDF gets displayed Additional info: When I subsequently issue "evince http://webserver/path/to/doc.pdf", the document gets downloaded and displayed fine.
This bug reproduces on my AMD-64 but not on my 32-bit laptop.
NB: I have this problem both on my 32-bit Intel Pentium M laptop and 32-bit AMD Athlon desktop.
Confirming on my 32-bit Intel laptop. This also affects all other browsers I've tried: galeon and epiphany both give the same error.
I can duplicate this outside firefox/galeon/epiphany. The underlying problem appears to be that evince apparently isn't using file magic to check that it's really a PDF. i.e. if the PDF doesn't have the .pdf extension when downloaded via mozplugger it is seen as the default binary type: $ cp doc.pdf /tmp/doc $ evince /tmp/doc get same problem as doing it via a browser.
See also discussion here: http://www.redhat.com/archives/fedora-list/2006-April/msg02134.html
This looks to be a duplicate/special case of bug #193582.
Can this be closed as a duplicate of bug #193582? shared-mime-info-0.17-1.fc5.2 has been pushed for fc5 which fixes this.
Done, thanks. *** This bug has been marked as a duplicate of 193582 ***