Open Bug 1778785 Opened 3 years ago Updated 2 years ago

Allow setting different default zoom values for images and websites

Categories

(Core :: Layout: Images, Video, and HTML Frames, enhancement)

Firefox 102
enhancement

Tracking

()

People

(Reporter: arnfranke, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0

Steps to reproduce:

(I've confirmed that this happens on both Ubuntu and macOS, it probably happens on Windows too)

  1. Have a high DPI system
  2. Open an image
  3. Click on the image to let it expand to "native resolution"

Actual results:

When the system is set to 200% scaling, what Firefox calls 100% scaling is actually 200% scaling. This behavior is fine for websites. However, if I click on an image to zoom in on it, I want to view it at native resolution. Instead, Firefox displays the image at 2x native resolution. I have to zoom out to 50% in order to have the image displayed at true native resolution.

Expected results:

What I expect is that, while 100% on a website is fine to be really 200%, I want the default zoom when clicking on an image to always be really 100%. Meaning, if I'm on a 4K monitor at 200% scaling and I click to zoom in on a 3600px wide image, it should roughly fill the screen, instead of being so big I can only display half the width of the image.

Here is a test image that is 3600px wide, the expected result is that clicking to expand will cause it to be really 3600px wide on my screen, so not quite filling the full 3840px width. The current result is that it's wider than the screen. https://d.furaffinity.net/art/aaronfranke/1653408822/1653408808.aaronfranke_aaron-computer-ciraus.jpg

This enhancement could either be in the form of a checkbox to display the native resolution for images, or maybe a separate zoom dropdown similar to the "Default zoom" option in Firefox Settings.

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

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Thank you for submitting this enhancement. I'll set this to NEW and waiting for the developer's opinion about it.
If this is not the correct component, please feel free to change it to a more appropriate one.

Status: UNCONFIRMED → NEW
Component: Widget: Gtk → Panning and Zooming
Ever confirmed: true
Component: Panning and Zooming → Layout: Images, Video, and HTML Frames

This issue is still relevant. I frequently have to work around this problem by zooming out of images to 50% to make them display at native resolution. This really shouldn't be necessary, it should be native resolution by default, or there should be a browser setting to change this.

You need to log in before you can comment on or make changes to this bug.