Open Bug 2011190 Opened 7 days ago Updated 4 days ago

open image in new tab downloads instead

Categories

(Firefox :: File Handling, defect)

Firefox 147
defect

Tracking

()

UNCONFIRMED

People

(Reporter: david.balazic, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:147.0) Gecko/20100101 Firefox/147.0

Steps to reproduce:

  • Open a web page with images
  • right click and image and select "Open Image in New Tab"

Actual results:

image file is downloaded

Expected results:

image is opened in new tab

I suspect this is due the the Content-Disposition header that the image URL sends.

But even so, if the "command" is to open the image in a new tab, then that is what the browser should do.

The Bugbug bot thinks this bug should belong to the 'Firefox::Tabbed Browser' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Tabbed Browser

Hi David,
I tried to reproduce this issue using Firefox 147.0 (2026-01-06) and Firefox 149.0a1 (2026-01-19) on macOS 15 and Windows 10 by following the steps in the description, but I was not able to do so. When I select “Open Image in New Tab” from the context menu, the image opens in a new tab as expected, and no download starts.
Are there any additional steps, settings, or details that I might be missing? Is this still reproducible with a clean profile?

Thank you!

Flags: needinfo?(david.balazic)

I tried to find public web sites with such examples but could not.
Does Mozilla have some test server where test pages cab be set up?

Flags: needinfo?(david.balazic)
Component: Tabbed Browser → File Handling
You need to log in before you can comment on or make changes to this bug.