[Webkit-unassigned] [Bug 10301] javascript onMouseOver events not sent during drag

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Fri Aug 11 15:14:26 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=10301


opendarwin.org at bdash.net.nz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |opendarwin.org at bdash.net.nz
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME




------- Comment #1 from opendarwin.org at bdash.net.nz  2006-08-11 15:14 PDT -------
Can you please provide an example of code that fails to work in WebKit that
works in another major browser?

I take it the bit of code you are referring to is:

    // If the web page handles the context menu event and menuForEvent: returns
nil, we'll get control click events here.
    // We don't want to pass them along to KHTML a second time.
    if (!([event modifierFlags] & NSControlKeyMask)) {
        _private->ignoringMouseDraggedEvents = NO;

        // Don't do any mouseover while the mouse is down.
        [NSObject cancelPreviousPerformRequestsWithTarget:self
selector:@selector(_updateMouseoverWithFakeEvent) object:nil];


>From my reading of the code, when the mouse is moved while a button is down
-[WebHTMLView mouseDragged:] will be called.  This passes this event down to
WebCore as per normal when the "ignoringMouseDraggedEvents" flag is set to NO.

Is there something I'm missing?  If so, can you please provide a test case that
fails in WebKit but not other browsers and reopen this bug.  Thanks!


-- 
Configure bugmail: http://bugzilla.opendarwin.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