Bug 212593

Summary: [GTK4] Wheel events are always handled by the main frame view
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: aperez, berto, bugs-noreply, ews-watchlist, gustavo
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=211045
Bug Depends on: 212592    
Bug Blocks: 210100    
Attachments:
Description Flags
Patch aperez: review+

Description Carlos Garcia Campos 2020-06-01 05:02:44 PDT
It's not possible scroll other scrollable areas with the mouse wheel. This is because we are using the given x, y delta in the scroll signal as the position. In GTK4 the scroll event doesn't include a position, so we have to use the last motion event.
Comment 1 Carlos Garcia Campos 2020-06-01 05:06:28 PDT
Created attachment 400730 [details]
Patch
Comment 2 EWS Watchlist 2020-06-01 05:07:01 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment 3 Carlos Garcia Campos 2020-06-01 05:55:57 PDT
Committed r262374: <https://trac.webkit.org/changeset/262374>