| Summary: | Searched text disappears upon refresh due to completed package installation | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | r.sgl |
| Component: | Application Menu (Kicker) widget | Assignee: | Eike Hein <hein> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | nate, noahadvs, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.12.9 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Kubuntu | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/-/commit/70854991c58ee26814a383a3a8350559d1e5a466 | Version Fixed/Implemented In: | 6.4.0 |
| Sentry Crash Report: | |||
|
Description
r.sgl
2020-02-23 12:57:04 UTC
Can confirm with Plasma 5.26.1 A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3050 Git commit 27bcbf6380d754646cbd14aed54459d872cb629f by Christoph Wolk. Committed on 09/06/2025 at 18:56. Pushed by cwo into branch 'master'. applets/kicker: rerun search on model refresh When the underlying model changes, such as from an app being installed or uninstalled, any active queries may be invalidated and have to be re- run. Currently, this will just clear the query and leave the widget in the default state. This is surprising and inconvenient, as the user has to repeat their input to get back to what they were doing. Instead, note the current search term on model refresh and re-enter it for the user, restarting the query. As query changes are on a timer, we require that clear is exposed in the backend, which is done in a separate p-w commit. FIXED-IN: 6.4.0 M +7 -1 applets/kicker/package/contents/ui/MenuRepresentation.qml M +2 -1 applets/kicker/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/27bcbf6380d754646cbd14aed54459d872cb629f Git commit 70854991c58ee26814a383a3a8350559d1e5a466 by Christoph Wolk. Committed on 09/06/2025 at 19:17. Pushed by cwo into branch 'Plasma/6.4'. applets/kicker: rerun search on model refresh When the underlying model changes, such as from an app being installed or uninstalled, any active queries may be invalidated and have to be re- run. Currently, this will just clear the query and leave the widget in the default state. This is surprising and inconvenient, as the user has to repeat their input to get back to what they were doing. Instead, note the current search term on model refresh and re-enter it for the user, restarting the query. As query changes are on a timer, we require that clear is exposed in the backend, which is done in a separate p-w commit. FIXED-IN: 6.4.0 (cherry picked from commit 27bcbf6380d754646cbd14aed54459d872cb629f) Co-authored-by: Christoph Wolk <cwo.kde@posteo.net> M +7 -1 applets/kicker/package/contents/ui/MenuRepresentation.qml M +2 -1 applets/kicker/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/70854991c58ee26814a383a3a8350559d1e5a466 |