When I am using the Application Launcher search (which I assume is the same as KRunner) and type for example “code” for Visual Studio Code, there’s a very slight delay between results from “System Settings” show up and the result “Visual Studio Code” showing up. It’s the same for all applications
It’s enough that if I just type code I end up opening “Connection Preferences” and I have to say it’s super annoying.
I am guessing it’s finding out all the applications on the go but shouldn’t these be indexed beforehand?
It also might have something to do with “System Settings” items showing results with 2 characters entered and “Applications” items only showing up after 3.
Operating System: Manjaro Linux
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.11.0-3-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600G with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Product Name: B550M Steel Legend
Trying to follow your example, if I type ‘OSS’ to focus in on Code OSS, it is instantaneous both on krunner and on my main launcher.
If I start typing ‘code’ I get a list:
Applications
Kate
Code-OSS
Emoji-selector
KCharSelect
UXterm
I’d suggest first you try creating a new USER to get a vanilla desktop and see if the same thing occurs there, this is most likely a problem with your $USER data meaning your home directory needs cleaning up or something.
It’s also useful for you tell people what you have installed, what hardware, and what - if any - relevant journal entries you have found.
journalctl -p3 -xb --no-hostname
One thing you are right about: everything in your $PATH should show up instantly.
Operating System: KDE neon 6.0
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.8.0-45-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 4600H with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Same thing occurred on a new user (I made it a “Standard” not an “Administrator” in case it might matter)
No relevant entries in journalctl -p3 -xb --no-hostname
I installed VSCode through their PPA. It happens to all other applications (not preinstalled ones) for example GIMP which was installed through Discover (Flathub). Preinstalled ones like Firefox and Kate show up instantly. When I search for kate, additional options under “Kate Sessions” – “Start Kate (no arguments)” and “New Kate Session” experience the same delay
I haven’t installed anything that should interfere with KDE. Only applications through Discover, apt or PPAs
I suffered from this issue for a long time too, e.g. alt-f2, “firefox”, enter, opens the Firewall settings, not the Firefox browser, because KRunner is too slow to update the list of applications.
The easiest workaround is to disable most KRunner plugins. I started by disabling all but “Applications” and “System Settings”, then selectively enabling a few I found useful that don’t add noticeable latency (like “Calculator” and “Windows”).
It’s really a design flaw in KRunner, in that it asynchronously updates the listed suggestions while typing, but immediately selects the top result when you hit enter. It would be more consistent to wait for the current update to complete (which would introduce a bit of latency waiting on some of the slower plugins).