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 793618 - gdk_monitor_get_geometry should take WL_OUTPUT_TRANSFORM_* into account
gdk_monitor_get_geometry should take WL_OUTPUT_TRANSFORM_* into account
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Backend: Wayland
3.93.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2018-02-19 21:36 UTC by Guido Günther
Modified: 2018-05-02 19:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Guido Günther 2018-02-19 21:36:00 UTC
I wonder if when a compositor applies WL_OUTPUT_TRANSFORM_90 or WL_OUTPUT_TRANSFORM_270 the geometry returned by gdk_monitor_get_geometry/gdk_monitor_get_work_area should be swapped as well? 

Otherwise an application that wants to figure out the usable area will get width and height reversed since gdk-display.c:output_handle_geometry does not take the transform into account at all. I can cook up a patch but maybe this is on purpose?
Comment 1 GNOME Infrastructure Team 2018-05-02 19:53:05 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/1035.