Bug 290758

Summary: REGRESSION(281169@main): [WPE] onclick events don't work when using the mouse
Product: WebKit Reporter: daniel
Component: WPE WebKitAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Major CC: bugs-noreply, cgarcia, gebausim, mcatanzaro, webkit-bug-importer
Priority: P2    
Version: WebKit Local Build   
Hardware: Other   
OS: Linux   
Attachments:
Description Flags
Screencast showing cog opening youtube, unable to get past the cookie banner due to onclick events not triggering none

daniel
Reported 2025-03-31 06:53:04 PDT
Created attachment 474769 [details] Screencast showing cog opening youtube, unable to get past the cookie banner due to onclick events not triggering When using WPEWebKit cog browser on Wayland/Linux onclick events don't fire when using the mouse. All events work fine when using a touchscreen instead. Also `<a>` always links work fine. I've tried WPEWebKit 2.46.x as well as 2.47.x, up to the lastest versions. The issue can easily be reproduced by installing `cog` on Archlinux (x86/64), but is also present when building all components from source. See attached video for illustration. As you can see, onclick events for "Reject all" or "Accept all" don't work, while the subsequent click on the "More options" <a>-link does work. onmousedown and onmouseup work just fine. All works just fine when using a touchscreen instead of the mouse
Attachments
Screencast showing cog opening youtube, unable to get past the cookie banner due to onclick events not triggering (649.79 KB, video/mp4)
2025-03-31 06:53 PDT, daniel
no flags
gebausim
Comment 1 2025-05-22 03:59:59 PDT
I have encountered this as well, latest working version is WPEWebKit 2.44.x. I traced the issue to commit https://github.com/WebKit/WebKit/commit/62f87d3a9254d50d77d0feefab835c422c55e7eb.
gebausim
Comment 2 2025-05-26 01:35:27 PDT
I have done a bit more testing and this the issue is only present in Cog with the wayland backend. Gtk backend and MiniBrowser work fine.
Carlos Garcia Campos
Comment 3 2025-05-29 00:33:36 PDT
*** This bug has been marked as a duplicate of bug 288477 ***
Note You need to log in before you can comment on or make changes to this bug.