SUMMARY When you mistype a command and hit [enter] on an empty list, then correct the error, krunner executes blindly some random command that's in the results. STEPS TO REPRODUCE I have musescore [application] installed. Also a MuseScore3 folder exists under documents that contains recently opened documents. now: 1. Type muse 2. inspect the command list. Here: [applications: musescore; recent documents: ...some musescore files ...] the application is first in the list. 3. type another e [input now is: musee] 4. wait for the list going empty, then hit enter 5. Press [backspace] OBSERVED RESULT Immediately krunner disappears and dolphin is getting launched (in my case) with the MuseScore3 folder open. EXPECTED RESULT krunner shouldnt't execute anything in this case but just update the possible commands.
I can add some more details on this bug. It is reproducible even easier: 1. Start krunner. 2. Press 'Enter' in empty field. 3. Press 'g' -- and immediately Gwenview is launched. So this 'Enter' keypress is somehow stored and launches the first application that would have been in the list, if the letter was typed without step 2. I.e. if I run Krunner and type 'e', it shows me 'Choose emoticon theme' in the top of the list. Now if I reproduce step 1, then 2 and then press 'e' instead of 'g' -- Emoticons chooser will be launched. Moreover, if I run Krunner, press 'Enter' and close it, this keypress stays stored somewhere and on the next start of Krunner on the first typed letter it will run the application which corresponds the search with this letter. That's weird. EXPECTED RESULT 'Enter' keypress should be flushed somehow to prevent accidental launches. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 20.04 (64-bit) KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.68.0 Qt Version: 5.12.8