| Summary: | After clearing search history, it's is still available until KRunner is restarted | ||
|---|---|---|---|
| Product: | [Plasma] krunner | Reporter: | Piotr Dobrogost <bugs.kde.org> |
| Component: | general | Assignee: | Nate Graham <nate> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | alexander.lohnau, kdedev, natalie_clarius, nate |
| Priority: | NOR | ||
| Version First Reported In: | 6.4.3 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/25eff7e58aea58c61ee76fadf1702f52d0d9e945 | Version Fixed/Implemented In: | 6.6.0 |
| Sentry Crash Report: | |||
| Attachments: | screenshot of KRunner showing Recent Queries | ||
Can confirm. If I restart KRunner (or the computer) the history is gone as expected. So the issue is that it doesn't update to reflect the changes until re-launch. A possibly relevant merge request was started @ https://invent.kde.org/frameworks/krunner/-/merge_requests/206 A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5854 Git commit ab46552eabbb71f6459458faae1a12bfbb742506 by Nate Graham. Committed on 19/11/2025 at 20:29. Pushed by ngraham into branch 'master'. Emit historyChanged() when history changed Supports https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5854 Right now `history` is a property, but it's not `NOTIFY`able, limiting how it can be used from QML. Emit some signals when it changes. M +1 -0 src/CMakeLists.txt M +5 -0 src/runnermanager.cpp M +10 -1 src/runnermanager.h https://invent.kde.org/frameworks/krunner/-/commit/ab46552eabbb71f6459458faae1a12bfbb742506 Git commit 25eff7e58aea58c61ee76fadf1702f52d0d9e945 by Vlad Zahorodnii, on behalf of Nate Graham. Committed on 19/11/2025 at 21:48. Pushed by vladz into branch 'master'. RunCommand: disable history drop-down button when there's no history Depends on https://invent.kde.org/frameworks/krunner/-/merge_requests/206, so it's 6.6 material. ### Reason for the change It's awkward when clearing the history — either all at once or one item at a time — doesn't prevent the history popup from getting opened. ### Test plan 1. Open KRunner 2. Click settings button 3. Click Clear History… > For all Activities 4. Re-open KRunner 5. Try to how the history popup ### Bugs fixed FIXED-IN: 6.6.0 M +1 -0 krunner/qml/RunCommand.qml https://invent.kde.org/plasma/plasma-workspace/-/commit/25eff7e58aea58c61ee76fadf1702f52d0d9e945 |
Created attachment 183595 [details] screenshot of KRunner showing Recent Queries After clearing history in the settings KRunner still shows "Recent Queries" as shown in attached screenshot.