Open Bug 1765020 Opened 3 years ago Updated 2 years ago

UI scale per monitor no longer working in Ubuntu

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 99
x86_64
Linux
defect

Tracking

()

Tracking Status
firefox-esr102 --- fix-optional
firefox99 --- wontfix
firefox100 --- wontfix
firefox101 --- wontfix
firefox102 --- wontfix
firefox103 --- wontfix

People

(Reporter: trinket.github, Unassigned)

References

(Depends on 1 open bug, Blocks 2 open bugs)

Details

(Keywords: regression)

Attachments

(3 files)

Attached image display-settings.png (deleted) —

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

Steps to reproduce:

  • On Ubuntu 21.10, set one monitor to 100% scale and another to 200% scale (as in the attached screenshot)
  • Ensure layout.css.devPixelsPerPx is at -1.0 (the default) in about:config

Actual results:

Firefox windows stay at 1× scale regardless of which monitor they're on

Expected results:

Each window should switch between 1× on my 1080p monitor and 2× on my 2160p monitor when I drag it from one to the other. This worked until a few days ago; I'm not sure whether Firefox may have updated in the background.

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

Please attach your about:support.
Thanks.

Flags: needinfo?(trinket.github)
Priority: -- → P3
Attached file about:support for my default profile (deleted) —
Flags: needinfo?(trinket.github)

This is due to ubuntu going back to XWayland rather than Wayland in their snaps.

Blocks: snap
Keywords: regression
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Status: UNCONFIRMED → NEW
Ever confirmed: true
Depends on: wayland-stable

If I read https://gitlab.freedesktop.org/xorg/xserver/-/issues/1318 correctly, this is just a side effect of using XWayland and upstream has no fix yet. I dont see what we can do more there.

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

Attachment

General

Created:
Updated:
Size: