From 7921eacaaea678498a02c0f2f8c13411592143c9 Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Mon, 7 Jun 2021 16:52:12 -0400 Subject: [PATCH] lockscreen: explicitly tell keyboard to open rather than relying on focus --- look-and-feel/contents/lockscreen/PasswordBar.qml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/look-and-feel/contents/lockscreen/PasswordBar.qml b/look-and-feel/contents/lockscreen/PasswordBar.qml index e13fb89d..0adeb38f 100644 --- a/look-and-feel/contents/lockscreen/PasswordBar.qml +++ b/look-and-feel/contents/lockscreen/PasswordBar.qml @@ -179,7 +179,12 @@ Rectangle { anchors.margins: units.smallSpacing implicitWidth: height icon.name: "input-keyboard-virtual-symbolic" - onClicked: root.isPinMode = !root.isPinMode + onClicked: { + root.isPinMode = !root.isPinMode; + if (!root.isPinMode) { + Keyboards.KWinVirtualKeyboard.active = true; + } + } } // label ("wrong pin", "enter pin")