#989372 sddm-theme-debian-maui: sddm-greeter returns warning about Implicitly defined onFoo properties

#989372#5
Date:
2021-06-02 02:16:32 UTC
From:
To:
Dear Maintainer,

Sddm-greeter returns warning to journal

sddm-greeter[20366]: file:///usr/share/sddm/themes/debian-maui/Main.qml:41: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 in change of 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 the functionality of the theme.

#989372#10
Date:
2026-10-13 02:55:51 UTC
From:
To:
Version: 0.21.0+git20241213.4a9aa2e-1

Upstream commit 82af2534211f39c158ecb75f467bc90a132c53bc converted the
Connections handlers in src/greeter/theme/Main.qml to explicit function
on...() declarations, fixing the deprecation warning in this report.

Debian's theme-generation patch copies that file into debian-maui, so the
fix also applies to the Main.qml shipped by sddm-theme-debian-maui.

The change was first included in Debian 0.21.0+git20241213.4a9aa2e-1.
Closing with that historical fixed version.

Regards,
Boyuan Yang