MozillaZine

Why does FF keep asking what program to use for PDF?

User Help for Mozilla Firefox
moz2u
 
Posts: 204
Joined: February 9th, 2017, 4:03 pm

Post Posted November 29th, 2017, 8:11 am

I set the default program in Options already. I selected Foxit (great PDF reader) and it keeps on asking me if it should use Foxit. The box saying "Do this automatically for files like this from now on" is checked! I'm surprised they don't ask me if I'm sure 5 more times after I select OK! What is wrong with this picture? Is this really normal?

Grumpus

User avatar
 
Posts: 11868
Joined: October 19th, 2007, 4:23 am
Location: ... Da' Swamp

Post Posted November 29th, 2017, 8:25 am

Have you restarted Firefox since you made the change?
Also have you looked in /Tools/Options/General and looked to see if Foxit is set as default or is Ask . . . still the default?

costark
 
Posts: 276
Joined: July 14th, 2004, 5:03 am

Post Posted November 29th, 2017, 8:28 am

Are you at the [ Portable Document Format ] line when selecting?
The PDF File line a few spaces above Defaulted to Save File for me but Other shows PDF Readers you may have selected from.
Be sure it's the 2nd, longer worded line you're working with, and advise if THAT Line IS the line giving you problems.

Per the 2nd [ Portable Document Format ] line .... Does anyone know WHAT the earlier PDF File line is for?
Firefox 60.0.1 (64) - Win 7-64 Hm Prem - Hm-Stdnt '10 Ofce - ESET EIS - MBAM Prem 3 - SuperAS Pro - Macrium Reflect 7 - Diskeeper Pro 15- EPIM Mail - NO Java - Flash - i5 8G Quad Sandy Bridge G2

Gingerbread Man

User avatar
 
Posts: 7734
Joined: January 30th, 2007, 10:55 am

Post Posted November 29th, 2017, 9:02 am

moz2u wrote:The box saying "Do this automatically for files like this from now on" is checked!

That makes no difference when the server is sending Content-Disposition: attachment or an incorrect or generic MIME type.
The former is bug 453455 which people have been squabbling over for close to a decade, so give up hope of it being addressed and just install InlineDisposition. For the latter, I don't know any solution at the moment, since Display Inline would normally handle it, but its description says "broken at the moment".
To find out which situation you're in, you can use the web console to examine the server response header for the PDF link in question, or you can post it here and I'll do that for you.

moz2u
 
Posts: 204
Joined: February 9th, 2017, 4:03 pm

Post Posted November 29th, 2017, 10:23 am

Grumpus wrote:Have you restarted Firefox since you made the change?
Also have you looked in /Tools/Options/General and looked to see if Foxit is set as default or is Ask . . . still the default?


Haven't made any changes. That was my point. I set this weeks ago. Every time I want to open a PDF it asks me if I want Foxit to open it. Its been set that way for weeks. Of course Foxit is set as default. Has been for weeks. That's what is so odd about this. Its not doing this with other programs it launches as I can recall.

moz2u
 
Posts: 204
Joined: February 9th, 2017, 4:03 pm

Post Posted November 29th, 2017, 10:25 am

Thank you Gingerbread Man. OK, its a glitch. That explains it. Just wanted to know. Thanks.

To others: Yes Foxit is set correctly on the correct line. :) (Didn't realize setting a default program entailed so much skill...lol.) Portable Document Format (PDF) set to Foxit. The automatic option below that is checked and has been checked for a long time.

RobertJ
Moderator

User avatar
 
Posts: 10546
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Post Posted November 29th, 2017, 12:29 pm

.
Gingerbread Man wrote:the server is sending Content-Disposition: attachment or an incorrect or generic MIME type

It really isn't a glitch. If the server sends an incorrect MIME type Firefox has no idea what it is. The suffix (pdf) is not used to determine what to do with the file as per the official Internet Specification.

(IETF) wrote:The Multipurpose Internet Extensions (MIME) type is a standardized way to indicate the nature and format of a document. It is defined and standardized in IETF RFC 6838. The Internet Assigned Numbers Authority (IANA) is the official body responsible to keeping track of all official MIME types, and you can find the most up-to-date and complete list at the Media Types page.

Browsers should use the MIME type (and not the file extension) to determine how it will process a document; it is therefore important that servers are set up correctly to attach the correct MIME type to the header of the response object.


.
FF 60.0.1 - FF 61b7 - FF 62a - Palemoon 27.8.1 - TB 52.7 - Mac OSX 10.13.4
Computers I've used: IBM 7094/UNIVAC 1108/IBM 360/DEC PDP11/DEC VAX-11 780/DEC VAXstation 8000/Sun SPARCstation 2/Mac from 1984 to 2018

Return to Firefox Support


Who is online

Users browsing this forum: Bing [Bot] and 8 guests