Closed Bug 1622548 Opened 6 years ago Closed 6 years ago

4k monitors on linux not using per-screen DPI settings to scale UI

Categories

(Core :: Widget: Gtk, defect)

74 Branch
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: monteiro, Unassigned)

Details

Attachments

(1 file)

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

Steps to reproduce:

I have tried two 4k monitors of different sizes with firefox and it doesn't scale depending with the DPI and the new zoom option doesn't zoom the UI so instead of editing layout.css.devPixelsPerPx in about:config just add that option to the preferences.

Actual results:

Firefox doesn't scale the UI on high DPI monitors.

Expected results:

Firefox should scale or adapt zoom level on the preferences to use layout.css.devPixelsPerPx

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Preferences

(In reply to monterro from comment #0)

I have tried two 4k monitors of different sizes with firefox and it doesn't scale depending with the DPI and the new zoom option doesn't zoom the UI so instead of editing layout.css.devPixelsPerPx in about:config just add that option to the preferences.

No, this is the wrong solution. This shouldn't be a checkbox or a thing users have to adjust manually, Firefox should just do the right thing and scale using whatever per-screen DPI is configured in the OS. It already does this on Windows and mac and supports per-window DPI (so if you have one window on a hidpi laptop and one on a lodpi external screen, we use the correct (different) DPI for both windows).

If it's not working on Linux, something is wrong in the widget/layout pipeline on that platform.

Component: Preferences → Widget: Gtk
Product: Firefox → Core
Summary: Add a check box to change default zoom to use layout.css.devPixelsPerPx → 4k monitors on linux not using per-screen DPI settings to scale UI
Attached image Screenshot.png

I'm not using scaling on the desktop, I find the desktop fine as it is, the same cannot be said about Firefox and I require a scaling of 2 to use it.

(In reply to :Gijs (he/him) from comment #2)

I've tested the desktop scale and firefox does scale with the desktop setting, sorry about the information was not completely correct, so here what I am asking is an option to manually scale all in the preferences using layout.css.devPixelsPerPx

Going to close this and continue to use layout.css.devPixelsPerPx

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: