This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox will not remember to use Reader for PDF downloads

more options

When using Gmail, I have an email with PDF attachments. For each PDF attachment, there are 3 options: Use the built-in reader, download, or copy to Google Drive. When I select download, the popup says "You have chosen to open:..." and then offers two selections: "Open with" and "Save File". Previously, the "Open with" option would remember that I wanted to use Reader with PDF file. It will no longer does that. I have to browse and find Reader each time, even though I've clicked "Do this automatically". Each time I do browse to Reader, it will use it. It simply won't remember to use Reader the next time. Under Options-Application, it does say that for PDF files, it should "Use Adobe Reader". I have reinstalled Firefox, along with making sure the profile folders in my application data were deleted, so this is a clean version.

When using Gmail, I have an email with PDF attachments. For each PDF attachment, there are 3 options: Use the built-in reader, download, or copy to Google Drive. When I select download, the popup says "You have chosen to open:..." and then offers two selections: "Open with" and "Save File". Previously, the "Open with" option would remember that I wanted to use Reader with PDF file. It will no longer does that. I have to browse and find Reader each time, even though I've clicked "Do this automatically". Each time I do browse to Reader, it will use it. It simply won't remember to use Reader the next time. Under Options-Application, it does say that for PDF files, it should "Use Adobe Reader". I have reinstalled Firefox, along with making sure the profile folders in my application data were deleted, so this is a clean version.

Asịsa ahọpụtara

Testing with one message, it appears that Google is sending a good content-type header ("application/pdf"). The attached screen shot shows the "Response Headers" in the web console.

Sometimes the settings file that stores your downloading handling preferences becomes corrupted with duplicate or conflicting information. Because its internal format is inscrutable, it generally is easiest to remove the file and have Firefox rebuild it. You will need to update your PDF preference again, but hopefully it will work again.

Here's how:

Open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" button > Troubleshooting Information
  • Help menu > Troubleshooting Information

In the first table on the page, click the "Show Folder" button

Leaving that window open, switch back to Firefox and Exit, either:

  • "3-bar" menu button > "power" button
  • File menu > Exit

Pause while Firefox finishes its cleanup, then rename mimeTypes.rdf to something like mimeTypes.old

Start Firefox back up again, revisit Options/Applications and select your PDF preference, then test Gmail again. Any improvement?

Gụọ azịza a na nghọta 👍 0

All Replies (13)

more options

Deleting the mimeTypes.rdf will reset all download actions to the default settings.

Type about:support in the address bar and press enter.

Under the page logo on the left side you will see Application Basics. Under this find Profile Folder. To it’s right press the button Show Folder. This will open your file browser to the current Firefox profile. Now Close Firefox.

Locate the file. Then rename or delete it. Restart Firefox.

more options

No joy. I delete the file. Close Firefox and restart it. I go into the config-applications and I confirm the PDF association is not there. I open the email and click download. As expected, it doesn't know what app to use, so I browse to Reader and select it and tell it to do this automatically. Reader is opened. I pick the next PDF file for download, and when the popup comes up, it does not recall the Reader association. I go into config-applications, and it SAYS Reader is associated with PDF files. It just kind of ignores it.

more options

See if this helps;

InlineDisposition 2 {web link} InlineDisposition 2 changes the disposition of Content-Disposition response headers from attachment to inline.

more options

Asịsa Ahọpụtara

Testing with one message, it appears that Google is sending a good content-type header ("application/pdf"). The attached screen shot shows the "Response Headers" in the web console.

Sometimes the settings file that stores your downloading handling preferences becomes corrupted with duplicate or conflicting information. Because its internal format is inscrutable, it generally is easiest to remove the file and have Firefox rebuild it. You will need to update your PDF preference again, but hopefully it will work again.

Here's how:

Open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" button > Troubleshooting Information
  • Help menu > Troubleshooting Information

In the first table on the page, click the "Show Folder" button

Leaving that window open, switch back to Firefox and Exit, either:

  • "3-bar" menu button > "power" button
  • File menu > Exit

Pause while Firefox finishes its cleanup, then rename mimeTypes.rdf to something like mimeTypes.old

