WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
233137
`gestureend` event fired twice for same gesture, occasionally
https://bugs.webkit.org/show_bug.cgi?id=233137
Summary
`gestureend` event fired twice for same gesture, occasionally
Dan
Reported
2021-11-15 10:42:51 PST
Created
attachment 444274
[details]
Logger that displays wheel, touch, and gesture events Occasionally when performing a pinch & twist gestures (that produce, in turn, a scale and a rotation in the emitted gesture events), the `gestureend` event is fired twice for the same gesture. This goes against the expectation in regards to the order of gesture events (a series of `gesturechange` events bookended by exactly one `gesturestart` and exactly one `gestureend` event). It can also cause problems where the `gestureend` handler is not idempotent, and in the case of applying transformations, the handler is expected not to be. The bug is elusive, but can hopefully be caught in the attached test file (which I believe is correct, unless I'm missing something obvious). I will also attach the bug repro in video form.
Attachments
Logger that displays wheel, touch, and gesture events
(3.72 KB, text/html)
2021-11-15 10:42 PST
,
Dan
no flags
Details
Video repro
(1.51 MB, video/mp4)
2021-11-15 10:45 PST
,
Dan
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Dan
Comment 1
2021-11-15 10:45:47 PST
Created
attachment 444275
[details]
Video repro While performing a compound gesture (scale + rotate), the `gestureend` event is emitted twice.
Radar WebKit Bug Importer
Comment 2
2021-11-22 10:43:32 PST
<
rdar://problem/85680216
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug