- Package:
- iceweasel
- Source:
- firefox-esr
- Submitter:
- Rainer Dorsch
- Date:
- 2015-03-04 11:12:04 UTC
- Severity:
- normal
Dear Maintainer, since a few days/weeks pdf documents do not open anymore for me. Instead they get downloaded immediately, without iceweasel querying, if the pdf should be downloaded or opened. When I try to open from the download tab, iceweasel even tries to open the pdf with krita instead of okular. When I run dolphin (KDE file browser), pdfs open as expected in okular. I open this issue against iceweasel, since it affects iceweasel, it is not necessarily an iceweasel issue. Here are similar issues described http://www.linuxquestions.org/questions/blog/the-dsc-472367/fixing-the-annoying-firefox-associations-issue-once-and-for-all-4045/ http://forums.opensuse.org/showthread.php/398397-Gimp-default-for-opening-PDF-s-from-Firefox Thanks, Rainer
The problem seems to be related to the settings in mimeinfo.cache, which lists krita as first entry: rd@blackbox:~$ grep application/pdf /usr/share/applications/mimeinfo.cache application/pdf=kde4-krita_pdf.desktop;kde4- okularApplication_pdf.desktop;kde4-karbon.desktop;gimp.desktop;evince- previewer.desktop;evince.desktop;vprerex.desktop; rd@blackbox:~$ Kind regards, Rainer
I've noticed same problem on wheezy with latest Iceweasel. There is upstream bug with one comment with possible walkaround, that worked for me: https://bugzilla.mozilla.org/show_bug.cgi?id=727422#c24 Basically one has to change pdf association settings other then Okular, apply settings, and then revert back to Okular and apply again.