diff --git a/lookandfeel/contents/lockscreen/LockScreenUi.qml b/lookandfeel/contents/lockscreen/LockScreenUi.qml index 83564fc0a..8c7c0fb0b 100644 --- a/lookandfeel/contents/lockscreen/LockScreenUi.qml +++ b/lookandfeel/contents/lockscreen/LockScreenUi.qml @@ -230,9 +230,6 @@ PlasmaCore.ColorScope { // this isn't implicit, otherwise items still get processed for the scenegraph visible: opacity > 0 - // changing enabled will toggle if an item can have activeFocus, which otherwise - //keeps the text cursor blinking even when invisble - enabled: visible initialItem: MainBlock { id: mainBlock diff --git a/lookandfeel/contents/lockscreen/MainBlock.qml b/lookandfeel/contents/lockscreen/MainBlock.qml index 665e18d31..2b6d717e0 100644 --- a/lookandfeel/contents/lockscreen/MainBlock.qml +++ b/lookandfeel/contents/lockscreen/MainBlock.qml @@ -66,6 +66,12 @@ SessionManagementScreen { enabled: !authenticator.graceLocked revealPasswordButtonShown: true + // In Qt this is implicitly active based on focus rather than visibility + // in any other application having a focussed invisible object would be weird + // but here we are using to wake out of screensaver mode + // We need to explicitly disable cursor flashing to avoid unnecessary renders + cursorVisible: visible + onAccepted: { if (lockScreenUiVisible) { startLogin();