Closed Bug 1851559 Opened 2 years ago Closed 2 years ago

[X11] Firefox does not change ratio automatically with changing the position in different displays

Categories

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

Firefox 117
enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1752398

People

(Reporter: mhmhkashi, Unassigned)

Details

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

Steps to reproduce:

In Ubuntu, Use two display screens. Set the different ratios for each of them(for example one 100% and the other 200%)
The Fractional Scaling should be off

Actual results:

Firefox follows the ratio of the default monitor regardless of which display is in.

Expected results:

Almost all applications in Ubuntu, with changing the display follow the ratio of the display that currently they are in.

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

You need Wayland backend for it. Ubuntu uses X11 by default which doesn't support per-monitor scale settings. Run Firefox with MOZ_ENABLE_WAYLAND=1 env variable.

Priority: -- → P3
Summary: Firefox does not change ratio automatically with changing the position in different displays → [X11] Firefox does not change ratio automatically with changing the position in different displays

Thanks for the solution. The problem was solved by adding this environment variable.
Maybe the answer to my question sounds obvious to you, but is there any concrete reason that Firefox does not use XDG_SESSION_TYPE for detecting this?

Wayland backed is not enabled by default yet because of missing testing - Bug 1752398

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: wayland-stable
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.