From f6b6c51921d3a542b73c3e0ff7cfb0a46788559f Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Wed, 13 Aug 2025 23:50:26 -0400 Subject: [PATCH] homescreen: Fix initial zoom state This code seemed to depend on the task switcher state changing for having the initial state being correct. https://invent.kde.org/plasma/plasma-mobile/-/merge_requests/800 exposed this since the signal no longer gets emitted at the beginning. --- components/mobileshell/qml/homescreen/HomeScreen.qml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/mobileshell/qml/homescreen/HomeScreen.qml b/components/mobileshell/qml/homescreen/HomeScreen.qml index 2c1dd8a4..57b37750 100644 --- a/components/mobileshell/qml/homescreen/HomeScreen.qml +++ b/components/mobileshell/qml/homescreen/HomeScreen.qml @@ -103,6 +103,11 @@ Item { itemContainer.zoomIn(); } } + + Component.onCompleted: { + // Set initial item container state + onIsTaskSwitcherVisibleChanged(); + } } //END API implementation