Bug 515207

Summary: Open an URL in kioclient on Wayland, doesn't bring browser windows to foreground
Product: [Plasma] kde-cli-tools Reporter: Bill Dietrich <kdebt4>
Component: generalAssignee: Aleix Pol <aleixpol>
Status: CONFIRMED ---    
Severity: normal CC: akselmo
Priority: NOR    
Version First Reported In: 6.4.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Bill Dietrich 2026-01-28 15:11:59 UTC
SUMMARY

At CLI, "kioclient exec URL" doesn't work properly, the link opens in the browser but the browser is not brought to foreground.

STEPS TO REPRODUCE
1. kioclient exec URL
2. 
3. 

OBSERVED RESULT

Browser stays in background.

EXPECTED RESULT

Browser should come to foreground.

SOFTWARE/OS VERSIONS

Operating System: Kubuntu 25.10
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.17.0-8-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics
Memory: 16 GiB of RAM (15.0 GiB usable)
Graphics Processor: AMD Radeon Graphics

ADDITIONAL INFORMATION
Comment 1 Akseli Lahtinen 2026-01-29 11:39:56 UTC
When reading the documentation for kioclient, it does not mention anywhere that it should bring the opened client to foreground. 
Did you see somewhere else that it should do that?

Maybe kioclient could use a flag that allows users to do that.
Comment 2 Bill Dietrich 2026-01-29 11:42:13 UTC
I think it does that (bring to foreground) on X11, and not on Wayland.  Which causes issues with e.g. clicking on a link in KeePassXC.
Comment 3 Akseli Lahtinen 2026-01-29 12:09:01 UTC
I will set this as confirmed then, thank you.
Comment 4 Bill Dietrich 2026-01-29 18:59:15 UTC
I don't have access to a system running X, I'm on Wayland.  Someone should test this on both to make sure X and Wayland behave differently as I think they do.