[Webkit-unassigned] [Bug 35299] New: mousemove event always has metaKey == true

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 23 09:11:27 PST 2010


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

           Summary: mousemove event always has metaKey == true
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: grant_gayed at ca.ibm.com


- observed with WebKitGTK 1.1.21

- view the page below in GtkLauncher, which just listens for mousemove and
shows an alert with the event's metaKey value
- mouse into the browser and note that alerts are shown with 'true' even though
a modifier key is not being held
  -> (I'm not actually sure which key should set this value to true on a
standard keyboard, I think Command does this on OS X)

<html>
<head>
<script language="JavaScript">
function mousehandler(e) {
  alert(e.metaKey);
}
function init() {
  document.onmousemove = mousehandler;
}
</script>
</head>
<body onLoad="init()">
is meta key down?
</body>
</html>

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