Skip to content

Refocus lock screen when session secures - #9523

Open
mlmrx wants to merge 1 commit into
omacom:quattrofrom
mlmrx:ml/fix-9418-lock-focus
Open

Refocus lock screen when session secures#9523
mlmrx wants to merge 1 commit into
omacom:quattrofrom
mlmrx:ml/fix-9418-lock-focus

Conversation

@mlmrx

@mlmrx mlmrx commented Sep 1, 2026

Copy link
Copy Markdown

Summary

  • refocus the password field when WlSessionLock.secure becomes true and keyboard input reaches the lock surface
  • retain the existing early focus request while closing the secure-state race
  • add focused regression coverage for the lock service's secure handler

Fixes #9418

Testing

  • bash test/shell.d/lock-focus-test.sh
  • bash test/shell.d/lock-blank-fingerprint-test.sh
  • bash test/shell.d/lock-stranded-recovery-test.sh
  • bash test/shell.d/monitor-recovery-test.sh
  • git diff --cached --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lock screen password field loses keyboard focus race — forcePasswordFocus() fires before WlSessionLock.secure becomes true

1 participant