New issue
Advanced search Search tips

Issue 853095 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 2
Type: Bug



Sign in to add a comment

mouseup event not fired for button0 if button2 is clicked before release button0

Reported by hayden.w...@verizonconnect.com, Jun 15 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0

Steps to reproduce the problem:
1. Press and hold the left mouse button
2. Press and release the right mouse button
3. Release the left mouse button

http://jsfiddle.net/ae53deov/8/

What is the expected behavior?
mouseup events should be fired for both right and left mouse buttons

What went wrong?
Left mouse button's mouseup event is not fired

Did this work before? N/A 

Chrome version: <Copy from: 'about:version'>  Channel: stable
OS Version: 10.0
Flash Version:
 
Apologies, affects Chrome version 67.0.3396.87
Labels: Needs-Triage-M67
Cc: susan.boorgula@chromium.org
Labels: Triaged-ET M-69 Target-69 FoundIn-69 OS-Linux
Status: Untriaged (was: Unconfirmed)
Reporter@ Thanks for the issue.

Able to reproduce this issue on Windows 10 on the reported version 67.0.3396.87 and the latest Canary 69.0.3463.0 as per the original comment.
Unable to reproduce the issue on Mac OS 10.13.5 as there is no mouse connected and on Ubuntu 14.04 on following the steps 1 to 3, no events are fired in the console.

Attached is the screen shot for reference.

This is a Non-Regression issue as this behavior is observed from M-60 chrome builds.
Hence marking this as Untriaged for further updates from Dev.

Thanks..
853095-M60.PNG
98.3 KB View Download

Comment 4 by bokan@chromium.org, Jun 19 2018

Cc: mustaq@chromium.org nzolghadr@chromium.org
Components: -Blink Blink>Input

Comment 5 by mustaq@chromium.org, Jun 19 2018

Labels: -Needs-Triage-M67 Needs-Feedback
Owner: mustaq@chromium.org
Status: Assigned (was: Untriaged)
Right-button invokes a context menu, so the mouseup event goes to the menu's event loop.  Looks like WAI.

- I tried with left+middle button, works fine in that case.
- Firefox is almost similar: the mouse event is sent to the page is the pointer is outside the context menu.

hayden.white@: you didn't mention anything about the context menu.  Please clarify if my explanation now makes sense.
You're right, the context menu is invoked. Releasing the mouse button while the pointer is outside of the context menu should not send the event to the menu though, IMO. Firefox's behaviour is what I would expect.

Comment 7 by mustaq@chromium.org, Jun 19 2018

Labels: -Needs-Feedback -M-69 -FoundIn-69 -Target-69
Status: WontFix (was: Assigned)
In Chrome, the menu is like a modal dialog: events don't get dispatched to the "background" page.

Also note that even with the Firefox model, there could be unpaired mousedown/up when the mouse is dragged to the menu.

This is WAI, we suggest listening to the "contextmenu" event to detect the scenario.

Sign in to add a comment