Bug 431393 - Constant cpu load when anything is written on krunner while web shortcuts plugin is active
Summary: Constant cpu load when anything is written on krunner while web shortcuts plu...
Status: RESOLVED DUPLICATE of bug 429593
Alias: None
Product: krunner
Classification: Plasma
Component: webshortcuts (show other bugs)
Version: 5.20.5
Platform: Fedora RPMs Linux
: HI normal
Target Milestone: ---
Assignee: Alexander Lohnau
URL:
Keywords:
: 431385 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-01-10 14:24 UTC by Geraldo Simião
Modified: 2021-01-16 22:25 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Journalctl -f from the moment krunner consumes CPU (31.48 KB, text/plain)
2021-01-11 01:31 UTC, Geraldo Simião
Details

Note You need to log in before you can comment on or make changes to this bug.
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.