Bug 362422

Summary: Suggestions in krunner show only up in the second attempt
Product: [Plasma] krunner Reporter: Benedikt Bauer <mail>
Component: generalAssignee: Kai Uwe Broulik <kde>
Status: CONFIRMED ---    
Severity: normal CC: alexander.lohnau
Priority: NOR    
Version First Reported In: 5.6.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Benedikt Bauer 2016-04-28 15:11:46 UTC
Whenever I launch krunner to start a program or open a file, it does not provide me with suggestions of potential programs or files as I type in the first place. However, as soon as I remove the just typed in letters and retype them again, I get suggestions immediately. My KDE version is Plasma 5.6.2 with KDE frameworks 5.21.0-1.

Reproducible: Always

Steps to Reproduce:
1. Hit Alt+F2 to open krunner
2. Start typing the name of a known program, file or whatever -> there are no suggestions appearing for possible candidates matching the text
3. Remove the just written text by hitting backspace until all text is deleted and type the same text again -> krunner presents possible candidates immediately


Expected Results:  
Suggestions should show up immediately as I type anything into the text field.

The same seems to happen in Kontact's auto-completion for email addresses. Here I also don't get any suggestions until I have deleted and re-entered any text.
Comment 1 Alexander Lohnau 2020-11-06 18:17:30 UTC
Confirmed, I am currently working on a patch to make the logic for the suggestions reusable, in that case a simple function call will fix this bug.