[Webkit-unassigned] [Bug 203237] Pinch zoom fires mouse click event with wrong evt.buttons state

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 22 01:55:03 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=203237

--- Comment #3 from Sebastian Müller <seb.p.mueller at gmail.com> ---
If you really need to send artificial mouse events after a pinch gesture (which I would vote against), it should follow some common standard. 
Not all user agents do this, and if they do (and developers can't disable these events or distinguish real events from synthetic events), they would need to be at least consistent, i.e. if a button is reported to be pressed down, the "buttons" field should reflect that state. 
And it should happen either always or never. Right now it only happens if you manage to lift your two fingers at pretty much *exactly* the same millisecond, so it's hard to reproduce consistently for some people. The fact that this only happens sporadically from a user's point of view, clearly indicates to me that this is a bug in the browser, and I think I haven't seen this problem in older versions of Safari (11?), so this is a regression that breaks JS code in some websites and apps (like mine) where after a pinch, sometimes a (mouse-) action gets triggered, erroneously.

Until this gets fixed, is there a way to unambiguously classify these mouse events as synthetic events so that developers can filter these bogus events?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191022/f658b249/attachment-0001.html>


More information about the webkit-unassigned mailing list