After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 758936 - Widgets within an offscreen windows are blurry on wayland with hidpi
Widgets within an offscreen windows are blurry on wayland with hidpi
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Wayland
3.19.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks: 758937
 
 
Reported: 2015-12-02 01:51 UTC by Lionel Landwerlin
Modified: 2015-12-03 21:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
x11 (92.42 KB, image/png)
2015-12-02 01:55 UTC, Lionel Landwerlin
  Details
wayland (85.60 KB, image/png)
2015-12-02 01:55 UTC, Lionel Landwerlin
  Details
gdkoffscreenwindow: use embedder to derive surfaces & scale factor (1.95 KB, patch)
2015-12-02 01:56 UTC, Lionel Landwerlin
committed Details | Review

Description Lionel Landwerlin 2015-12-02 01:51:33 UTC
See the screenshots.
Comment 1 Lionel Landwerlin 2015-12-02 01:55:19 UTC
Created attachment 316638 [details]
x11
Comment 2 Lionel Landwerlin 2015-12-02 01:55:35 UTC
Created attachment 316639 [details]
wayland
Comment 3 Lionel Landwerlin 2015-12-02 01:56:46 UTC
Created attachment 316640 [details] [review]
gdkoffscreenwindow: use embedder to derive surfaces & scale factor

In Gdk, a GdkOffscreenWindow parent has to be the root window. This is
problematic on Wayland because the root window doesn't necessary have the
right information with regard to scale factor.

This patch proposes to rely on the embedder, if available, to derive
surfaces as well as getting the scale factor.
Comment 4 Matthias Clasen 2015-12-03 18:11:40 UTC
Review of attachment 316640 [details] [review]:

Makes sense to me
Comment 5 Lionel Landwerlin 2015-12-03 21:51:09 UTC
Review of attachment 316640 [details] [review]:

Pushed to master.