Set XDG_ACTIVATION_TOKEN when launch external application (LaunchWithURI)
Categories
(Core :: Widget: Gtk, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox110 | --- | fixed |
People
(Reporter: stransky, Assigned: stransky)
References
()
Details
Attachments
(4 files)
Follow up from Bug 1767546. We should set XDG_ACTIVATION_TOKEN when external app is fired to make sure it gets focus.
Especially useful for Thunderbird when URL is opened by Firefox.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Implement RequestWaylandFocus() which returns FocusRequestPromise.
It resolves to XDG token which can be used to activate Firefox window or transfered to another application.
Also use 0.5 sec timeout to reject FocusRequestPromise to make sure we don't wait forever in case of Wayland compositor bug or so.
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D165150
Assignee | ||
Comment 4•2 years ago
|
||
Depends on D165151
Assignee | ||
Comment 5•2 years ago
|
||
https://gitlab.gnome.org/GNOME/glib/-/issues/2709 may be related.
Comment 8•2 years ago
•
|
||
Backed out for causing multiple build bustages.
Failure log for bp-hybrid bustage on WidgetUtilsGtk.cpp
Failure log for bx bustage on nsGIOService.cpp
Assignee | ||
Updated•2 years ago
|
![]() |
||
Comment 10•2 years ago
|
||
Comment 11•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3ccb5417b450
https://hg.mozilla.org/mozilla-central/rev/8334a7ab8797
https://hg.mozilla.org/mozilla-central/rev/c5f40da7312a
Description
•