Bug 16072 - MouseMove event fails when inside a mousedown over a scroll bar
Summary: MouseMove event fails when inside a mousedown over a scroll bar
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Major
Assignee: Nobody
URL: http://blog.davglass.com/files/yui/sa...
Keywords: InRadar
Depends on:
Reported: 2007-11-20 08:58 PST by Dav Glass
Modified: 2007-11-30 09:05 PST (History)
4 users (show)

See Also:

patch (4.85 KB, patch)
2007-11-29 16:27 PST, Adele Peterson
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dav Glass 2007-11-20 08:58:03 PST
During YUI Release tests we found that in Safari 3.x (and Nightlies):

Moving your mouse anywhere in the document results in a mousemove event being traced. Holding the mouse button down and moving your mouse anywhere in the document also results in a mousemove event being traced ... until you mouse over the scrollbars around a content div with overflow:scroll. mousemove no longer bubbles to the document (unless you move your mouse across the scroll bar really fast)

Test Case attached as URL.
Comment 1 Adam Roben (:aroben) 2007-11-20 09:48:48 PST
Comment 2 Adele Peterson 2007-11-29 16:27:20 PST
Created attachment 17597 [details]

In addition to fixing the reported bug, I think this will have the effect of matching how hover effects work in native Windows scrollbars.  I tested in Notepad, and saw that the hover effect doesn't show when the mouse is pressed and you rollover the scrollbar.

I need help testing this on other platforms though, to make sure this doesn't break the hover effect on those scrollbars.
Comment 3 Adele Peterson 2007-11-29 16:32:08 PST
CC'ing some QT folks to see if they can help me w/ testing.
Comment 4 Darin Adler 2007-11-29 16:35:23 PST
Comment on attachment 17597 [details]

Comment 5 Adele Peterson 2007-11-30 09:05:19 PST
Committed revision 28233.