Repository navigation
Conversation
idleBlankTimer turns the display off five seconds after the last input on the lock screen. That is shorter than it takes to wake the machine, focus the password field and start typing, so the panel goes dark mid-entry and has to be nudged awake again, often more than once per unlock. Raise the interval to thirty seconds. Activity still re-arms the timer, so an untouched lock screen blanks one interval after the last input. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WDCXKUYgyKMb1ACcoBAbro
There was a problem hiding this comment.
Pull request overview
Raises the lock-screen display blanking delay from 5 to 30 seconds.
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.
Changes:
- Extends the idle blank timer.
- Documents the timing rationale.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| // Long enough to wake the machine, read the field and type a password | ||
| // without the panel going dark mid-entry. Any activity re-arms it, so an | ||
| // untouched lock screen still blanks one interval after the last input. | ||
| interval: 30000 |
There was a problem hiding this comment.
Added an interval assertion to lock-blank-fingerprint-test.sh. Confirmed it fails when the interval goes back to 5000.
Pins the thirty second interval so a revert to five seconds fails ./test/shell rather than passing silently. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WDCXKUYgyKMb1ACcoBAbro
|
Hardware report: Dell XPS 15 9500, Goodix Additional real-hardware evidence for the 5-to-30-second change: after opening the lid, the owner saw a password field on a black background, followed by the panel turning completely off. A key press restored the full lock screen, making the sequence feel like flicker or a failed wake. We changed the local lock plugin's blank timeout from 5 to 30 seconds, together with fingerprint resume coordination (preserve known enrollment, delay rearming by 1.5 seconds after resume, and clear the display-blanked state). After explicitly restarting the unlocked shell, the owner confirmed the resulting lid-open / fingerprint unlock flow works without keyboard or mouse input. The timeout change was not tested independently, so this is supporting UX evidence, not proof that this PR alone fixes the fingerprint/resume issue. The longer window gives the user time to see the restored lock screen and present a finger before blanking. Related resume work: #9919. |
idleBlankTimer turns the display off five seconds after the last input on the lock screen. That is shorter than it takes to wake the machine, focus the password field and start typing, so the panel goes dark mid-entry and has to be nudged awake again, often more than once per unlock.
Raise the interval to thirty seconds. Activity still re-arms the timer, so an untouched lock screen blanks one interval after the last input.