Closed Bug 1765020 Opened 2 years ago Closed 2 months ago

UI scale per monitor no longer working in Ubuntu

Categories

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

Firefox 99
x86_64
Linux
defect

Tracking

()

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

People

(Reporter: trinket.github, Unassigned)

References

(Blocks 2 open bugs)

Details

(Keywords: regression)

Attachments

(3 files)

Attached image display-settings.png

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
Flags: needinfo?(trinket.github)

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

See Also: → 1767231
Blocks: snap
Keywords: regression
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
See Also: → 1766862
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
Blocks: snap-wayland
Blocks: snap-xwayland
No longer blocks: snap-wayland

Firefox is now defaulting to Wayland on release since 121. As this bug is a limitation of XWayland, we cannot fix it.

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

Attachment

General

Created:
Updated:
Size: