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 788497 - GdkMonitor geometry & workarea are not returned in application pixels with GDK_BACKEND=wayland
GdkMonitor geometry & workarea are not returned in application pixels with GD...
Status: RESOLVED DUPLICATE of bug 783995
Product: gtk+
Classification: Platform
Component: Backend: Wayland
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2017-10-04 08:29 UTC by Robin Burchell
Modified: 2017-10-04 16:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GtkMonitor: Fix geometry and workarea geometry on high DPI screens on Wayland (3.10 KB, patch)
2017-10-04 08:29 UTC, Robin Burchell
none Details | Review

Description Robin Burchell 2017-10-04 08:29:38 UTC
Created attachment 360895 [details] [review]
GtkMonitor: Fix geometry and workarea geometry on high DPI screens on Wayland

See attached patch (based off gtk-3-22 branch). I haven't yet tested this (busy with dayjob stuff), but I stumbled across this when working on gtkplatform. GDK_BACKEND=x11 reports correct values. I'm quite certain that this is a valid bug regardless of the correctness of my fix, so figured I'd file it while I still remember that it's a problem.

I'd really like this to be fixed in a 3.x release if possible.
Comment 1 Olivier Fourdan 2017-10-04 13:12:15 UTC
Reminds me of bug 783995
Comment 2 Robin Burchell 2017-10-04 16:11:58 UTC
Yeah, I suppose it's fine to handle it there then.

*** This bug has been marked as a duplicate of bug 783995 ***