Open Bug 1918031 Opened 1 year ago Updated 1 year ago

extension popup doesn't gain focus when opened with a keyboard shortcut

Categories

(WebExtensions :: Frontend, defect)

Firefox 130
defect

Tracking

(firefox130 affected, firefox131 affected, firefox132 affected)

Tracking Status
firefox130 --- affected
firefox131 --- affected
firefox132 --- affected

People

(Reporter: yshuiv7, Unassigned, NeedInfo)

References

Details

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

Steps to reproduce:

extension i used was "Search All Tabs", which has an autofocus text field in its popup.

I set a keyboard shortcut for opening the popup.

Actual results:

The text field doesn't get focus when the popup is opened with shortcut, but is focused when the popup is opened by clicking on the extension icon

Expected results:

The text field is always autofocused.

see also: bug 1402227

i opened this because i don't have permission to comment on closed bugs.

Component: Untriaged → Frontend
Product: Firefox → WebExtensions

Can you please let me know how you set the keyboard shortcut for opening the popup with exact steps?

Shortcut can be set in the "Manage Extension Shortcuts" menu in the add-ons page. Find the "Activate toolbar button" action.

Hello,

I reproduced the issue on latest Nightly (132.0a1/20240915215047), Beta (131.0b6/20240913091444) and Release (130.0/20240829075237) under Windows 10 x64 and Ubuntu 22.04 LTS.

Opening the popup via keyboard shortcut does not focus the text field, as opposed to clicking the extension button to open the popup which does focus the text field.

Status: UNCONFIRMED → NEW
Ever confirmed: true

The severity field is not set for this bug.
:zombie, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(tomica)
Flags: needinfo?(tomica) → needinfo?(lgreco)
You need to log in before you can comment on or make changes to this bug.