QtPanGestureRecognizer and QtPinchGestureRecognizer needs only TouchBegin, TouchUpdate and TouchEnd. Sending TouchCancel event that is not handled results in an ASSERT in the gesture recognizers.
In QTouchWebPageProxy::doneWithTouchEvent, the gesture recognizers should be reset even if TouchCancel event is not handled.
Created attachment 111455 [details] patch
Comment on attachment 111455 [details] patch Fair enough :) How do you synthesize TouchCancel? As a result of window deactivation maybe?
(In reply to comment #3) > (From update of attachment 111455 [details]) > Fair enough :) > > How do you synthesize TouchCancel? As a result of window deactivation maybe? Yes, and according to W3C spec, also if there are more touch points on the touch surface than an allowed 'max'.
Can you also commit the patch please? Thanks, Dinu
Committed r99054: <http://trac.webkit.org/changeset/99054>
(In reply to comment #6) > Committed r99054: <http://trac.webkit.org/changeset/99054> Thanks Simon.