diff --git a/shell/modules/TrayModule.qml b/shell/modules/TrayModule.qml index 66a4c89..647adce 100644 --- a/shell/modules/TrayModule.qml +++ b/shell/modules/TrayModule.qml @@ -15,6 +15,24 @@ RowLayout { required property var bar property var _activeMenu: null + Component.onCompleted: console.log("[TrayModule] created, enable:", S.Modules.tray.enable, "repeater count:", _trayRepeater.count) + + onVisibleChanged: console.log("[TrayModule] visible:", visible, "enable:", S.Modules.tray.enable, "count:", _trayRepeater.count) + + Connections { + target: _trayRepeater + function onCountChanged() { + console.log("[TrayModule] repeater count:", _trayRepeater.count); + } + } + + Connections { + target: SystemTray.items + function onValuesChanged() { + console.log("[TrayModule] model valuesChanged, values.length:", SystemTray.items.values.length, "repeater count:", _trayRepeater.count); + } + } + Repeater { id: _trayRepeater model: SystemTray.items