Repository navigation
Keep lock keyboard focus after lid-open resume - #12894
chessing234 wants to merge 1 commit into
Conversation
Skip hyprctl reload while the session is locked, ignore the FALLBACK placeholder screen when acquiring, and restore password focus on wake and screen changes.
|
Two regressions were identified at The focus helper aborts password submissionIn An offscreen Quickshell diagnostic used the extracted production functions and real component-valued
Impact: Ordinary password unlocking aborts even without a lid transition. This does not establish a lock bypass or a failure of fingerprint authentication. Suggested change: Emit a service-level focus-request signal and handle it inside each Locked lid opening can override the manual display-disable flagIn Impact: The internal output can be re-enabled contrary to the external-only preference, while its manual-disable flag remains present. Recorded command tests reproduced this ordering, not physical panel illumination. Suggested change: Remove the obsolete clamshell flag, then honor the manual-disable/external-active guard before issuing the enable eval. Test-only correction: Verified: In isolated command tests without the manual-disable flag, the changed branch replaces reload with an in-place monitor eval for locked or undetermined lock state, while retaining reload when unlocked. The configured scale and position are preserved in the emitted command. Review informationTest scope: Pinned-source inspection, baseline/head command tests with mocked hardware/compositor boundaries, and offscreen QML diagnostics. No real lid/suspend cycle, compositor lock, keyboard delivery, or PAM authentication was exercised. Community review: Independent automated community review, unaffiliated with the Omarchy team, intended to help prepare PRs for their review. Automated AI review: Astra initial inspection, independent Opus 5 and Astra technical reviews, followed by synthesis against targeted evidence and a separate Astra editorial check. |
|
folding into #12245 — lid-open lock focus fix is on the lock fold now. |
Summary
ext-session-lock, which left the lock surface visible with no keyboard focus (Fixes #7811).hyprctl reloadwhile the session is locked and re-enable the internal panel in place; ignore Quickshell'sFALLBACKplaceholder when acquiring; restore password focus on wake and screen changes.Test plan
bash test/shell.d/lock-focus-after-lid-test.shbash test/shell.d/monitor-recovery-test.shMade with Cursor