this post was submitted on 14 Jan 2024
34 points (92.5% liked)
Linux
48310 readers
645 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I’m not sure about Thunderbird specifically, but it works with any apps (like Kitty terminal or Slack client) on Plasma Wayland session for me. You’ve got no reaction at all, or is the task manager icon at least turning orange for attention?
This used to be a problem few plasma versions back as there wasn’t any standardized protocol for this, and then it got stabilized and implemented https://wayland.app/protocols/xdg-activation-v1
Is your default web browser set properly (check default programs in system settings, you might try and set it to something else then back)? And how about the following:
The task manager icon does indeed correctly turn orange.
Default web browser is set properly. I tried setting it to Chromium and every single app I tested with Chromium, correctly opened and took focus with Chromium. Switched back to Firefox and once again it's not always taking focus. Only this time, when I tested Steam, Firefox didn't take focus from Steam even though it did before.
This definitely seems to be an issue with Firefox + Wayland given that Chromium had no issues opening up all the links from different apps I tried.
At least the issue is now whittled down a bit more. Thanks for your help!
This probably works as intended, even of it’s not the desired behavior. Given that the protocol only allows clients to
activate()
the surface that needs attention and never mentions the actual window focus, it is up to the compositor (in this case Kwin) to decide what to do exactly with the request.On a side note, I think this behavior should be configurable. I for one would not want windows to automatically focus ever (and Plasma even switches the virtual desktops when that happens), but I also see why someone would want to.