Bug 219202 - Transient quarter display with a HiDPI /4k screen and a 200% scaling
Summary: Transient quarter display with a HiDPI /4k screen and a 200% scaling
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 226320
  Show dependency treegraph
 
Reported: 2020-11-20 06:20 PST by Frédéric Parrenin
Modified: 2021-05-27 03:02 PDT (History)
17 users (show)

See Also:


Attachments
Patch (23.10 KB, patch)
2021-05-26 09:34 PDT, Alice Mikhaylenko
no flags Details | Formatted Diff | Diff
Patch (2.26 KB, patch)
2021-05-26 09:36 PDT, Alice Mikhaylenko
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Parrenin 2020-11-20 06:20:30 PST
I use epiphany on debian/bullseye XPS13 laptop with a 4k screen.
In gnome, I set the scaling to 200% so that everything does not appear too small.
In epiphany, I sometimes get a transient display where the webpage is displayed on the top-left quarter of the window.
Then, after a fraction of a second, the webpage is scaled to the entire window.
So, I was wondering if this is due to the scaling and if it would possible to scale the display earlier in the process.
Comment 1 Alice Mikhaylenko 2021-05-26 09:34:25 PDT
Created attachment 429764 [details]
Patch

No idea if this is correct, but it works.
Comment 2 EWS Watchlist 2021-05-26 09:35:39 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See https://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment 3 Alice Mikhaylenko 2021-05-26 09:36:40 PDT
Created attachment 429766 [details]
Patch

Erm, looks like I've attached a patch for a different bug somehow.
Comment 4 Adrian Perez 2021-05-27 01:11:15 PDT
Patch LGTM, but I am going to try and get someone more knowledgeable
with graphics to take a quick look :)
Comment 5 Miguel Gomez 2021-05-27 01:25:24 PDT
LGTM
Comment 6 Adrian Perez 2021-05-27 02:33:48 PDT
(In reply to Miguel Gomez from comment #5)
> LGTM

Thanks for confirming, let's land it \o/
Comment 7 EWS 2021-05-27 02:36:35 PDT
Committed r278156 (238200@main): <https://commits.webkit.org/238200@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 429766 [details].