[Webkit-unassigned] [Bug 280755] Safari Thinks 4th, 5th, etc. Mouse Button Presses are the Middle Mouse Button being Pressed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 9 15:34:01 PDT 2024


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

--- Comment #7 from Jeffrey Blanz <possum.bracing0v at icloud.com> ---
(In reply to Abrar Rahman Protyasha from comment #3)
> Interestingly, we get this right for the `MouseEvent.buttons` property! (as
> tested on https://unixpapa.com/js/testmouse.html)

Actually I do not get it correct when using this website in safari vs chrome.

When using a mouse that has a 4th or 5th button I click it and get this for safari:
mousedown   which=2 button=1 buttons=16
mouseup     which=2 button=1 buttons=0

I get this for the same button on chrome:
mousedown   which=5 button=4 buttons=16
mouseup     which=5 button=4 buttons=0


Notice how the "buttons" are the same (16), but the "button" (4 vs 1) is not.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241009/7f63c053/attachment.htm>


More information about the webkit-unassigned mailing list