Bug 437144 - SDDM theme from reinstalled global theme is not available for selection in SDDM KCM despite it is marked as installed
Summary: SDDM theme from reinstalled global theme is not available for selection in SD...
Status: CONFIRMED
Alias: None
Product: frameworks-knewstuff
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-15 11:27 UTC by Patrick Silva
Modified: 2021-05-21 12:07 UTC (History)
2 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 Patrick Silva 2021-05-15 11:27:38 UTC
STEPS TO REPRODUCE
1. install Layan global theme from KDE Store
2. uninstall Layan global theme via GHNS window of Global Theme KCM
3. go to SDDM KCM: SDDM theme from just uninstalled Layan global theme is still available
4. remove Layan SDDM theme
5. reinstall Layan global theme
6. go to SDDM KCM again: now Layan SDDM theme is not available
7. click on "Get new SDDM themes..." button
8. click on "Everything" on top, choose "Show only installed entries"

OBSERVED RESULT
Layan SDDM theme is marked as installed despite it is not available for selection
in SDDM KCM

EXPECTED RESULT
Layan SDDM theme sohuld be available for selection in SDDM KCM after reinstallation
in the step 5

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-18 20:57:55 UTC
X11 too? Or just Wayland?
Comment 2 Patrick Silva 2021-05-19 00:06:06 UTC
X11 too.
Comment 3 Nate Graham 2021-05-20 21:01:39 UTC
Can reproduce on both X11 and Wayland with the Layan theme.
Comment 4 Dan Leinir Turthra Jensen 2021-05-21 08:49:16 UTC
For clarification, is step 4 done from the KCM or from the GHNS window? (i am guessing from the KCM, but just want to be sure so we can work out where to start looking)
Comment 5 Patrick Silva 2021-05-21 10:55:50 UTC
(In reply to Dan Leinir Turthra Jensen from comment #4)
> For clarification, is step 4 done from the KCM or from the GHNS window? (i
> am guessing from the KCM, but just want to be sure so we can work out where
> to start looking)

from the KCM.
Comment 6 Dan Leinir Turthra Jensen 2021-05-21 12:00:07 UTC
Thank you - i've got a suspicion i might know what's going on, and that matches that suspicion, thanks :) In short, i suspect that knewstuff still thinks it's installed, since it's removed from the kcm, and that the list of installed entries in the cache doesn't get stale entries removed when using the kpackagetool's kns integration thing - couple of places it could be going wrong, but if we're super lucky, it /should/ be as simple as adding RemoveDeadEntries=true to the sddmtheme.knsrc file, which you can check at your end as well just by editing that file (usually /usr/share/knsrcfiles/sddmtheme.knsrc) :)
Comment 7 Patrick Silva 2021-05-21 12:04:47 UTC
RemoveDeadEntries=true is already present in sddmtheme.knsrc file.
Comment 8 Dan Leinir Turthra Jensen 2021-05-21 12:07:33 UTC
(In reply to Patrick Silva from comment #7)
> RemoveDeadEntries=true is already present in sddmtheme.knsrc file.

Well damn, there goes that theory... Alright, i'll have to look closer, then. Thanks!