Downloading an "Open with Firefox" file (PDF, WEBP, …) via Gmail opens it instead
Categories
(Firefox :: File Handling, defect)
Tracking
()
People
(Reporter: gonhidi, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Firefox/100.0
Steps to reproduce:
- Create a new Firefox profile on macOS.
- (Optional) Set Firefox to "Always ask you where to save files" (Preferences/Options -> General -> Files and Applications -> Downloads).
- Open Gmail and choose a mail with an attachment that Firefox is set to "Open with Firefox" (e.g. a PDF of WEBP, as can be seen in Preferences/Options -> General -> Files and Applications -> Applications).
- Click on the "Download" button.
Actual results:
The file was downloaded to a default location and opened in a new tab.
Expected results:
The file should have just been been saved (to the default save location or to one chosen via a save dialogue) and not have been opened in the browser: it should have been handled the same way that other attachments are, including those which the browser natively displays such as PNG, JPEG or HTML files.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::File Handling' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•3 years ago
|
||
Literally hundreds of people complained about the previous behaviour - see bug 453455 and all the duplicates. They wanted a consistent behaviour per-filetype. Now we've done that, and of course people are unhappy about the opposite - that we don't treat files sent with Content-Disposition: attachment or <a download> as "special" anymore.
Romain, flagging this up to you (see also discussion on slack...).
Comment 3•3 years ago
|
||
Gah, I spent ages looking for this bug and couldn't find it - now I've moved discussion to the new bug so I guess I'll dupe forward. :-(
Description
•