Open Bug 1715778 Opened 4 years ago Updated 4 years ago

Caret Browsing alert get queued while the F7 key is pressed

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

Firefox 89
defect

Tracking

()

Tracking Status
firefox89 --- affected
firefox90 --- affected
firefox91 --- affected

People

(Reporter: alexandre.leunens, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0

Steps to reproduce:

My cat put his paw on the F7 key that enables caret browsing.

Actual results:

An alert (Pressing F7 turns Caret Browsing on or off [...]) appeared as expected. However, when clicking "No" and closing it, another one popped. And another one again.
If i press F7 two times, i will have to close two popups. It seems like there is no check to see if an alert already exist.

Expected results:

Only display a single alert instead of multiple queued ones.

I was able to reproduce this issue on latest Nightly 91.0a1 (2021-06-14)(64-bit), Firefox Release 89.0 on Ubuntu 20.04 and Windows 10.
I'll change flags accordingly.
The Severity Suggested is S3.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Has Regression Range: --- → no
Has STR: --- → yes
Component: Untriaged → Widget: Cocoa
Ever confirmed: true
Product: Firefox → Core

Did you mean to say that you were able to reproduce on macOS, but not on Linux or Windows? Or why did you select Widget:Cocoa as the component?

Flags: needinfo?(marcela.calderon)

(In reply to Stephen A Pohl [:spohl] from comment #2)

Did you mean to say that you were able to reproduce on macOS, but not on Linux or Windows? Or why did you select Widget:Cocoa as the component?

I was able to reproduce it on macOS 11 as well. I'll change the component. Please feel free to change it if it is not the correct one.

Component: Widget: Cocoa → DOM: UI Events & Focus Handling
Flags: needinfo?(marcela.calderon)

I can reproduce this on Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0

Further bahaviour details as follows.
This occurs when I press and hold the F7.
I agree there should be a a check to determine whether the dialouge is already on display as it can cause a secondary crash/hang bug.
If I hold the F7 key for less than approximately 5s I can individually close all the dialouge boxes, or close them all at once with Esc key.
When held for more than 5s I get one of three responses:

  1. I attemp to individually closer all dialouge boxes: I had a keyboard macro plugging away at this for 10min with no progress, there were endless dialouge boxes. Firefox had to be restarted.
  2. I attempt to close them all with the Esc key
    2.1 Firefox hangs and eventually crashes or has to be restarted
    2.2 Firefox goes into a state where it gives you visual feedback for clicks but they have no effect. You cannot use any Firefox menus or toolbars and the window title bar also becomes unresponsive. Only way to navigate away from the current tab is to restart Firefox from Task Manager.
You need to log in before you can comment on or make changes to this bug.