Bug 437303

Summary: Uninstalled applications can still show up in history
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: Application Launcher (Kickoff) widgetAssignee: David Edmundson <kde>
Status: CONFIRMED ---    
Severity: normal CC: mikel5764, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.27.80   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot

Description Patrick Silva 2021-05-18 12:34:22 UTC
Created attachment 138535 [details]
screenshot

STEPS TO REPRODUCE
1. launch a KDE app and close it (it appears in "History" section of kickoff, under "Applications")
2. uninstall the app launched in the step 1
3. see "History" section of kickoff 

OBSERVED RESULT
as we can see in the attached screenshot, uninstalled app appears
above "Applications" in History section

EXPECTED RESULT
uninstalled app should be removed from "History" section

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.22.80
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Graphics Platform: Wayland
Comment 1 Nate Graham 2021-05-19 02:19:00 UTC
How did you uninstall it exactly?
Comment 2 Patrick Silva 2021-05-19 02:27:56 UTC
sudo apt remove <application>
Comment 3 Nate Graham 2021-05-19 02:47:07 UTC
Then I'm not sure how we could easily fix this without checking whether or not every application is still installed right before we show the view.
Comment 4 Patrick Silva 2021-05-19 03:01:46 UTC
History of old kickoff had a bug after uninstalling an app too.
See bug 429088.