[Webkit-unassigned] [Bug 12133] New: Form buttons don't receive click events if the mouse is dragged before releasing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 5 14:22:15 PST 2007


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

           Summary: Form buttons don't receive click events if the mouse is
                    dragged before releasing
           Product: WebKit
           Version: 420+ (nightly)
          Platform: PC
               URL: http://google.com
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: occupant4 at gmail.com


(Windows only, probably because Mac uses native widgets)

1. Visit any page with a form submission button (such as google.com).
2. Press the left mouse button on the form button, but don't release.
3. Move the mouse a small amount, keeping the cursor within the button.
4. Release the button.

If the mouse moved at all before you release, the form button will not be
clicked.

This happens because invalidateClick() is called in
EventHandler::handleMouseMoveEvent(), which resets the click count and prevents
further mouse-up events from dispatching a click.  I don't think simply
removing that call is the right move, though.


-- 
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