Bug 503840

Summary: 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
Product: [Plasma] plasmashell Reporter: Jin Liu <ad.liu.jin>
Component: Application Menu (Kicker) widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: esperluette08, meven, nate, web
Priority: NOR    
Version First Reported In: 6.3.4   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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. ***