From c85252b09ae7d972713f4bd77b548ffb8fee70bc Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Sat, 1 Aug 2026 20:14:40 +0200 Subject: [PATCH] fix(gui): prevent session list from stealing keyboard focus - ListView and its placeholder label now have activeFocusOnTab: false and focus: false so clicking the empty sidebar doesn't steal focus from the prompt text area --- gui/main.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gui/main.qml b/gui/main.qml index f7761f7..f952671 100644 --- a/gui/main.qml +++ b/gui/main.qml @@ -550,6 +550,8 @@ ApplicationWindow { Layout.fillHeight: true model: sessionTreeModel clip: true + focus: false + activeFocusOnTab: false // Show placeholder when empty Label { @@ -559,6 +561,7 @@ ApplicationWindow { font.italic: true font.pixelSize: theme.fontSize > 0 ? theme.fontSize * 0.9 : 12 visible: sessionList.count === 0 + activeFocusOnTab: false } delegate: ItemDelegate {