https://bugs.kde.org/show_bug.cgi?id=407473

--- Comment #2 from Siddhartha Sahu <sh.siddhar...@gmail.com> ---
Thanks Nate! So I did this and the text input doesn't get blocked anymore.

```
diff --git a/lookandfeel/contents/lockscreen/MainBlock.qml
b/lookandfeel/contents/lockscreen/MainBlock.qml
index 97e7e943..529ccea3 100644
--- a/lookandfeel/contents/lockscreen/MainBlock.qml
+++ b/lookandfeel/contents/lockscreen/MainBlock.qml
@@ -59,7 +59,6 @@ SessionManagementScreen {
         focus: true
         echoMode: TextInput.Password
         inputMethodHints: Qt.ImhHiddenText | Qt.ImhSensitiveData |
Qt.ImhNoAutoUppercase | Qt.ImhNoPredictiveText
-        enabled: !authenticator.graceLocked
         revealPasswordButtonShown: true

         onAccepted: {
@@ -93,6 +92,7 @@ SessionManagementScreen {
     PlasmaComponents.Button {
         id: loginButton
         Layout.fillWidth: true
+        enabled: !authenticator.graceLocked

         text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Unlock")
         onClicked: startLogin()
```

I'm not sure what to change on line 88 that you linked. I guess another event
should replace "onClearPassword", maybe loginButton.onsubmit but I couldn't get
it to work yet.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to