Opening HTTP Links With Focus From Non-Browser Apps

Hi All,

I have hopefully a simple question, but I’ve been unable to find the solution or the right string of terms to fix the issue. I cannot figure out how to make KDE open HTTP links in an existing browser window while raising the browser to the front.

Current Behavior: In Discord or Lutris, when I click a link to open a new browser tab, the browser tab opens in the background.

Desired Behavior: I would like to force these links to open in the foreground and raise the browser to the front.

On Gnome, the default behavior is the same. However, there is an extension titled “Focus my Window” found here: Focus my window - GNOME Shell Extensions which implements the behavior I’m seeking.

I’m running the most recent version of the KDE Fedora spin on Wayland.

Is there a way to change the default KDE behavior to bring the browser window forward?

Thanks for the help, and feel free to point me to a solution if someone has already typed on out.

This happens because the either the activating app or the app being activated does not implement the Wayland-specific activation protocol (xdg_activation_v1). Both need to correctly implement the protocol.

It’s the same on X11, but apps have had decades to get this right; on Wayland, the protocol is still rather new and a lot of apps don’t yet have support for it. They should. :slight_smile: So you should report this to the developers of those apps.

2 Likes