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 730815 - Mouse events limited to upper left rectangle
Mouse events limited to upper left rectangle
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: general
1.18.x
Other Linux
: Normal major
: ---
Assigned To: clutter-maint
clutter-maint
: 733826 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-05-27 12:03 UTC by Piotr Iwaniuk
Modified: 2015-01-09 11:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Python 3 example (742 bytes, text/x-python)
2014-05-27 12:03 UTC, Piotr Iwaniuk
  Details
device-manager-xi2: Fix scaling of coordinates (1.14 KB, patch)
2015-01-09 11:38 UTC, Jonas Danielsson
committed Details | Review

Description Piotr Iwaniuk 2014-05-27 12:03:38 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.
Comment 1 Jonas Danielsson 2015-01-09 08:08:43 UTC
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
Comment 2 Jonas Danielsson 2015-01-09 08:09:17 UTC
Although I removed the call to fullscreen before I reproduced it.
Comment 3 Jonas Danielsson 2015-01-09 11:38:32 UTC
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.
Comment 4 Jonas Danielsson 2015-01-09 11:39:01 UTC
The above patch fixes the issue in Maps for me, when using GDK_SCALE=2 and CLUTTER_SCALE=2
Comment 5 Emmanuele Bassi (:ebassi) 2015-01-09 11:40:55 UTC
Review of attachment 294153 [details] [review]:

nice catch.
Comment 6 Jonas Danielsson 2015-01-09 11:42:11 UTC
*** Bug 733826 has been marked as a duplicate of this bug. ***
Comment 7 Jonas Danielsson 2015-01-09 11:43:57 UTC
Comment on attachment 294153 [details] [review]
device-manager-xi2: Fix scaling of coordinates

Pushed.