[Webkit-unassigned] [Bug 261674] New: [GTK4] NativeWebWheelEvent crashes on wheel event tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 18 04:57:57 PDT 2023


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

            Bug ID: 261674
           Summary: [GTK4] NativeWebWheelEvent crashes on wheel event
                    tests
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: csaavedra at igalia.com
                CC: bugs-noreply at webkitgtk.org

In the gtk4 port, at least these tests are crashing due to a GdkEvent not being such:

fast/scrolling/scroll-select-list.html
fast/scrolling/gtk/user-scroll-snapping-interaction.html
fast/scrolling/gtk/repeated-mouse-wheel-smooth.html
fast/repaint/overflow-auto-in-overflow-auto-scrolled.html
fast/forms/search/search-scroll-hidden-decoration-container-crash.html
fast/events/wheel/wheelevent-in-horizontal-scrollbar-in-rtl.html
fast/events/wheel/wheelevent-basic.html
fast/events/wheel/wheel-event-outside-body.html
fast/events/wheel/wheel-event-destroys-frame.html
fast/events/wheel/continuous-platform-wheelevent-in-scrolling-div.html
fast/events/remove-child-onscroll.html

The common stacktrace:

#0  g_logv (log_domain=0x7f6df60f0917 "Gdk", log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=<optimized out>) at ../glib/gmessages.c:1422
#1  0x00007f6dff93bc53 in g_log (log_domain=log_domain at entry=0x7f6df60f0917 "Gdk", log_level=log_level at entry=G_LOG_LEVEL_CRITICAL, format=format at entry=0x7f6dff99fff7 "%s: assertion '%s' failed") at ../glib/gmessages.c:1460
#2  0x00007f6dff93ce6d in g_return_if_fail_warning (log_domain=log_domain at entry=0x7f6df60f0917 "Gdk", pretty_function=pretty_function at entry=0x7f6df60f67a0 <__func__.57> "gdk_event_get_modifier_state", expression=expression at entry=0x7f6df60f55df "GDK_IS_EVENT (event)") at ../glib/gmessages.c:2930
#3  0x00007f6df5fd0122 in gdk_event_get_modifier_state (event=<optimized out>) at ../gdk/gdkevents.c:1362
#4  0x00007f6dfc316bdf in WebKit::NativeWebWheelEvent::NativeWebWheelEvent(_GdkEvent*, WebCore::IntPoint const&, WebCore::IntPoint const&, WebCore::FloatSize const&, WebCore::FloatSize const&, WebKit::WebWheelEvent::Phase, WebKit::WebWheelEvent::Phase, bool) () at /app/webkit/WebKitBuild/Release/lib/libwebkitgtk-6.0.so.4
#5  0x00007f6dfc4df716 in webkitWebViewBaseSynthesizeWheelEvent(_WebKitWebViewBase*, double, double, int, int, WheelEventPhase, WheelEventPhase, bool) () at /app/webkit/WebKitBuild/Release/lib/libwebkitgtk-6.0.so.4
#6  0x0000556da20b9120 in WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle(OpaqueWKString const*, void const*, OpaqueWKMessageListener const*) ()

Looks like some #ifdef'ing is missing for the GTK4 port, as GdkEvent usage has changed since GTK3. I'll look into it.

-- 
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/20230918/8dcef7dd/attachment-0001.htm>


More information about the webkit-unassigned mailing list