Bug 282595
Summary: | [GTK] Wrong initial scaling factor with two monitors | ||
---|---|---|---|
Product: | WebKit | Reporter: | Adrian Perez <aperez> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | bugs-noreply |
Priority: | P2 | ||
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=277684 |
Adrian Perez
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |