Cannot view PDF attachment in Firefox
Hi,
I'm using Zotero for Firefox 4.0.8 (site translator up to date) with Firefox 21.0 (up to date). However, I recently found that I cannot open the PDF attachment of an item in Firefox by double clicking the item entry or by selecting 'View PDF' from the context menu.
What happens after I do either of the above is: the dark grey PDF view window shows up. A progress bar quickly flashes and then disappears. No pdf file is loaded. The address bar reads something like 'zotero://attachment/147/'.
However, I can still view these PDF files either by choosing 'Open in External Viewer' to open it in Adobe Reader or by directly dragging the PDF entry to the firefox window. In the latter case, the address bar shows the fullpath of the file. e.g.: 'file:///C:/Users/MyAccount/AppData/Roaming/Zotero/Zotero/Profiles/9id3rmmi.default/zotero/storage/42FBGWV6/227.pdf'. Or alternatively, I can go to the original webpage to open the pdf file online.
I did use CCleaner to clean the registry/cookies/temporary internet files around the time the problem started to occur. But I don't quite remember which happened first.
Any help would be highly appreciated.
Best Regards
I'm using Zotero for Firefox 4.0.8 (site translator up to date) with Firefox 21.0 (up to date). However, I recently found that I cannot open the PDF attachment of an item in Firefox by double clicking the item entry or by selecting 'View PDF' from the context menu.
What happens after I do either of the above is: the dark grey PDF view window shows up. A progress bar quickly flashes and then disappears. No pdf file is loaded. The address bar reads something like 'zotero://attachment/147/'.
However, I can still view these PDF files either by choosing 'Open in External Viewer' to open it in Adobe Reader or by directly dragging the PDF entry to the firefox window. In the latter case, the address bar shows the fullpath of the file. e.g.: 'file:///C:/Users/MyAccount/AppData/Roaming/Zotero/Zotero/Profiles/9id3rmmi.default/zotero/storage/42FBGWV6/227.pdf'. Or alternatively, I can go to the original webpage to open the pdf file online.
I did use CCleaner to clean the registry/cookies/temporary internet files around the time the problem started to occur. But I don't quite remember which happened first.
Any help would be highly appreciated.
Best Regards
This is fixed in the latest version of Firefox, so installing a separate version of pdf.js is no longer necessary. See below for details— D.S.
Edit: link updated. Thanks adamsmith
However, after restarting firefox, I ran into this issue again. Deactivating and then reactivating the PDF.js extension worked for me. So it looks like firefox uses the bundled, internal version of PDF.js by default, and only installing/activating the dev version overrides this.
Is there a way to disable the internal, bundled version, so firefox always uses the installed dev version?
Thanks very much!
https://github.com/mozilla/pdf.js#browser-extensions
Is this fix going to make it into 4.0.9 stable? I have a user base that I do not feel comfortable moving to dev tree.
The development version linked to only applies to pdf.js, nothing else.
I don't think we know when this is going to make it into regular Firefox.
So relieved
Thank you all!
whenever I try to open a pdf from Zotero, it opens a blank tab and asks me how it should open it. It used to open the pdf in a new tab without asking, but now it always pops up this window. However, when I'm not using Zotero (like a pdf link on the web), it works fine: it opens it in a new tab without asking anything.
Any ideas what's wrong here?
I'm using Firefox 26.0, Zotero 4.0.17.1, Mac OS X 10.8; rv:26.0 and I have the option Open PDFs within Firefox checked.
Thanks!
I tried that, but it doesn't work. The file didn't exist, so I went ahead and created one as described, but nothing changed, even after restarting Firefox, or the machine. Anyway, I have unchecked the 'Open PDFs within Firefox' Zotero option: now at least it opens the pdfs directly in Preview without popping up the application panel and does not pollute the browser with the annoying empty tabs.
So that works for me, although I still don't understand if Zotero has nothing to do with how pdfs are handled, why a pdf on the web opens fine in the browser and a pdf from the Zotero library prompts this question about the application.
Thank you so much. I was having the same problem as kolorado, and by deleting mimeTypes.rdf I solved my problem so easily. Thanks!