[Webkit-unassigned] [Bug 13274] New: Mouse events are not always sent to the "captured" subframe when dragging

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 3 16:48:06 PDT 2007


           Summary: Mouse events are not always sent to the "captured"
                    subframe when dragging
           Product: WebKit
           Version: 522+ (nightly)
          Platform: PC
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: occupant4 at gmail.com

If you click and hold the mouse in a subframe, then drag the mouse out of that
subframe, it will stop receiving mousemove events.  Interestingly, if you drag
the mouse over a *different* subframe, the original subframe will receive the
events.  This is because of some weird logic in EventHandler;
passMouseMoveEventToSubframe is called only if the mouse is over a subframe,
and the target is then changed to the "captured" subframe's view

I think the fix is to remember the captured subframe, and call
passMouseMoveEventToSubframe if either 1) we have a capture subframe, or 2) the
mouse is over a subframe.  m_capturingMouseEventsNode looks like a convenient
place to store the captured subframe.

Test case coming shortly.

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