browserAction popup is closed when browser window loses focus
Categories
(WebExtensions :: Untriaged, defect)
Tracking
(Not tracked)
People
(Reporter: rotemdan, Unassigned)
Details
Updated•8 years ago
|
Comment 2•8 years ago
|
||
Updated•7 years ago
|
There is a use case when popup should survive blur event: transient focus lost due to switching of keyboard layout. Behavior consistency across Firefox UI is quite disappointing at such moments. Chrome UI elements are resistant to temporary focus lost, so user experience is much better.
This is a case of X11 window system (Xorg) and user setup with at least 2 keyboard layouts with completely different letters, e.g. Latin and Cyrillic, so layout is switched quite frequently. Xkb allows to switch layouts without focus out X11 event. On the other hand in Gnome such feature is blocked and layouts are switched through global shortcut (key grab in X11 parlance). In X11 global key grab causes a pair of focus out and focus in events received by active window. Besides Gnome, at least iBus uses global shortcuts to switch input methods. Firefox handles such transient events just as switching to another window closing popups, context menus, sending blur event to web pages (with "fancy" actions).
It is horrible when an attempt to switch keyboard layout (e.g. to type something in an input field) dismisses the dialog.
Description
•