[Webkit-unassigned] [Bug 11705] PlatformMouseEvent "current event" handling is bogus

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 29 12:29:48 PST 2006


http://bugs.webkit.org/show_bug.cgi?id=11705





------- Comment #3 from marv.decker at gmail.com  2006-11-29 12:29 PDT -------
Is the current mouse position even what we want? Say I have another window
partially obscuring an element with :hover set to something. I move the mouse
from the other window, over the element and back to the window, the element
will light up (or whatever the style says) when I move over it, and it will go
back when I move the mouse over the other window.

This is true even if the mouse is over the element but it is obscured by the
other window, so you can't use the current mouse position, nor do you want the
previous mouse position. You don't even want the last mouse message (probably
some kind of "leaving the window" message) because the DOM mutation that caused
this event could occur when the mouse is not in the window at all.

I think what we want is a test to see if the mouse is in the window and not
obscured (possibly by testing to see if we got a "leaving" message since the
last mouse move), and only then synthesizing a mouse move from the current
mouse position.


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



More information about the webkit-unassigned mailing list