Bug 142517

Summary: Assertion in ScrollController::processWheelEventForScrollSnapOnAxis when scrolling with mechanical wheel mouse
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: Layout and RenderingAssignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch simon.fraser: review+

Brent Fulgham
Reported 2015-03-09 17:32:50 PDT
In Bug 141973 (<https://trac.webkit.org/changeset/180987>) I introduced a regression for mechanical wheel mice users. After my change, WebKit always creates a snap scroll animation state context, which triggers new scroll snap point logic when processing wheel events. If you work with a mechanical wheel mouse, the scroll snap point handler does not understand the gesture (since mechanical mice only produce "stateless" wheel events), and complains via an assertion.
Attachments
Patch (1.96 KB, patch)
2015-03-09 17:38 PDT, Brent Fulgham
no flags
Patch (3.29 KB, patch)
2015-03-09 17:47 PDT, Brent Fulgham
simon.fraser: review+
Brent Fulgham
Comment 1 2015-03-09 17:33:17 PDT
Brent Fulgham
Comment 2 2015-03-09 17:35:35 PDT
Note: additional work for mechanical wheel mice is being done under Bug 142501.
Brent Fulgham
Comment 3 2015-03-09 17:38:09 PDT
Brent Fulgham
Comment 4 2015-03-09 17:47:16 PDT
Brent Fulgham
Comment 5 2015-03-09 18:00:41 PDT
Note You need to log in before you can comment on or make changes to this bug.