When switch to a window with krunner it does not focus on the window. It does not happen with all applications (firefox works), but konsole and dolphin for example do not get focus although it does bring the windows in up.
Can reproduce on Arch Linux with krunner 5.28. Happens with qt5 (kate), qt4 (okular), gtk2 (libreoffice) and gtk3 (pulseaudio volume control) applications. However, firefox works, as revan mentioned.
Small mistake in my comment #1. The krunner version is 5.8.4.
Same on KDE Neon plasmashell 5.12.7. None of the apps I use get focus. No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic
Could be due to my extra monitors. I have 2x1920x1200 and don't seem to have this problem on my laptop with out any extra monitors. No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic Linux pop-os 4.18.0-20-generic #21~18.04.1pop0-Ubuntu SMP Wed May 15 14:41:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
I would gladly pay $100 to get this fixed.
My comment #1 on reproducibility was with a single display. However, I am no longer able to reproduce the bug with krunner version 5.16.4. I think the multimonitor issues might be a different bug.
The Good: Running Kubuntu 19.04 with a single desktop panel and 3 monitors, this is not an issue most of the time. Some times some apps, such as Terminator and Intellij do not get focus, or will lose it immediately. Still, most of the time it works as expected. On a side note, the browser plugin Plasma Integration makes KRunner's Browser feature work really well. I'm using it with Vivaldi and Chrome, and loving it. Plasma Integration https://chrome.google.com/webstore/detail/plasma-integration/cimiefiiaegbelhefglklhhakcgmhkai The Bad: What doesn't work is adding desktop panels to other monitors. As soon as I add an empty panel with a TaskManger widget to another monitor, KRunner can not focus the apps. Operating System: Kubuntu 19.04 KDE Plasma Version: 5.15.4 KDE Frameworks Version: 5.56.0 Qt Version: 5.12.2 Kernel Version: 5.0.0-23-generic OS Type: 64-bit Processors: 16 × Intel® Core™ i9-9900K CPU @ 3.60GHz Memory: 31.2 GiB of RAM
*** This bug has been marked as a duplicate of bug 350732 ***