Bug 422582 - breeze sddm theme results in many QML type errors
Summary: breeze sddm theme results in many QML type errors
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Theme - Breeze (show other bugs)
Version: 5.19.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: visual-design
URL:
Keywords:
: 430857 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-06-07 14:36 UTC by daan.j.demeyer@gmail.com
Modified: 2022-11-03 16:51 UTC (History)
3 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 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. ***