Closed Bug 1768895 Opened 4 years ago Closed 3 years ago

Releasing a keyboard button press while changing tabs sometimes keeps inputting the key forever in Firefox

Categories

(Core :: DOM: Events, defect)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: manuel, Unassigned)

Details

STR:

  1. open two tabs with input fields (e.g. two times https://bugzilla.mozilla.org/home)
  2. hold a button (e.g. the key 1) switch to the other tab (with a left click from the mouse) and release the '1' key simultaneously.
  3. retry (it took me ~10-15 tries)
  4. see that on the other tab the key is entered endlessly and switching tabs from now on always inputs that key

Pressing the '1' button or 'esc' stops inputting the 1.

Found that while trying to find a reliable way to reproduce https://forums.mozillazine.org/viewtopic.php?t=537163 (scrolling through history instead of the page happens happens to me sometimes). Might be related, e.g. because of chaning tab while releasing the alt-key.

Edit: I tried to reproduce again, but stopped trying after ~30 tries ^^. If necessary, I can create an rr log/screen recording.

Component: General → DOM: Events
Product: Firefox → Core

I tried to reproduce it, but no luck.

(In reply to Manuel Bucher from comment #0)

If necessary, I can create an rr log/screen recording.

It would be super helpful if you are able to share the pernosco session :)

Flags: needinfo?(mbucher)

Thanks for trying. I was trying today again, but no luck as well. Maybe something was different with my system two weeks ago (but I don't think that I changed something).

I was using Firefox stable (but with tree style tab extension). Tried with and without that extension today with no luck.

I was able to reproduce it 5-6 times two weeks ago (so I was confident that I could reproduce reliable). Should have created an rr log then :/. I'll retry next week.

I can't reproduce it anymore. I was pretty sure at the time of opening this bug, that I can reproduce it easily. But not anymore. Maybe something changed in respect to my system. Or there are different requirements for this to happen. But this bug report is not really actionable, therefore I'll close it as INCOMPLETE (INVALID may be also reasonable?).

System: Arch Linux, Gnome (probably Wayland, but maybe it was Xorg), Firefox stable 100.

Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(mbucher)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.