e10s: Holding right-click prevents pop-up event handling

NEW
Unassigned

Status

()

P2
normal
4 years ago
3 years ago

People

(Reporter: sstangl, Unassigned)

Tracking

unspecified
x86_64
Linux
Points:
---

Firefox Tracking Flags

(e10s+)

Details

(Reporter)

Description

4 years ago
With e10s enabled, right-click on a page to bring up the right-click menu. The pop-up menu does not begin to handle mouse events until the right mouse button is released.

For example, if you held down the right mouse button and left-clicked on "Save Page As...", the save page modal window would not appear until the right mouse button is released.

With e10s disabled, event handling occurs regardless of the state of the right mouse button.
What flavor of linux are you running?
Flags: needinfo?(sstangl)
tracking-e10s: ? → +
(Reporter)

Comment 2

4 years ago
Fedora 20. Vanilla.
Flags: needinfo?(sstangl)
(Reporter)

Comment 3

4 years ago
Actually, I just noticed that the behavior is slightly more complicated than originally reported:

With the RMB is held down, clicking the LMB in the right-click menu causes the popup to begin handling mouse events. It isn't that event handling appears always disabled. Keyboard events always work.

Releasing the RMB then triggers a normal RMB-up event -- similarly, clicking again with the LMB handles LMB events as expected.

Comment 4

3 years ago
Version 	46.0a2 
User Agent      Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0
Build ID 	20160204004009

This is still reproducible on Aurora 46 with e10s enabled (Ubuntu 15.04).
I see this same behavior on Windows for both e10s and non-e10s. Perhaps Linux non-e10s was the odd-ball behavior
Flags: needinfo?(ryanvm)
All testing was RMB + Clicking on Save Page As. Instantaneous response to the click was considered a pass and waiting until RMB was released was considered a fail (I also observed that there was no hover highlighting over the menu item). All testing was on today's nightly. I was also able to reproduce comment 3 on instances that failed.

Linux w/o e10s: Pass
Linux w/  e10s: Fail

OSX w/o e10s: Pass
OSX w/  e10s: Fail

On Windows 10, the popup menu doesn't appear until RMB is released, so this bug isn't able to be reproduced there.
Flags: needinfo?(ryanvm)
Flags: needinfo?(jgriffiths)
Confirmed for all of these things.

Side note: all browsers on Windows are the same, no menu appears until the button is released. Suspect it's a platform limitation.

On OS X, chrome and safari both trigger the click event even though the button is held down. I didn't test on Linux.

I think we should fix this, and I'm assigning P2 based on my gut sense that most people don't hold the button down. It's awkward to actually hold one button down and click on the other.

If you think we should block on this, one way to win that argument is to collect data on whether people actually do this in the wild.
Flags: needinfo?(jgriffiths)
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.