Bug 25249 - Wheel events while dragging scrollbar thumb not handled correctly
Summary: Wheel events while dragging scrollbar thumb not handled correctly
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2009-04-16 15:36 PDT by Peter Kasting
Modified: 2010-04-29 11:30 PDT (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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.