From e555a444aaa2f2525f509eb84e619f55b1a94166 Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Thu, 13 Jan 2022 19:56:34 -0500 Subject: [PATCH] widgets/krunner: Fix keyboard focus being invoked on shell startup --- components/mobileshell/qml/widgets/krunner/KRunnerWidget.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/mobileshell/qml/widgets/krunner/KRunnerWidget.qml b/components/mobileshell/qml/widgets/krunner/KRunnerWidget.qml index 393179c1..91180198 100644 --- a/components/mobileshell/qml/widgets/krunner/KRunnerWidget.qml +++ b/components/mobileshell/qml/widgets/krunner/KRunnerWidget.qml @@ -105,6 +105,7 @@ Item { id: anim duration: PlasmaCore.Units.longDuration * 2 easing.type: Easing.OutQuad + running: false onFinished: { if (anim.to === root.openedContentY) { queryField.forceActiveFocus(); @@ -162,7 +163,6 @@ Item { } PlasmaComponents.TextField { id: queryField - focus: true Layout.fillWidth: true placeholderText: i18n("Search…") inputMethodHints: Qt.ImhNoPredictiveText // don't need to press "enter" to update text