Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions shell/plugins/lock/LockView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,16 @@ Item {
if (inputEnabled) Qt.callLater(forcePasswordFocus)
}

// Suspend leaves this surface mapped, so onCompleted never runs again.
// Resume also rebuilds the keymap and drops Qt activeFocus; a click already
// calls forcePasswordFocus, and this recovers the same path without one.
Timer {
interval: 100
repeat: true
running: root.inputEnabled && !root.authenticatingPassword && !passwordInput.activeFocus
onTriggered: root.forcePasswordFocus()
Comment on lines +85 to +86
}

// Measures the masked password at full size; passwordDotScale compares this
// against the field width to decide how far the dots must shrink to fit.
TextMetrics {
Expand Down