Bug 495989

Summary: krunner uses 100% of a CPU core when Recent Files plugin enabled
Product: [Plasma] krunner Reporter: kdebugs
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: alexander.lohnau, natalie_clarius
Priority: NOR    
Version First Reported In: 6.1.5   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description kdebugs 2024-11-08 23:32:13 UTC
When I alt-F2 to open krunner and use it to start applications, it usually (maybe 75-90% of the time) will start consuming 100% of a CPU. krunner still works, but a core is running constantly in the background, the CPU cooler fans spin up, etc.

To trigger the bug I don't need to actually start anything, I just start typing and it searches through it's guesses, etc. A bit of that, opening closing the krunner window, etc, will usually make the thread go to 100% usage.

If I go into settings -> Plugins: Configure Enabled Search Plugins... -> Recent Files and disable it, then Apply, the core drops back to normal and everything works fine.

No other plugins seem to cause any problems, just Recent Files.

$ kinfo
Operating System: Kubuntu 24.10
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.6.2
Kernel Version: 6.11.0-9-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-4770K CPU @ 3.50GHz
Memory: 15.5 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2