Summary: | Removing package with favourites entry leaves ghost favourites entry behind until plasmashell is restarted | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Karl-Johan Karlsson <creideiki+kdebugs> |
Component: | Application Menu (Kicker) widget | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | fernandommuniz, nate, postix |
Priority: | NOR | ||
Version: | 6.2.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=438611 | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/2be342d610ca22e397801f3bc81cf3fc279c5dff | Version Fixed In: | 6.3.0 |
Sentry Crash Report: | |||
Attachments: | Screenshot showing Kicker offering to remove GnuCash from favourites, even though it's not there |
Description
Karl-Johan Karlsson
2024-12-27 20:52:56 UTC
Can reproduce. Maybe related to Bug 498172. It turns out that a reboot cleared the "ghost" entry, so I can now re-add the application to my favourites. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5047 *** Bug 498172 has been marked as a duplicate of this bug. *** Git commit 777f24cadb6dd16ad68b7a147090197c70e2bda1 by Fushan Wen, on behalf of Harald Sitter. Committed on 02/02/2025 at 10:06. Pushed by fusionfuture into branch 'master'. kicker: remove favorites more reliably previously we'd trip up on removal because the value of m_itemEntries may no longer point to an existing resource. when that is the case we must go by the key inside the map to relibably remove the favorite. M +3 -1 applets/kicker/plugin/kastatsfavoritesmodel.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/777f24cadb6dd16ad68b7a147090197c70e2bda1 Git commit 2be342d610ca22e397801f3bc81cf3fc279c5dff by Fushan Wen. Committed on 02/02/2025 at 10:08. Pushed by fusionfuture into branch 'Plasma/6.3'. kicker: remove favorites more reliably previously we'd trip up on removal because the value of m_itemEntries may no longer point to an existing resource. when that is the case we must go by the key inside the map to relibably remove the favorite. (cherry picked from commit 777f24cadb6dd16ad68b7a147090197c70e2bda1) Co-authored-by: Harald Sitter <sitter@kde.org> M +3 -1 applets/kicker/plugin/kastatsfavoritesmodel.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/2be342d610ca22e397801f3bc81cf3fc279c5dff |