Bug 447505

Summary: Uninstalled look and fell themes remain
Product: [Applications] systemsettings Reporter: Vytautas <doggoofspeed>
Component: kcm_lookandfeelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: admin, alexander.lohnau, nate
Priority: NOR    
Version First Reported In: 5.23.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot shows how global theme menu is incorrectly showing the Moe theme as installed

Description Vytautas 2021-12-25 11:28:45 UTC
Created attachment 144855 [details]
Screenshot shows how global theme menu is incorrectly showing the Moe theme as installed

SUMMARY


STEPS TO REPRODUCE
1. Open Settings
2. Enter Global themes menu

OBSERVED RESULT
A deleted theme remains there (Even after system reboot)

EXPECTED RESULT
No theme

SOFTWARE/OS VERSIONS
Qt Version: 5.15.2
Frameworks Version: 5.89.0
Operating System: Linux 5.15.11-zen1-1-zen x86_64
Windowing System: X11
Distribution: Garuda Linux

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-04-19 15:44:15 UTC
I don't understand; the screenshot shows the Moe theme listed as "installed" in both the KCM and the "Download new global themes" dialog. They seem to agree. Are you sure the Moe theme is actually deleted? How did you delete it?
Comment 2 Vytautas 2022-04-19 17:50:02 UTC
(In reply to Nate Graham from comment #1)
> I don't understand; the screenshot shows the Moe theme listed as "installed"
> in both the KCM and the "Download new global themes" dialog. They seem to
> agree. Are you sure the Moe theme is actually deleted? How did you delete it?

Well by now it has fixed itself, but if I remember correctly, I just uninstalled the theme from the getnewstuff, restarted global settings and the theme remained. 
Also, what do you mean by "They seem to agree"? I am pretty sure that the kcm shows the theme as installed, whereas the dialog correctly doesn't show it among the installed themes. So they don't agree?
Comment 3 Nate Graham 2022-04-19 18:44:28 UTC
You can see that the dialog shows it among the installed themes because the toolbar shows the word "Installed" in it. That means you asked it to show you only themes that are installed. :)
Comment 4 Vytautas 2022-04-19 19:08:03 UTC
(In reply to Nate Graham from comment #3)
> You can see that the dialog shows it among the installed themes because the
> toolbar shows the word "Installed" in it. That means you asked it to show
> you only themes that are installed. :)

No? Moe isn't shown among the installed themes, only Layan is...
Comment 5 Alexander Lohnau 2022-04-19 19:14:59 UTC
>Moe isn't shown among the installed themes, only Layan is...

Makes sense.

For me it works properly when uninstalling a theme.
Comment 6 Nate Graham 2022-04-19 19:27:51 UTC
Oh! Silly me.