Open
Bug 1391942
Opened 7 years ago
Updated 2 years ago
windows.onFocusChanged fires for non-browser windows with untracked windowId's and does not fire when leaving them to a different application
Categories
(WebExtensions :: General, defect, P5)
WebExtensions
General
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: ke5trel, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [windows])
windows.onFocusChanged documentation states:
> "Fired when the currently focused window changes. Will be windows.WINDOW_ID_NONE
> if all browser windows have lost focus."
Switching focus from a browser window to a non-browser window (eg Library, Page Info, notifications, Browser Console etc) triggers onFocusChanged with a windowId that does not correspond to anything returned by windows.getAll() for any windowType. Switching from these non-browser windows to a different application does not fire onFocusChanged with windowId = -1 (WINDOW_ID_NONE) making application-wide focus detection unreliable.
Blocks: webext-windows
Whiteboard: focus
Updated•7 years ago
|
Updated•7 years ago
|
Product: Toolkit → WebExtensions
Comment 1•7 years ago
|
||
Bulk move of bugs per https://bugzilla.mozilla.org/show_bug.cgi?id=1483958
status-firefox57:
wontfix → ---
Component: Untriaged → General
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•