Sidebar gets no cursor focus when opened
Categories
(WebExtensions :: Frontend, defect, P3)
Tracking
(Not tracked)
People
(Reporter: lars.winkler, Unassigned)
References
Details
(Whiteboard: addons-ux)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0
Steps to reproduce:
I use Bitwarden password manager with its addon https://addons.mozilla.org/de/firefox/addon/bitwarden-password-manager/
This addon has hotkey (Shift+ Alt + Y) to open it in sidebar.
Maybe the issue is the same with other addons using sidebar. But I don't know any right yet.
Actual results:
If I open the Bitwarden addon sidebar (e.g. with hotkey) it gets no focus on input field.
It's not convenient after using keyboard for hotkey to grab the mouse to activate the input field.
Expected results:
If I open the Bitwaren addon sidebar (e.g. with hotkey) it should get focus on input field.
This would be very convenient, using keyboard hotkey and instantly entering Maser-Password. No need to grab the mouse.
Reporter | ||
Comment 1•4 years ago
|
||
Comment 2•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 3•4 years ago
|
||
I can confirm this behavior for Bitwarden addon. I also tried to perform a bisection, but it looks like this is not a regression because the issue is also reproducing on old builds too.
Marking issue as NEW.
Updated•4 years ago
|
Comment 4•4 years ago
|
||
While we load ext-browser-content.js into the sidebar, we do not call Extension:GrabFocus to have the focus set. We should probably query UX about this first.
Comment 5•2 years ago
|
||
I can confirm this is still an issue for me too.
Firefox 101.0.1 (64-bit)
MacOS High Sierra 10.13.6
BitWarden (extension) 2022.5.0
I like to open the Bitwarden sidebar with Alt + Shift + Y
but it doesn't get the focus and to have this auto focused would be very appreciated.
Since I knew that F6
helps switching focus from searchbar to website (and vice versa) I even tried to use that. IMHO it could be a simple viable way to cycle throw searchbar -> sidebar -> website -> searchbar, but only if by selecting to the sidebar the focus will be put into the first useful input/textbox (like the master password text box or the search text box , either if you are already logged in or not). And I say that because I experimented using Shift + F6
and noticed this way it already sort cycle around these 3, but the invisible focus highlight is over the first element of the sidebar (so the master password text box is 2 Tab
way)
Updated•2 years ago
|
Description
•