Bug 212593 - [GTK4] Wheel events are always handled by the main frame view
Summary: [GTK4] Wheel events are always handled by the main frame view
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 212592
Blocks: GTK4
  Show dependency treegraph
 
Reported: 2020-06-01 05:02 PDT by Carlos Garcia Campos
Modified: 2020-06-01 05:55 PDT (History)
5 users (show)

See Also:


Attachments
Patch (7.13 KB, patch)
2020-06-01 05:06 PDT, Carlos Garcia Campos
aperez: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>