Bug 431393

Summary: Constant cpu load when anything is written on krunner while web shortcuts plugin is active
Product: [Plasma] krunner Reporter: Geraldo Simião <geraldo.simiao.kutz>
Component: webshortcutsAssignee: Alexander Lohnau <alexander.lohnau>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kitt997, m, nate, ngompa13, plasma-bugs, rdieter
Priority: HI    
Version: 5.20.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Journalctl -f from the moment krunner consumes CPU

Description Geraldo Simião 2021-01-10 14:24:11 UTC
SUMMARY

Constant load (CPU activity) on krunner causing interface hangs.
Looks to be WEB SHORTCUTS PLUGIN related because it does not occur anymore when I disable that plugin (I tested with all others).
Just closing Krunner don't stop the problem, it only stops when krunner service is killed and reiniciated.


STEPS TO REPRODUCE
1. keep all plugins active on krunner 
2. write something in it, or open some document with it
3. close the opened aplication, close krunner

OBSERVED RESULT
Observe on ksysguard that krunner unit is conummig some cpu even all is done and closed.

EXPECTED RESULT
After krunner is closed, its unit should not consumme any cpu resources.

SOFTWARE/OS VERSIONS

OS: Fedora release 33 (Thirty Three) x86_64
Kernel: 5.10.5-200.fc33.x86_64 
DE: Plasma 5.20.5
KDE Frameworks Version: 5.78.0 
Qt Version: 5.15.2

kf5-krunner-5.78.0-1.fc33.x86_64 


ADDITIONAL INFORMATION

Occured firs time after that upgrade: https://bodhi.fedoraproject.org/updates/FEDORA-2021-5da509fd8e

When WEB SHORTCUTS PLUGIN is disabled all works as expected.
Comment 1 Alexander Lohnau 2021-01-10 18:12:34 UTC
Can you still reproduce it when re-enabling this plugin?

And do you have any custom settings for this plugin (any other shortcuts added/different triggerword used)
Comment 2 Geraldo Simião 2021-01-11 01:29:03 UTC
(In reply to Alexander Lohnau from comment #1)
> Can you still reproduce it when re-enabling this plugin?
> 
> And do you have any custom settings for this plugin (any other shortcuts
> added/different triggerword used)

Yes, I can still reproduce when re-enable the plugin. And it stops when disabling again.
Actually I do not use this feature, so I never added another triggerword to it.
Comment 3 Geraldo Simião 2021-01-11 01:31:26 UTC
Created attachment 134726 [details]
Journalctl -f from the moment krunner consumes CPU
Comment 4 Alexander Lohnau 2021-01-12 15:52:58 UTC
*** Bug 431385 has been marked as a duplicate of this bug. ***
Comment 5 Alexander Lohnau 2021-01-12 15:55:10 UTC

*** This bug has been marked as a duplicate of bug 429593 ***
Comment 6 David 2021-01-14 09:08:33 UTC
I can confirm the exactly same happens on my machines. Just got rid of the web plugin to make krunner harmless.