Previously opened Firefox window is not focused when opening a link from other applications
Categories
(Core :: Widget: Gtk, enhancement, P3)
Tracking
()
People
(Reporter: pengwyuan, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
22.72 KB,
text/x-log
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:99.0) Gecko/20100101 Firefox/99.0
Steps to reproduce:
I have a Firefox window opened previously and click on a hyperlink outside Firefox.
Tested on KDE Plasma with Wayland-enabled Firefox
Actual results:
Firefox opens that link as a new tab in the previous window, but that window is not focused
Expected results:
The previous opened Firefox window is focused
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 years ago
|
Related activity on KDE side, to at least get the "demand attention" orange background in the taskbar: https://bugs.kde.org/show_bug.cgi?id=450996#c5 (backported to KDE 5.24.5):
Fixed by Aleix Pol with https://invent.kde.org/plasma/kwin/-/merge_requests/2206/diffs?commit_id=52035f43b90738e2efb4fd7b482719c1ea458578 in Plasma 5.25! It may be backported to 5.24, too.
It requires that the app in question actually request activation, though. All KDE apps do at this point, but some 3rd-party apps do not, notable Firefox and Thunderbird, in my testing. So it's up to them to implement the Wayland activation protocol.
Comment 3•2 years ago
|
||
xdg_activation is supported on Firefox side, see Bug 1692119
Can you run Firefox on terminal with MOZ_LOG="Widget:5" env variable and attach the log here?
Thanks.
(In reply to Martin Stránský [:stransky] (ni? me) from comment #3)
xdg_activation is supported on Firefox side, see Bug 1692119
Can you run Firefox on terminal with MOZ_LOG="Widget:5" env variable and attach the log here?
Thanks.
Sure, the log file is attached
Comment 6•2 years ago
|
||
I just tested that on Gnome (Fedora 35) and it works as expected.
Updated•2 years ago
|
Comment 7•8 months ago
|
||
On GNOME it happens too, using latest Fedora 38, sometimes it works well, sometimes just a notification something like "window is ready".
Description
•