Checkbox indicating "open in Firefox" is the default for opening PDFs should be ticked
Categories
(Firefox :: File Handling, defect, P3)
Tracking
()
People
(Reporter: zeid, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
122.12 KB,
image/png
|
Details |
When I open a PDF file in Firefox (i.e. by selecting "Open with Firefox") and checking "Do this automatically for files like this from now on", the setting appears to have been saved in the preferences, but I still get the same dialog asking me the same thing the next time I open a file. This persists even upon restarting Firefox.
Using Firefox 79.0 (64-bit) on macOS Catalina 10.15.5.
Reporter | ||
Updated•4 years ago
|
Comment 1•4 years ago
|
||
Can you check the headers for the PDF in question, and see if they include content-disposition: attachment
? If so, this is a duplicate of bug 453455. See bug 453455 comment 22 for why resolving this isn't trivial.
Updated•4 years ago
|
Reporter | ||
Comment 2•4 years ago
|
||
(In reply to :Gijs (he/him) from comment #1)
Can you check the headers for the PDF in question, and see if they include
content-disposition: attachment
? If so, this is a duplicate of bug 453455. See bug 453455 comment 22 for why resolving this isn't trivial.
The response header of the download request does indeed include content-disposition: attachment
. I'm not sure this would be a duplicate of bug 453455, but perhaps very related to bug 470332. Given that "Open with Firefox" is new behaviour, this may be a different manifestation of a similar bug.
Re-testing this now, it seems like this is the behaviour:
- If you open a PDF with Firefox, and check off "Do this automatically ... from now on" then the next time you open an attachment, the checkbox is unchecked and "Open with Firefox" is selected. The Applications settings show "Open in Firefox" for PDFs.
- If you open a PDF and choose a different application (e.g. Preview or Textedit) and check off "Do this automatically ... from now on" then the next time you open an attachment, the checkbox is checked, and the correct application is selected.
Therefore, the behaviour is a little inconsistent. I'd say that given the limitations, I would expect the checkbox to save the behaviour to not be present since it's not really doing anything, but specifically the fact that it does not remain checked only when you select "Open with Firefox" feels buggy.
Comment 3•4 years ago
|
||
The severity field is not set for this bug.
:Gijs, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 4•4 years ago
|
||
(In reply to Zeid Zabaneh [:zeid] from comment #2)
I would expect the checkbox to save the behaviour to not be present since it's not really doing anything,
It does something if you select "save file". It'd be weird to hide/show the checkbox depending on the radio selection, or to try to disable it and save/restore checked state or something.
Ultimately, this dialog is awful and I don't think there's any real way to improve it beyond burning it with fire and getting rid of it completely.
but specifically the fact that it does not remain checked only when you select "Open with Firefox" feels buggy.
I'll morph this to be about this issue, I guess. Making the dialog not show up is covered elsewhere.
Updated•9 months ago
|
Description
•