[Webkit-unassigned] [Bug 238327] [GTK] Scrollbar jumps to top when drag released outside window

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 18 14:26:44 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=238327

Michael Catanzaro <mcatanzaro at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexm at gnome.org

--- Comment #3 from Michael Catanzaro <mcatanzaro at redhat.com> ---
So with GTK 3, this problem is handled by webkitWebViewBaseCrossingNotifyEvent. We need to do something like that for GTK 4. But GtkEventControllerMotion is designed to make this difficult. It's not going to give us coordinates we can use, and there is no current event to get them from.

We might need to fake it somehow by starting with the coordinates from the last event before the leave event, and adjusting them to be just outside the web view's allocation. Opinions welcome.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230518/ff2ff267/attachment.htm>


More information about the webkit-unassigned mailing list