After updating the system to plasma 6, I can’t eliminate very annoying behavior. If I open anything from a terminal like this:
xdg-open https://goo.gl
The default browser (Firefox, in my case) does not pop up but is highlighted in the panel. This behavior is the same for many combinations of the source apps. For example, clicking links in Slack behaves similarly, but it works from telegram-desktop.
KWin supports that protocol, but the issue is that in addition, both the sending and receiving app have to as well, and they also have to do it when launched from the command line, not just from the GUI.
In a nutshell, this is 442265 – Opening an app from konsole has no activation environment set, which is sort of a conceptual pickle. In the case of xdg-open, it could be patched to set the activation environment which would fix the bug. But this would only fix the issue for that one command; running dolphin . would still show the same issue.
A more general solution to make Konsole generate the appropriate activation environment and inject it into the command may be appropriate; hence that feature request still being open.
It’s mostly fixed for GUI-to-GUI apps already–at least for the ones that support this protocol. It’s mostly the CLI executables that need support added.