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 750496 - Touch events not correctly propagated through gdk backend
Touch events not correctly propagated through gdk backend
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: gdk
1.20.x
Other Linux
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2015-06-06 18:43 UTC by Carlos Garnacho
Modified: 2015-06-11 14:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gdk: Ignore synthesized leave events out of touch events (1.54 KB, patch)
2015-06-06 18:43 UTC, Carlos Garnacho
committed Details | Review
gdk: Enable GDK_TOUCH_MASK on the stage window (870 bytes, patch)
2015-06-06 18:43 UTC, Carlos Garnacho
committed Details | Review

Description Carlos Garnacho 2015-06-06 18:43:07 UTC
The GDK backend seems mostly prepared to handle touch events, I found a couple of buglets that didn't make them work fully alright though. Attaching patches for these.
Comment 1 Carlos Garnacho 2015-06-06 18:43:42 UTC
Created attachment 304704 [details] [review]
gdk: Ignore synthesized leave events out of touch events

Certain crossing modes notify about synthesized events, where
the pointer didn't really leave the window. Unsetting the stage
from the device at that time is incorrect, and will leave all
remaining touches unable to pick coordinates, so silently eaten
away.
Comment 2 Carlos Garnacho 2015-06-06 18:43:47 UTC
Created attachment 304705 [details] [review]
gdk: Enable GDK_TOUCH_MASK on the stage window

This allows touch events to be received and translated.
Comment 3 Emmanuele Bassi (:ebassi) 2015-06-11 14:06:04 UTC
Review of attachment 304704 [details] [review]:

Okay.
Comment 4 Emmanuele Bassi (:ebassi) 2015-06-11 14:06:21 UTC
Review of attachment 304705 [details] [review]:

Okay.
Comment 5 Emmanuele Bassi (:ebassi) 2015-06-11 14:08:12 UTC
Attachment 304704 [details] pushed as 7ed3714 - gdk: Ignore synthesized leave events out of touch events
Attachment 304705 [details] pushed as 2105055 - gdk: Enable GDK_TOUCH_MASK on the stage window