Bug 515053

Summary: Deleting installed themes doesn't work. They re-appear.
Product: [Applications] Discover Reporter: kde.freestyle644
Component: Installed pageAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: akselmo, aleixpol
Priority: NOR    
Version First Reported In: 6.5.5   
Target Milestone: ---   
Platform: CachyOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description kde.freestyle644 2026-01-25 12:19:56 UTC
SUMMARY
When you install a Global Theme and then delete it, when you go to Discover "Installed" page it is still present. If you delete it, it re-appears the moment you re-open Discover. Even worse is that when Discover says that it is still "Installed", it re-appears "partially" (what i mean by partially is that it won't get installed as a global theme, but just as a Window Decoration and as an Application Style if i'm not mistaken) in the System Settings themes. Even if i delete those themes manually from the System Settings, it is still present on the Discover "Installed" page.

STEPS TO REPRODUCE
1. Install a global theme from System Settings
2. Delete the same theme from System Settings
3. Check on Discover that it is still installed
4. Delete it from Discover
5. Check on System Settings that it is still present on certain theme sections
6. Delete the 3rd party themes from System Settings

OBSERVED RESULT
It is still installed on Discover, even if you try to delete it again from discover, it will still re-appear on System Settings.

EXPECTED RESULT
It isn't installed either on Discover or System Settings, it should disappear the moment you delete them from one or another.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: CachyOS Linux
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1

ADDITIONAL INFORMATION
!IMPORTANT INFO:
I solved this bug by manually deleting ~/.local/share/knewstuff3/aurorae.knsregistry and another file i don't exactly remember the name. Then i deleted the themes manually from ~/.local/share/aurorae, and they wouldn't appear anymore.
Comment 1 Akseli Lahtinen 2026-01-26 15:18:40 UTC
You're right, it doesn't properly clean up the theme. It uninstalls the global theme part, but not the actual files part of the theme.

Operating System: KDE Linux 2026-01-25
KDE Plasma Version: 6.6.80
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.1
Kernel Version: 6.18.6-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 6600