SUMMARY KRunner keeps searches done through the application launcher in its history, which means it offers a lot of completely useless searches (e.g. when you just search for initials of programs, such as "st" for Steam or "kal" for Kalendar). The two should be separated and KRunner should ideally not remember these searches. The ideal would be to have a setting in case people actually want KRunner to remember these searches, but as this behaviour wasn't present in the past I would treat it as a bug that has to be fixed. STEPS TO REPRODUCE 1. Search for something in the application launcher 2. Open KRunner OBSERVED RESULT KRunner offers the keyword used in the application launcher search in its history. EXPECTED RESULT KRunner's history is separated from the application launcher's. SOFTWARE/OS VERSIONS Linux: KDE neon KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.8 ADDITIONAL INFORMATION
I am working on this
this is taken care of by https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2915/commits and https://invent.kde.org/frameworks/krunner/-/merge_requests/136
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2969
Git commit 0e1b7e93f1bea769b865259b87adc75c726e0488 by Alexander Lohnau. Committed on 02/06/2023 at 05:19. Pushed by alex into branch 'master'. Allow use of different state config group This way, one can support different autocompletion groups when using the KRunner model. For example, if the Kicker and KRunner history should be handled separately. M +17 -0 autotests/runnermanagertest.cpp M +9 -3 src/model/resultsmodel.cpp M +1 -0 src/model/resultsmodel.h M +2 -2 src/model/runnerresultsmodel.cpp M +2 -1 src/model/runnerresultsmodel_p.h M +11 -4 src/runnermanager.cpp M +1 -0 src/runnermanager.h https://invent.kde.org/frameworks/krunner/-/commit/0e1b7e93f1bea769b865259b87adc75c726e0488
Git commit b35da284e93a6c577ffaad71333eb50d59717865 by Alexander Lohnau. Committed on 02/06/2023 at 05:37. Pushed by alex into branch 'master'. applets/kicker: Save KRunner history in different state config FIXED-IN: 6.0 M +5 -1 applets/kicker/plugin/runnermatchesmodel.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/b35da284e93a6c577ffaad71333eb50d59717865
Thank you for fixing this, Alexander! I admit I would have liked to see the fix before Plasma 6.0, but if anything it makes the next version of Plasma even better. Thanks!