WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
214865
[WPE] Make Touchpoint ID unique
https://bugs.webkit.org/show_bug.cgi?id=214865
Summary
[WPE] Make Touchpoint ID unique
Marco Felsch
Reported
2020-07-28 01:45:49 PDT
[WPE] Make Touchpoint ID unique
Attachments
Patch
(3.16 KB, patch)
2020-07-28 02:29 PDT
,
Marco Felsch
m.felsch
: review?
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Marco Felsch
Comment 1
2020-07-28 02:29:00 PDT
Created
attachment 405347
[details]
Patch
Zan Dobersek
Comment 2
2020-09-08 01:05:39 PDT
Comment on
attachment 405347
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=405347&action=review
> Source/WebKit/ChangeLog:13 > + The web uses a unique touch point id. A few touch controllers reporting > + a unique ID by ABS_MT_TRACKING_ID [1] but libinput and the wayland-protocol > + don't take this information into account. Fix this within webkit to be > + independent of libinput, the wayland-protocol and a wayland-compositor.
Can you please elaborate in more detail what failures in the libinput/wayland infrastructure this change tries to work around?
Marco Felsch
Comment 3
2020-09-30 23:03:01 PDT
Comment on
attachment 405347
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=405347&action=review
>> Source/WebKit/ChangeLog:13 >> + independent of libinput, the wayland-protocol and a wayland-compositor. > > Can you please elaborate in more detail what failures in the libinput/wayland infrastructure this change tries to work around?
As I wrote a few input event devices delivering a unique ID but this gets ignored by libinput and isn't covered by the wayland-protocol at all. Currently we are using the non unique touchpoint number to fill the web.touchpointID event. This is forbidden by the Spec if I got it correctly. You can see the different behavior if you call your test page:
https://people.igalia.com/clopez/wkbug/pointer-events/test.html
on an iOS-Port Safari browser or on an WPE-Port cog (embedded device with touch is required).
Marco Felsch
Comment 4
2021-03-30 01:49:35 PDT
Ping
Bastian Krause
Comment 5
2023-02-03 05:41:55 PST
Updated version of the patch:
https://github.com/WebKit/WebKit/pull/9599
EWS
Comment 6
2023-04-21 06:28:35 PDT
Committed
263237@main
(057b735cbf91): <
https://commits.webkit.org/263237@main
> Reviewed commits have been landed. Closing PR #9599 and removing active labels.
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