Bug 366407 - Hangs on plasma startup for 5-7 seconds before accepting any input
Summary: Hangs on plasma startup for 5-7 seconds before accepting any input
Status: RESOLVED WORKSFORME
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 5.8.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-04 14:29 UTC by Jocelyn Thode
Modified: 2020-12-22 04:34 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
krunner strace at startup (336.15 KB, text/plain)
2016-08-04 14:32 UTC, Jocelyn Thode
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jocelyn Thode 2016-08-04 14:29:38 UTC
When I boot in my plasma session, krunner will hang for 5-7 seconds for the first search. After this initial delay, everything will work fine until I reboot.

I have these plugins for krunner :
- Applications
- System configuration
- Shell command
- IM

Reproducible: Always

Steps to Reproduce:
1. Boot into a plasma session
2. Open krunner with shortcut
3. Start typing

Actual Results:  
Krunner hangs for 5-7 seconds

Expected Results:  
Krunner should perform directly
Comment 1 Jocelyn Thode 2016-08-04 14:32:23 UTC
Created attachment 100449 [details]
krunner strace at startup

Contains a strace obtained with sudo strace -f -r -s 128 -o log.log -p "$(pidof krunner)"

strace if from a startup where krunner hanged. Research typed in was spoti
Comment 2 Nicolas 2016-09-20 08:07:13 UTC
Same issue here with the latest version on ArchLinux as of today (5.7.5). The first time krunner is used after startup, it takes 5-10s to react, and then it works as expected.
Comment 3 Nicolas 2016-09-27 12:01:31 UTC
(In reply to nico.cys from comment #2)
> Same issue here with the latest version on ArchLinux as of today (5.7.5).
> The first time krunner is used after startup, it takes 5-10s to react, and
> then it works as expected.

Ok, I posted about it on the Arch forums and was advised to deactivate the search plugins and to reactivate them one by one to find the culprit.
However, when I deactivated all of them and restarted the machine, krunner appeared to respond nearly instantly at the first invoke (~1s lag before text appeared, instant after that), and all the plugins were active somehow. Maybe it cleared some cache somewhere which made the situation OK again ?
Comment 4 Jocelyn Thode 2016-10-15 12:14:11 UTC
Your workaround didn't fix it for me. I noticed however that when typing the first few letters in the search bar, iotop reports a lot of read access.
Comment 5 Jocelyn Thode 2017-02-08 07:43:38 UTC
Since installing Plasma 5.9.0 on my arch install, the bug has disappeared for me. Can anyone confirm?
Comment 6 Justin Zobel 2020-11-22 04:15:05 UTC
I've not noticed this issue on krunner on KDE Neon User Edition or openSUSE Tumbleweed.

Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I've set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 7 Bug Janitor Service 2020-12-07 04:34:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2020-12-22 04:34:56 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!