Closed Bug 1769214 Opened 3 years ago Closed 3 years ago

Downloading an "Open with Firefox" file (PDF, WEBP, …) via Gmail opens it instead

Categories

(Firefox :: File Handling, defect)

Firefox 100
defect

Tracking

()

RESOLVED DUPLICATE of bug 1772569

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:

  1. Create a new Firefox profile on macOS.
  2. (Optional) Set Firefox to "Always ask you where to save files" (Preferences/Options -> General -> Files and Applications -> Downloads).
  3. 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).
  4. 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.

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.

Component: Untriaged → File Handling

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...).

Flags: needinfo?(rtestard)
See Also: → 1769282

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. :-(

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Flags: needinfo?(rtestard)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.