Closed Bug 1798747 Opened 2 years ago Closed 2 years ago

KDE/Wayland: Firefox does not get focus when clicking a link in thunderbird

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 102
defect

Tracking

()

RESOLVED DUPLICATE of bug 1767546

People

(Reporter: frederic.parrenin, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0

Steps to reproduce:

I am using a Debian Testing machine with KDE/Wayland.
I tried using Firefox/Wayland.
But when clicking a link in thunderbird, the web page is loaded in Firefox but Firefox does not get the focus.
Note that this does not happen with Firefox/X11.

Actual results:

Firefox loaded the web page but did not get the focus.

Expected results:

Firefox should get the focus.

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.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

I don't see that on Gnome/Wayland.

Blocks: wayland-kde
Priority: -- → P3

Same for me: I don't see it in Gnome/Wayland.
So this is a KDE/Wayland specific problem.

It's not a Plasma problem. It's bug 1767546

Well, it's half a Thunderbird bug (it doesn't request and pass an XDG activation token when clicking the link) and half a Firefox bug (it doesn't use the token if one is passed).

I think Gnome/GTK had a non-standard window activation protocol before the standard xdg-activation existed and that's why it works on Gnome. Plasma (somewhat obviously) doesn't have that and only uses the proper xdg-activation protocol, which Thunderbird/Firefox don't implement (completely)

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1767546
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.