Bug 27115

Summary: QML error in Breeze SDDM theme reported by sddm-greeter
Product: Mageia Reporter: Aurelien Oudelet <ouaurelien>
Component: RPM PackagesAssignee: KDE maintainers <kde>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210
Version: CauldronKeywords: UPSTREAM
Target Milestone: ---   
Hardware: All   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=425349
Whiteboard:
Source RPM: breeze-5.20.4-1.mga8.src.rpm CVE:
Status comment:
Bug Depends on:    
Bug Blocks: 17523    
Attachments: sddm-greeter output at login time with Breeze theme

Description Aurelien Oudelet 2020-08-14 18:06:39 CEST
SUMMARY
sddm-greeter complains about Breeze Login theme. Here is output from journal:

sddm-greeter[2075]: Loading file:///usr/share/sddm/themes/breeze/Main.qml...
sddm-greeter[2075]: QObject: Cannot create children for a parent that is in a different thread.
                   (Parent is QGuiApplication(0x7ffec7657f50), parent's thread is QThread(0x1451d10), current thread is QThread(0x14b3060)
sddm-greeter[2075]: QObject: Cannot create children for a parent that is in a different thread.
                   (Parent is QGuiApplication(0x7ffec7657f50), parent's thread is QThread(0x1451d10), current thread is QThread(0x14b3060)
sddm-greeter[2075]: QObject: Cannot create children for a parent that is in a different thread.
                   (Parent is QGuiApplication(0x7ffec7657f50), parent's thread is QThread(0x1451d10), current thread is QThread(0x14b3060)
sddm-greeter[2075]: QObject::installEventFilter(): Cannot filter events for objects in a different thread.
sddm-greeter[2075]: Error: could not load plugin for platform "" error: "La bibliothèque partagée est introuvable." QObject(0x0)
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/Main.qml:495:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<argument>
sddm-greeter[2075]: <input>:406:376: Could not add child element to parent element because the types are incorrect.
sddm-greeter[2075]: <input>:407:126: Could not add child element to parent element because the types are incorrect.
sddm-greeter[2075]: <input>:408:126: Could not add child element to parent element because the types are incorrect.
sddm-greeter[2075]: <input>:408:385: Could not add child element to parent element because the types are incorrect.
sddm-greeter[2075]: <input>:409:125: Could not add child element to parent element because the types are incorrect.
sddm-greeter[2075]: <input>:410:124: Could not add child element to parent element because the types are incorrect.
sddm-greeter[2075]: <input>:411:125: Could not add child element to parent element because the types are incorrect.
sddm-greeter[2075]: <input>:411:371: Could not add child element to parent element because the types are incorrect.
sddm-greeter[2075]: <input>:411:619: Could not add child element to parent element because the types are incorrect.
sddm-greeter[2075]: file:///usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:209:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax i>
sddm-greeter[2075]: file:///usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:209:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax i>
sddm-greeter[2075]: file:///usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:209:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax i>
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/VirtualKeyboard.qml:20:1: module "QtQuick.VirtualKeyboard" is not installed
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/Login.qml:103:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<argume>
sddm-greeter[2075]: file:///usr/lib64/qt5/qml/org/kde/plasma/components/Button.qml:52: ReferenceError: PlasmaCore is not defined
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/Main.qml:192: TypeError: Cannot read property 'Locked' of undefined
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/Main.qml:463: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[2075]: file:///usr/lib64/qt5/qml/org/kde/plasma/workspace/components/BatteryIcon.qml:42: TypeError: Cannot call method 'roundToIconSize' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/Battery.qml:27: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/Main.qml:441: TypeError: Cannot read property 'largeSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/Main.qml:446: TypeError: Cannot read property 'gridUnit' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/Main.qml:157: TypeError: Cannot read property 'gridUnit' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/ActionButton.qml:102: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/ActionButton.qml:39: TypeError: Cannot read property 'gridUnit' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/ActionButton.qml:55: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/ActionButton.qml:41: TypeError: Cannot read property 'largeSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/ActionButton.qml:42: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/ActionButton.qml:102: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/ActionButton.qml:39: TypeError: Cannot read property 'gridUnit' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/ActionButton.qml:55: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/ActionButton.qml:41: TypeError: Cannot read property 'largeSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/ActionButton.qml:42: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/ActionButton.qml:102: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/ActionButton.qml:39: TypeError: Cannot read property 'gridUnit' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/ActionButton.qml:55: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/ActionButton.qml:41: TypeError: Cannot read property 'largeSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/ActionButton.qml:42: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/ActionButton.qml:102: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/ActionButton.qml:39: TypeError: Cannot read property 'gridUnit' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/ActionButton.qml:55: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/ActionButton.qml:41: TypeError: Cannot read property 'largeSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/ActionButton.qml:42: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/Login.qml:120: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/Login.qml:115: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/SessionManagementScreen.qml:84: TypeError: Cannot read property 'gridUnit' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/SessionManagementScreen.qml:114: TypeError: Cannot read property 'largeSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/SessionManagementScreen.qml:100: TypeError: Cannot read property 'gridUnit' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/SessionManagementScreen.qml:101: TypeError: Cannot read property 'gridUnit' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/SessionManagementScreen.qml:91: TypeError: Cannot read property 'gridUnit' of null
kernel: traps: sddm-greeter[2075] general protection fault ip:7fd5d704e137 sp:7ffec7655cc0 error:0 in libQt5Qml.so.5.15.0[7fd5d6e2e000+2b6000]

sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/Login.qml:120: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/Login.qml:115: TypeError: Cannot read property 'smallSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/SessionManagementScreen.qml:84: TypeError: Cannot read property 'gridUnit' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/SessionManagementScreen.qml:114: TypeError: Cannot read property 'largeSpacing' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/SessionManagementScreen.qml:100: TypeError: Cannot read property 'gridUnit' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/SessionManagementScreen.qml:101: TypeError: Cannot read property 'gridUnit' of null
sddm-greeter[2075]: file:///usr/share/sddm/themes/breeze/components/SessionManagementScreen.qml:91: TypeError: Cannot read property 'gridUnit' of null

OBSERVED RESULT
Login is fine, no lag on my system. Therefore, such logging errors in journal are cumbersome and come from default Breeze theme shipped by Breeze package. Upstream issue?

EXPECTED RESULT
Login fine. No errors in journal related to Breeze files.

SOFTWARE/OS VERSIONS

Operating System: Mageia 8
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0
Kernel Version: 5.8.1-desktop-2.mga8
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-6600K CPU @ 3.50GHz
Memory: 15.6 Gio of RAM
Graphics Processor: GeForce GTX 1660 Ti/PCIe/SSE2

On Mageia-side,
sddm is at version 0.18.1 (Latest upstream version)
Breeze theme is 5.73
And Breeze SDDM theme comes from our plasma-workspace-5.19.4-2.mga8 package

So assigning this to KDE maintainers.
Comment 1 Aurelien Oudelet 2020-08-14 18:08:00 CEST
Also reported upstream to follow up.

https://bugs.kde.org/show_bug.cgi?id=425349

Keywords: (none) => UPSTREAM

Aurelien Oudelet 2020-08-14 18:08:07 CEST

See Also: (none) => https://bugs.kde.org/show_bug.cgi?id=425349

Comment 2 Aurelien Oudelet 2020-08-17 21:07:20 CEST
See Comment 1 in upstream bug:

https://bugs.kde.org/show_bug.cgi?id=425349#c1

Will be resolved in 5.20 version of Plasma Workspace (scheduled around September 2020).
Aurelien Oudelet 2020-10-29 16:13:22 CET

Blocks: (none) => 17523

Comment 3 Aurelien Oudelet 2020-12-27 16:06:27 CET
Created attachment 12158 [details]
sddm-greeter output at login time with Breeze theme
Comment 4 Aurelien Oudelet 2020-12-27 16:13:52 CET
Still the same, the output is even longer (66 lines before, now pretty 121 lines).

Reopened an issue upstream: https://bugs.kde.org/show_bug.cgi?id=430857

Source RPM: plasma-workspace-5.19.4-2.mga8.src.rpm => breeze-5.20.4-1.mga8.src.rpm

Comment 5 David GEIGER 2023-07-13 05:49:58 CEST
Fixed since plasma 5.20.x series.

Resolution: (none) => FIXED
Status: NEW => RESOLVED
CC: (none) => geiger.david68210