[GTK] Wrong initial scaling factor with two monitors
https://bugs.webkit.org/show_bug.cgi?id=282595
Summary [GTK] Wrong initial scaling factor with two monitors
Adrian Perez
Reported 2024-11-05 04:43:31 PST
This can be reproduced with a Wayland session with two screens configured, with a different scaling factor each, for example 1x and 2x... assuming that one does not run into bug #277684 -- so it's somewhat easier for me to reproduce with 2.46.x, but I have seen it happen in ToT. Opening new view view (or tabs in Epiphany/MiniBrowser) with the browser window in the screen with 2x scaling, sometimes the web view will use 1x scaling resulting in blurry rendering. Moving the browser window to the other monitor with the 1x scaling and then back to the one with 2x scaling then WebKit notices the monitor change just fine and the rendering is correct (in both monitors). This makes me think that the issue is related to the initial configuration of the web view, that is picking the scaling from the wrong monitor, but subsequent monitor changes work fine.
Attachments
Note You need to log in before you can comment on or make changes to this bug.