From 6b5159dfa03b7b6e34e61b18552fb3405ee8a5e5 Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Fri, 21 Jan 2022 22:34:39 +0100 Subject: [PATCH] Make SessionManagementScreen a FocusScope SessionManagementScreen needs to be a FocusScope, so that when it gets focused directly (through the StackView), it directs it to the proper control inside instead of stealing it from them. This fixes initial focus of the controls in the SDDM theme. BUG: 447817 --- lookandfeel/contents/components/SessionManagementScreen.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lookandfeel/contents/components/SessionManagementScreen.qml b/lookandfeel/contents/components/SessionManagementScreen.qml index f002e516b..8f3eb2a33 100644 --- a/lookandfeel/contents/components/SessionManagementScreen.qml +++ b/lookandfeel/contents/components/SessionManagementScreen.qml @@ -12,7 +12,7 @@ import QtQuick.Controls 1.1 import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.components 3.0 as PlasmaComponents3 -Item { +FocusScope { id: root /* -- 2.33.1