GNOME Bugzilla – Bug 730815
Mouse events limited to upper left rectangle
Last modified: 2015-01-09 11:44:14 UTC
Created attachment 277284 [details] Python 3 example Fullscreen clutter application are unresponsive outside of uper left part of the screen (about quarter). The problem occurs often, but not always. Attached script creates stage with 8 actors which change color on mouse move. In fullscreen mode often only half of actors can be highlighted.
Do you have a HIDPI monitor? I can reproduce this with CLUTTER_SCALE=2 but not without. I am seeing similar issues in champlain, where we can't pan the map in the lower right quadrant. And I see that when I check the event->x/event->y I get max half the width and height. See bug: https://bugzilla.gnome.org/show_bug.cgi?id=733826
Although I removed the call to fullscreen before I reproduced it.
Created attachment 294153 [details] [review] device-manager-xi2: Fix scaling of coordinates Do not CLAMP to width/height before applying the scale factor we will lose all information we need to scale properly.
The above patch fixes the issue in Maps for me, when using GDK_SCALE=2 and CLUTTER_SCALE=2
Review of attachment 294153 [details] [review]: nice catch.
*** Bug 733826 has been marked as a duplicate of this bug. ***
Comment on attachment 294153 [details] [review] device-manager-xi2: Fix scaling of coordinates Pushed.