#989511 /usr/bin/sddm-greeter: Journal warnings about Implicitly defined onFoo properties in Connections are deprecated

Package:
sddm
Source:
sddm
Description:
modern display manager for X11
Submitter:
Tia
Date:
2026-10-13 03:03:06 UTC
Severity:
normal
#989511#5
Date:
2021-06-05 21:04:52 UTC
From:
To:
Dear Maintainer,

Since installing Bullseye sddm-greeter started reporting warnings to the journal

lip 02 03:57:40 sddm-greeter[20366]: QFont::fromString: Invalid description '(empty)'
lip 02 03:57:40 sddm-greeter[20366]: file:///usr/lib/x86_64-linux-gnu/qt5/qml/SddmComponents/LayoutBox.qml:35:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }

Seems it is a change in QT syntax for connections.
https://stackoverflow.com/questions/62297192/qml-connections-implicitly-defined-onfoo-properties-in-connections-are-deprecat

Simmilary in qt-5 manual
https://doc.qt.io/qt-5/qml-qtqml-connections.html

It doesn't seem to impact functionality.

#989511#10
Date:
2022-09-16 09:55:17 UTC
From:
To:
I am seeing the same issue:

Sep 16 08:44:19 sddm-greeter[1596]: QFont::fromString: Invalid
description '(empty)'
Sep 16 08:44:19 sddm[1448]: Message received from greeter: Connect
...
Sep 16 08:44:19 sddm-greeter[1596]: Loading
file:///usr/share/sddm/themes/debian-theme/Main.qml...
Sep 16 08:44:19 upowerd[1672]: did not recognise USB path
/sys/devices/platform/USBC000:00/power_supply/ucsi-source-psy-USBC000:001,
please report
Sep 16 08:44:19 sddm-greeter[1596]:
file:///usr/lib/x86_64-linux-gnu/qt5/qml/SddmComponents/LayoutBox.qml:35:5:
QML Connections: Implicitly defined onFoo properties in Connections are
deprecated. Use this syntax instead: function on>
...
Sep 16 08:44:30 sddm-helper[2373]: [PAM] Conversation with 1 messages
Sep 16 08:44:30 sddm-helper[2373]: gkr-pam: unable to locate daemon
control file
Sep 16 08:44:30 sddm-helper[2373]: gkr-pam: stashed password to try
later in open session
Sep 16 08:44:30 sddm-helper[2373]: [PAM] returning.
Sep 16 08:44:30 sddm-helper[2373]: pam_kwallet5(sddm:auth): (null):
pam_sm_authenticate
Sep 16 08:44:30 sddm[1448]: Authenticated successfully
Sep 16 08:44:30 sddm-greeter[1596]: Message received from daemon:
LoginSucceeded

Debian (11, Bullseye) up to date, kernel 5.10.0-18-amd64, KDE desktop:
5.20.5, qt 5.15.2

What needs to be done to get rid of this, to fix this?

#989511#15
Date:
2026-10-13 03:02:22 UTC
From:
To:
Version: 0.21.0+git20241213.4a9aa2e-1

Both warnings in the original report have been fixed upstream.

* 82af2534211f39c158ecb75f467bc90a132c53bc converted the Connections handler in LayoutBox.qml to function onCurrentLayoutChanged(), fixing the deprecated implicit onFoo syntax.
* 93e0d5d2433ac10f92aaa22bc280750059bb7fee fixed font configuration deserialization so that an empty font string is not parsed as a QFont, addressing the QFont::fromString: Invalid
description '(empty)' warning.

The font fix was already included in Debian 0.20.0-1.
The later Connections fix was first included in 0.21.0+git20241213.4a9aa2e-1,
which contains both fixes. Closing with that historical fixed
version for the two reported warnings.

Regards,
Boyuan Yang