Bug 422582

Summary: breeze sddm theme results in many QML type errors
Product: [Plasma] plasmashell Reporter: daan.j.demeyer <daan.j.demeyer>
Component: Theme - BreezeAssignee: visual-design
Status: RESOLVED FIXED    
Severity: normal CC: aoudelet, nate, plasma-bugs
Priority: NOR    
Version: 5.19.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description daan.j.demeyer@gmail.com 2020-06-07 14:36:57 UTC
SUMMARY

Using the breeze sddm theme results in many QML type errors of the form: "TypeError: Cannot read property 'smallSpacing' of null".

STEPS TO REPRODUCE
1. Run sddm-greeter --test-mode --theme /usr/share/sddm/themes/breeze
2. Close the sddm-greeter window

OBSERVED RESULT

Output will contain many "TypeError: Cannot read property 'smallSpacing' of null" and similar errors."

EXPECTED RESULT

No errors

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0
sddm Version: 0.18.1

ADDITIONAL INFORMATION

When using the sddm theme, for some reason the QML "units" id is "null", which results in all the QML type errors. I've looked around the plasma source code to figure out why this is the case but I'm not familiar enough with QML to properly figure out why "units" is "null" when using the sddm theme.
Comment 1 Nate Graham 2022-11-03 16:46:59 UTC
This was fixed a while ago.
Comment 2 Nate Graham 2022-11-03 16:51:36 UTC
*** Bug 430857 has been marked as a duplicate of this bug. ***