vinceliuice/Layan-kde

SDDM Theme not working

Closed this issue · 1 comments

OS: Arch Linux 6.11.3-arch1-1
Installed via the git repo

Output of sddm-greeter-qt6 --test-mode --theme /usr/share/sddm/themes/Layan:

High-DPI autoscaling Enabled
Reading from "/usr/local/share/wayland-sessions/plasma.desktop"
Reading from "/usr/share/wayland-sessions/plasma.desktop"
Reading from "/usr/local/share/wayland-sessions/sway.desktop"
Reading from "/usr/share/wayland-sessions/sway.desktop"
Reading from "/usr/local/share/xsessions/plasmax11.desktop"
Reading from "/usr/share/xsessions/plasmax11.desktop"
Loading theme configuration from "/usr/share/sddm/themes/Layan/theme.conf"
Socket error:  "QLocalSocket::connectToServer : Nom invalide"
Loading file:///usr/share/sddm/themes/Layan/Main.qml...
file:///usr/share/sddm/themes/Layan/Main.qml:214:25: Cannot assign to non-existent property "fontSize" 
                             fontSize: parseInt(config.fontSize) + 1 
                             ^
file:///usr/share/sddm/themes/Layan/Main.qml:214:25: Cannot assign to non-existent property "fontSize" 
                             fontSize: parseInt(config.fontSize) + 1 
                             ^
Fallback to embedded theme
file:///usr/lib/qt6/qml/SddmComponents/LayoutBox.qml:35:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/qt6/qml/SddmComponents/ComboBox.qml:105:9: QML QQuickImage: Cannot open: file:///usr/lib/qt6/qml/SddmComponents/angle-down.png
file:///usr/lib/qt6/qml/SddmComponents/ComboBox.qml:105:9: QML QQuickImage: Cannot open: file:///usr/lib/qt6/qml/SddmComponents/angle-down.png
qrc:/theme/Main.qml:41:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Adding view for "eDP-1" QRect(0,0 1504x1003)
file:///usr/lib/qt6/qml/SddmComponents/ComboBox.qml:105:9: QML QQuickImage: Cannot open: file:///usr/lib/qt6/qml/SddmComponents/angle-down.png
file:///usr/lib/qt6/qml/SddmComponents/ComboBox.qml:105:9: QML QQuickImage: Cannot open: file:///usr/lib/qt6/qml/SddmComponents/angle-down.png
qt.qml.context: file:///usr/lib/qt6/qml/SddmComponents/PictureBox.qml:106:13 Parameter "event" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead.
so02s commented

My solution was to go to Layan/Main.qml and change ActionButton's config

Comment that helped me:
https://invent.kde.org/plasma/plasma-workspace/-/commit/7701c10e2e43d610e26cb24bf5046355375debd8
It looks like fontSize is replaced with font.pointSize - perhaps some other properties have changed as well.
Edit: Changing iconSource to icon.source as well made the login screen work as expected.