[Webkit-unassigned] [Bug 45208] New: [chromium] Converting from MouseEvent to WebMouseEvent assigns ButtonLeft when no button has been pressed.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 3 15:49:15 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=45208

           Summary: [chromium] Converting from MouseEvent to WebMouseEvent
                    assigns ButtonLeft when no button has been pressed.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: gene at google.com
                CC: gene at google.com


Bug is in WebKit/WebKit/chromium/src/WebInputEventConversion.cpp in WebMouseEventBuilder::WebMouseEventBuilder().

Currently, when no mouse button has been pressed, the result WebMouseEvent will have member button set to ButtonLeft.
Code that converts button state should take into account the state of event.buttonDown() (see code below for modifiers conversion).

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



More information about the webkit-unassigned mailing list