plasma5-workspace/0001-Make-SessionManagementScreen-a-FocusScope.patch
Luca Beltrame bee4fc0fd6 Accepting request 949286 from home:Vogtinator:plasma5.24
- Add patch to fix initial focus in SDDM (kde#447817):
  * 0001-Make-SessionManagementScreen-a-FocusScope.patch
- Add patch to fix initial focus in the lockscreen:
  * 0001-Fix-initial-focus-in-LockScreenUi.patch

OBS-URL: https://build.opensuse.org/request/show/949286
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/plasma5-workspace?expand=0&rev=626
2022-01-27 09:37:12 +00:00

33 lines
1.1 KiB
Diff

From 6b5159dfa03b7b6e34e61b18552fb3405ee8a5e5 Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fabian@ritter-vogt.de>
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