From 02caec42f6f754cfbb317eb834e3e51dcd956b5f 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 (cherry picked from commit 10b31ead111ab623879e7796f1434c15097b1f29) --- 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 /*