"Firefox is ready" notifications on GNOME
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
People
(Reporter: mail, Unassigned)
References
(Blocks 1 open bug, )
Details
Attachments
(1 file)
26.20 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0
Steps to reproduce:
Open a link from a different app, e.g., by running xdg-open https://mozilla.org
Actual results:
I get a notification that "Firefox is ready" (see attached screenshot).
Expected results:
Firefox should gain focus.
There is some explanation by the devs on how to implement focus stealing correctly here: https://discourse.gnome.org/t/cross-process-window-activation-on-wayland/20306/3
Comment 2•1 month ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Notifications' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 3•1 month ago
•
|
||
Probably a dupe of bug 1873981
I'll let you check that :stransky. Also, is it normal bug 1873981 is still unconfirmed?
(In reply to Clément Lefèvre from comment #3)
Probably a dupe of https://bugzilla.mozilla.org/show_bug.cgi?id=1873981
I'll let you check that :stransky. Also, is it normal https://bugzilla.mozilla.org/show_bug.cgi?id=1873981 is still unconfirmed?
Yes, I think it is the same issue. I was not able to find it before reporting this one...
Comment 5•1 month ago
|
||
It's tracked here - https://gitlab.gnome.org/GNOME/mutter/-/issues/673
We can't use xdg_activation_v1. If you want to transfer focus by xdg_activation_v1, you need already focused application which moves focus to another window and this is not the case, you launch xdg-open from terminal, not from Firefox. All Firefox windows are unfocused so there isn't any focus to transfer, we don't have any.
Updated•1 month ago
|
Updated•1 month ago
|
Thanks for the explanation. I didn't really understand how this protocol works until your comment, Martin. One thing I was wondering is whether this was a bug with Firefox or whatever app is trying to open a link in Firefox.
I, for example, see this as well when clicking links in Thunderbird. Should I open a separate bug for Thunderbird then?
Comment 7•1 month ago
|
||
If you want to override https://gitlab.gnome.org/GNOME/mutter/-/issues/673 you need is to install this GNOME extension - https://extensions.gnome.org/extension/6385/steal-my-focus-window/ (I use it by myself).
Description
•