browserAction popup is not focused automatically when opened from the overflow menu
Categories
(WebExtensions :: Frontend, defect, P3)
Tracking
(Not tracked)
People
(Reporter: 5i13ghzt462u, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0
Steps to reproduce:
When you open the popup, run some .focus() on a text input field. You'll notice it is not actually focused.
Better to reproduce by using the add-on from Bug 1324255, comment https://bugzilla.mozilla.org/show_bug.cgi?id=1324255#c1
If you "move this into the overflow menu" the window is not focused.
Actual results:
window.document.hasFocus() also reports false
keysstrokes are not catched
.focus() focuses the element itself inside the website, i.e. document.activeElement
is set to that, but as the popup/whole website is not focused, that does not help and e.g. no cursor is shown in the input field.
Expected results:
Just as when you have the add-on in the usual top bar, the focus works there.
The workaround from Bug 1324255 to focus the body (document.querySelector('body').focus();
) does not work!
Fedora 31
GNOME v3.34.4
Wayland
Updated•6 years ago
|
Comment 1•6 years ago
|
||
I took a look to this and it doesn't seem to be a wayland-specific issue, I can trigger the focus issue consistently even on X11 (and even on linux windows managers other then gnome) when the browserAction popup window is being opened from the overflow menu.
I'm linking this bug to the meta bug where we are collecting the issues related to the overflow menu (and I'm changing the issue summary to reflect that this issue is actually related to the overflow menu).
Comment 2•6 years ago
|
||
The priority flag is not set for this bug.
:mixedpuppy, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3
(Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3
(normal.)
Comment 4•1 year ago
|
||
It is no longer possible to add an extension to the overflow menu. So I think this bug can be closed.
Jup, confirming as it seems obsolete.
Description
•