Repository navigation
Blank the lock screen while the fingerprint reader waits - #6817
Merged
Merged
Conversation
The blank timer was gated on `authenticating`, which is `authenticatingPassword || fingerprintAuthenticating`. The fingerprint PAM sits armed for the entire lock waiting for a finger, so on any machine with a reader enrolled the gate is true from lock until unlock: the timer is stopped when the lock begins and never re-armed, and the display stays lit indefinitely. Gate on `authenticatingPassword` instead. A password check in flight still holds the display up, and the passive fingerprint wait no longer does. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01EDpyC9793TKZBS2jXUNECG
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes lock-screen display blanking when fingerprint authentication remains armed.
Changes:
- Gates blanking only on active password authentication.
- Adds regression coverage for fingerprint-enabled locks.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
shell/plugins/lock/Service.qml |
Allows blanking during passive fingerprint authentication. |
test/shell.d/lock-blank-fingerprint-test.sh |
Verifies password-only blanking gates. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
nick1udwig
pushed a commit
to nick1udwig/omarchy
that referenced
this pull request
Sep 9, 2026
The blank timer was gated on `authenticating`, which is `authenticatingPassword || fingerprintAuthenticating`. The fingerprint PAM sits armed for the entire lock waiting for a finger, so on any machine with a reader enrolled the gate is true from lock until unlock: the timer is stopped when the lock begins and never re-armed, and the display stays lit indefinitely. Gate on `authenticatingPassword` instead. A password check in flight still holds the display up, and the passive fingerprint wait no longer does. Claude-Session: https://claude.ai/code/session_01EDpyC9793TKZBS2jXUNECG Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
With a fingerprint enrolled, the lock screen never turns the display off. The panel stays lit for as long as the machine is locked.
idleBlankTimeris gated onauthenticating:The gate is meant to keep the display up while a password is being checked. But
startFingerprint()runs as soon as the session lock goes secure and the fingerprint PAM then sits armed for the whole lock waiting for a finger, sofingerprintAuthenticating— and thereforeauthenticating— is true from lock until unlock. The timer armed bybeginLock()is stopped immediately and never re-armed, andrunBlank()never runs.Measured on a locked session (idle, no input) before the fix:
authenticatingstays true and DPMS never goes down. Machines without a reader are unaffected, which is why this isn't universally visible.Fix
Gate the blank on
authenticatingPasswordinstead of the combined state. A password check in flight still holds the display up; the passive fingerprint wait no longer does. Fingerprint unlock is untouched — the reader stays armed while the panel is off, andrunWake()on lock-screen input still re-arms the blank on its normal 5s run-up.After, same measurement:
The blank fires at +5s as intended and the display stays off until input wakes it.
Verification
hyprctl monitorsandomarchy-shell lock status. Both password and fingerprint unlock still work, and touching the trackpad while blanked wakes the panel and re-arms the timer.test/shell.d/lock-blank-fingerprint-test.sh, which fails on the current gate and passes with this change../test/all— the only failures are the threeomarchy-pkgscheckout tests (config,snapper,unowned-system-paths), which fail identically on a clean tree here because that sibling checkout isn't present.