Created attachment 470180 [details] Showcase Propably the best way to showcase this is via https://people.igalia.com/clopez/wkbug/pointer-events/paint.html page (as shown in the attached screenshot). Reproduced by simultaneously doing the snake move with one finger on the right and multiple lines with the other hand. What is expected is the first touch not to be influenced by the other ones and remain the same color/id (red) all the way. Same issue can also be observed in https://patrickhlauke.github.io/touch/tracker/multi-touch-tracker-index.html page. Where the identifier numbers rapidly change between all the currently active touch ids. Happens since: https://github.com/WebKit/WebKit/commit/84e4a4ae1e8936da66c30862be411246417d44fd The effects of this are that any javascript pan or zoom gestures don't work properly, can be tested on https://elmarquis.github.io/Leaflet.GestureHandling/examples/. Zooming on the map is just very funky.
Actually https://github.com/WebKit/WebKit/commit/057b735cbf912f620273106541f2196191c5aa53 seems to be the cause as simply reverting this fixes the issues with maps etc.
(In reply to gebausim from comment #1) > Actually > https://github.com/WebKit/WebKit/commit/ > 057b735cbf912f620273106541f2196191c5aa53 seems to be the cause as simply > reverting this fixes the issues with maps etc. I see you have added the “[Gtk]” tag in the bug summary, but this commit only affects WPE. Can you confirm that the regression affects the WPE port? Or does it also affect the GTK port (so: both affected) but reverting that commit fixes WPE (and GTK still would have issues)? At any rate, thanks for the bug report and the investigation to find the possible cause.
(In reply to Adrian Perez from comment #2) > (In reply to gebausim from comment #1) > > Actually > > https://github.com/WebKit/WebKit/commit/ > > 057b735cbf912f620273106541f2196191c5aa53 seems to be the cause as simply > > reverting this fixes the issues with maps etc. > > I see you have added the “[Gtk]” tag in the bug summary, but this commit > only affects WPE. Can you confirm that the regression affects the WPE port? > Or does it also affect the GTK port (so: both affected) but reverting that > commit fixes WPE (and GTK still would have issues)? > > At any rate, thanks for the bug report and the investigation to find the > possible cause. Someone else added the added the GTK tag, Initially I was testing WPE only. I compiled the latest WPEWebKit from main(8603570132a8) and the issue is still there and also cog constantly keeps crashing on touch_on_up assert. I tried Epiphany and it's also broken although in a different way. On https://elmarquis.github.io/Leaflet.GestureHandling/examples/ zooming on the map without mouse is impossible. I can't get https://people.igalia.com/clopez/wkbug/pointer-events/paint.html to work at all, but on https://touchscreentest.com/ the issue with one touch color influencing other can be seen. Reverting the commit does fix the issues, but also restores the touch IDs starting from 0 with every new touch group, not sure if any websites rely on the proper behavior. I could not find any that it would break.
Great, thanks for confirming. I have also added the [WPE] tag accordingly.
To add a bit more info on the GTK side, I compiled WebKitGTK main(8603570132a8) and reverting the offending commit does nothing. Same odd behavior as in my systems Epiphany.
(In reply to gebausim from comment #5) > To add a bit more info on the GTK side, I compiled WebKitGTK > main(8603570132a8) and reverting the offending commit does nothing. Same odd > behavior as in my systems Epiphany. That's what I would expect, given that the patch that caused the regression for WPE (263969@main) does not touch anything used by the GTK port. Probably the issue with GTK is a different one that has similar symptoms. Thanks for commenting!
Pull request: https://github.com/WebKit/WebKit/pull/30926