From e53ed3b9181d09b0eaa40d3ea1fa36b39f4748b1 Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Tue, 7 Jul 2026 12:27:52 +0200 Subject: [PATCH] plasmoid: auto-focus prompt input when expanded --- plasmoid/contents/ui/main.qml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plasmoid/contents/ui/main.qml b/plasmoid/contents/ui/main.qml index 4e80df9..093346f 100644 --- a/plasmoid/contents/ui/main.qml +++ b/plasmoid/contents/ui/main.qml @@ -79,6 +79,12 @@ PlasmoidItem { Layout.preferredHeight: 520 spacing: 0 + onVisibleChanged: { + if (visible && promptInput.enabled) { + promptInput.forceActiveFocus() + } + } + // --- Header --- RowLayout { Layout.fillWidth: true