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 685589 - Off-stage touch events are not delivered
Off-stage touch events are not delivered
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2012-10-05 22:30 UTC by Emanuele Aina
Modified: 2012-10-10 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
events: Deliver touch events that continue off stage (soft grab) (1.90 KB, patch)
2012-10-05 22:30 UTC, Emanuele Aina
committed Details | Review

Description Emanuele Aina 2012-10-05 22:30:12 UTC
When a mouse drag continues outside of the stage, motion and button press
events are still delivered to listening actors. The same doesn't currently
happen with touch events.

The patch attached adds the same behaviour to touch events.

For the sake of completeness, a similar patch was contained in Tomeu Vizoso's
original wip/touch-events branch [1], but disappeared when the branch was
merged [2] and I was unable to find why.

[1] https://mail.gnome.org/archives/commits-list/2012-June/msg00746.html
[2] http://git.gnome.org/browse/clutter/commit/?id=0ec01a2e42645b
Comment 1 Emanuele Aina 2012-10-05 22:30:15 UTC
Created attachment 225904 [details] [review]
events: Deliver touch events that continue off stage (soft grab)

If a button press happen on stage and the pointer is moved outside
the stage while holding the mouse button, the motion and release
events are still delivered to actors. Do the same X11 soft grab
emulation for touch events.
Comment 2 Emmanuele Bassi (:ebassi) 2012-10-10 14:20:08 UTC
Review of attachment 225904 [details] [review]:

I wonder how this interacts with system gestures on the compositor. on the other hand, it's consistent with pointer events, so it should be okay.

please, push to master - we can test it a bit, before cherry-picking to clutter-1.12.
Comment 3 Emanuele Aina 2012-10-10 18:40:01 UTC
Attachment 225904 [details] pushed as 318d0d5 - events: Deliver touch events that continue off stage (soft grab)