Bug 503840 - In Kicker.RecentUsageModel, "forget" action doesn't refresh the model when "shownItems: Kicker.RecentUsageModel.OnlyDocs", so you have to restart plasmashell to see the changes
Summary: In Kicker.RecentUsageModel, "forget" action doesn't refresh the model when "s...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Menu (Kicker) widget (other bugs)
Version First Reported In: 6.3.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 469775 493638 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-05-06 12:37 UTC by Jin Liu
Modified: 2025-05-27 12:14 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jin Liu 2025-05-06 12:37:02 UTC
SUMMARY
E.g., in https://github.com/jinliu/plasma-applet-kickon/blob/58fff6830b60c8486ea4ee9b598398d653507963/src/package/contents/ui/main.qml#L104 , triggering "forget" action on recent files removes them from the database, but the model doesn't update, so the effect is only visible when plasmashell is restarted. It works fine with OnlyApps and AppsAndDocs options.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Kernel Version: 6.14.4-arch1-2 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600H with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Comment 1 Nate Graham 2025-05-06 15:36:39 UTC
*** Bug 469775 has been marked as a duplicate of this bug. ***
Comment 2 cwo 2025-05-27 12:14:03 UTC
*** Bug 493638 has been marked as a duplicate of this bug. ***