Start Firefox back up again, revisit Options/Applications and select your PDF preference, then test Gmail again. Any improvement?

Edeziri site na jscher2000 - Support Volunteer

more options

FredMcdD - Your second solution does not address my problem. I do not want to read the file within the browser. I want to download and when the download options window pops up, have the "Open with" option prepopulated with "Reader" already selected. jscher2000 - It seems like your solution is like FredMcD's first suggestion, which is to rebuild the mimeTypes.rdf. It did not work the second time either. From the attached screenshots, you can see the config setup (after the rebuild and after updating the PDF action) says Reader is to be used, but the download popup doesn't use it.

more options

Oh boy....turns out it is OK, it's just not obvious.

Even though the download pop-up lists no application next to "Open with" (which I'm pretty sure it used to), it WILL use Reader when I click the OK button.

Another odd thing: When the popup window is not active, as if when I'm using the Snipping Tool to get a snapshot, the OK button is grayed out (that sure doesn't help when trying to get help from you guys), but when it is active, it is not grayed out and is the default button.

more options

Hi rickshein, with your setting, you should not get the Open/Save/Cancel dialog; the document should launch in Adobe Reader automatically. I noticed your dialog is a bit different than mine: yours refers to "PDF file" while mine refers to "Adobe Acrobat Document". (screenshot attached)

For some reason, your Firefox is not properly matching up the download with the application/pdf file type. Is this problem specific to Gmail or to HTTPS sites, or does it occur for other PDF downloads as well? For example:

http://www.jeffersonscher.com/gm/Google-Hit-Hider-by-Domain_About_v160.pdf

https://www.jeffersonscher.com/gm/Google-Hit-Hider-by-Domain_About_v160.pdf (secure)

more options

When I click the links in your reply, Firefox does launch them in Reader, so it must be treating links differently than email attachments. Interesting that the popup windows don't refer to PDF files in the same way. Does your Options->Application window look like mine - does it list the content type as "Portable Document Format (PDF)". Even though mine is working OK, it is still in interesting puzzle as to why the popups display differently.

more options

I was going to say my Options dialog looks the same, but I noticed yours has a different, more generic icon for PDF than mine. Did yours get updated after using one of the ordinary links or does it still have that other icon?

more options

Not sure where that came from. I just deleted/recreated the rdf file. Before I do anything after restarting Firefox, it shows the std PDF icon along with "Always ask". After resetting it to open Reader, the icon is sticking but the popup is acting as before - identifying it as "Portable Document Format" and not listing Reader. I find it somewhat interesting it's listing PDF at all. I did check my Windows file association, and in there it call it Adobe Acrobat Document. So where is Firefox getting the "Portable Document Format (PDF)" text from?

more options

I delete the file. Close Firefox and restart it

The instructions say;

Now Close Firefox. Locate the file. Then rename or delete it. Restart Firefox.

more options

Hi rickshein, the phrase "Portable Document Format (PDF)" was added to the Options dialog when the built-in viewer was added. I think that neutral phrase was chosen because you can't assume that the user has Adobe software vs. Apple software vs. Foxit, Nitro, etc. But the Open/Save/Cancel dialog usually picks up the description from the Windows registry.

Some users reported that Firefox 31 and 32 modified how PDF files were described in the registry, for example, changing them from Adobe Acrobat Document to Firefox HTML document. This is a glitch, and when it happens, it affects all file listings throughout Windows. I'm assuming if you had that issue you would have mentioned it...

more options

FredMcD - To be clear, I should have said: "I just CLOSED FIREFOX, deleted/recreated the rdf file. Before I do anything after restarting Firefox..." In each case, I am following the direction provided by both you and jscher2000 - use Firefox to navigate to the folder, close Firefox, delete or rename the .rdf file, then re-light Firefox. At this point, it's apparent that Firefox is launching Reader as it should. It's just not very good in the download dialog box in specifying what it's intending to do. jscher2000: I am using v.32.0.1. You are correct in that I've not noticed any strange re-identification of PDF files. FredMcd & jscher2000 - Thanks for this dialog. It is appreciated!