[Webkit-unassigned] [Bug 88070] New: [Gtk] Process Gtk 3.4 smooth scroll events properly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 1 03:19:15 PDT 2012


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

           Summary: [Gtk] Process Gtk 3.4 smooth scroll events properly
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jdapena at igalia.com


Gtk 3.4 (3.3.18) has introduced a new direction for GtkEventScroll, GTK_SCROLL_SMOOTH. This direction allows to get more precise indication of the wheel scroll requested from input, using gdk_event_get_scroll_deltas.

We are getting the event both in WebKit1 and WebKit2.

On WebKit2, WebEventFactory::createWebWheelEvent will crash as we assert if the direction is not up/down/left/right. On WebKit1 we silently ignore the event as we won't get a delta for an unknown direction.

The solution is not simply adding the case for smooth scroll. For many case we get both smooth and standard scroll direction events, so we have to avoid processing one scroll event two times.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list