https://bugs.kde.org/show_bug.cgi?id=528772
Bug ID: 528772
Summary: SDDM breeze theme fails on non-existent property
"passwordField"
Classification: Plasma
Product: Breeze
Version First 6.8.3
Reported In:
Platform: openSUSE
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
DESCRIPTION
There was a VirtualKeyboard component introduced by Bug 527138 fix. Now when
starting SDDM the breeze theme is not applied due to error. I've checked the
latest version of the plasma-desktop repository to check if the issue is also
there. See the error output below.
It seems that the issue comes from component naming conflict because imported
org.kde.breeze.components contains VirtualKeyboard component too, so it takes
higher priority than custom one in the local directory found in
VirtualKeyboard.qml.
I tried to rename breeze VirtualKeyboard.qml to ThemeVirtualKeyboard.qml and
update Main.qml to use ThemeVirtualKeyboard accordingly and it helped to fix
the issue.
```
user@localhost:~/source/kde.org> sddm-greeter-qt6 --test-mode --theme
./plasma-desktop/sddm-theme/
High-DPI autoscaling Enabled
Reading from "/usr/local/share/wayland-sessions/plasmawayland.desktop"
Reading from "/usr/share/wayland-sessions/plasmawayland.desktop"
Reading from "/usr/local/share/wayland-sessions/wayfire.desktop"
Reading from "/usr/share/wayland-sessions/wayfire.desktop"
Reading from "/usr/local/share/xsessions/default.desktop"
Reading from "/usr/share/xsessions/default.desktop"
Reading from "/usr/local/share/xsessions/icewm-session.desktop"
Reading from "/usr/share/xsessions/icewm-session.desktop"
Reading from "/usr/local/share/xsessions/icewm.desktop"
Reading from "/usr/share/xsessions/icewm.desktop"
Reading from "/usr/local/share/xsessions/openbox.desktop"
Reading from "/usr/share/xsessions/openbox.desktop"
Loading theme configuration from "./plasma-desktop/sddm-theme//theme.conf"
Socket error: "QLocalSocket::connectToServer: Neplatný název"
Loading file:./plasma-desktop/sddm-theme//Main.qml...
QObject::installEventFilter(): Cannot filter events for objects in a different
thread.
qt.qml.propertyCache.append: Member contentWidth of the object
PopupList_QMLTYPE_155 overrides a member of the base object. Consider renaming
it or adding final or override specifier
file:///home/pap/source/kde.org/plasma-desktop/sddm-theme/Main.qml:325:13:
Cannot assign to non-existent property "passwordField"
passwordField: userListComponent.mainPasswordBox
^
file:///home/pap/source/kde.org/plasma-desktop/sddm-theme/Main.qml:325:13:
Cannot assign to non-existent property "passwordField"
passwordField: userListComponent.mainPasswordBox
^
Fallback to embedded theme
```
STEPS TO REPRODUCE
1. Install plasma6-desktop, sddm-qt6 and sddm-greeter-qt6 packages
2. Run: sddm-greeter-qt6 --test-mode --theme /usr/share/sddm/themes/breeze
OBSERVED RESULT
Breeze theme is not applied to SDDM, SDDM loads in failback mode and displays
error:
"""
The current theme cannot be loaded due to the errors below, please select
another theme.
file:///usr/share/sddm/themes/breeze/Main.qml:325:13: Cannot assign to
non-existent property "passwordField"
"""
EXPECTED RESULT
Breeze theme is applied to SDDM
SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 16.0
KDE Plasma Version: 6.8.3
KDE Frameworks Version: 6.31.0
Qt Version: 6.12.0
Kernel Version: 6.12.0-160000.41-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i7-1185G7 @ 3.00GHz
Memory: 16 GiB of RAM (15.3 GiB usable)
Graphics Processor: Intel® Iris® Xe Graphics
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.