Bug 454156

Summary: Plasma styles downloaded by global themes fail to register
Product: [Frameworks and Libraries] frameworks-kpackage Reporter: doncbugs
Component: defaultAssignee: Marco Martin <notmart>
Status: REPORTED ---    
Severity: normal CC: alexander.lohnau, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: an error occurs during install

Description doncbugs 2022-05-21 13:25:07 UTC
Created attachment 149076 [details]
an error occurs during install

SUMMARY
When installing global themes, if a plasma theme is a dependency, it will fail register it as one. Thus, when the global theme is applied, its plasma style is not applied. Applying the global theme a second time or applying the style manually will still set it.

STEPS TO REPRODUCE
1. Install a global theme with a plasma style (through system settings or manually with kpackagetool5)
2. Apply the theme
3. 

OBSERVED RESULT
Effectively everything is applied except the plasma style. In my case, installing the theme changed everything, but left the plasma style as Breeze.

EXPECTED RESULT
The plasma style should also be applied.

Operating System: KDE neon Testing Edition
KDE Plasma Version: 5.24.90
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4
Kernel Version: 5.13.0-41-generic (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
This was tested with Willow Desktop and Infinity-Global.