Bug 25249

Summary: Wheel events while dragging scrollbar thumb not handled correctly
Product: WebKit Reporter: Peter Kasting <pkasting>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Severity: Normal CC: hyatt
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   

Description Peter Kasting 2009-04-16 15:36:20 PDT
If the user is dragging the scrollbar thumb and (perhaps accidentally) uses the mousewheel, the desired behavior is platform-specific:
* On Mac, native scrollbars seem to ignore the wheel events.
* On Windows, native scrollbars snap back to the drag origin until the user moves the mouse again.

Currently WebCore does neither of these (on Windows it applies the wheel scroll and continues the drag; not sure what Safari version I tested on Mac so I won't comment there).
Comment 1 Peter Kasting 2010-04-29 11:30:55 PDT
Additional testing on Windows shows that the snap-back gets reverted on mouseup even if the mouse doesn't move any more.  This means that the snap-back is basically completely nonfunctional and just looks broken.  I don't care about matching this behavior, it looks more like a bug than a feature.

Conceivably, we should ignore wheel-while-dragging, but whatever.