[Quattro] Idle screensaver-to-lock transition flashes the password prompt
System details
Omarchy 4.0.1 Quattro, Hyprland 0.56.2, Quickshell 0.3.1, NVIDIA RTX 3080 Ti, and two 2560×1440 DisplayPort outputs at 180 Hz and 200 Hz.
Problem
At the idle lock deadline, Omarchy removed the fullscreen screensaver while the native session lock was still creating surfaces. Depending on output timing, this exposed either the password view or the desktop before real DPMS standby.
Cause
omarchy-system-lock removed the terminal screensaver before ext-session-lock reported the multi-output lock secure. When composed with the compositor-side dismissal monitor from #7780, disabling that monitor at the lock deadline could also emit an active-state callback and tear the screensaver down through the input-dismiss path.
Verified solution
PR #9632 adds an idle-only concealed lock entry point. The lock surfaces paint black without loading the wallpaper or authentication field, the pointer is hidden during mapping, and synthetic pointer initialization cannot reveal the view. The idle service keeps the fullscreen screensaver mapped over the desktop until ext-session-lock reports secure, then performs the existing lock cleanup and real delayed DPMS standby.
The verified local composition also rejects #7780's dismissal callback after the idle cycle enters locking.
Verification
Focused idle, lock, fingerprint, password-layout, and system-lock tests pass. On the dual-output hardware test, the normal splash transitioned into genuine monitor standby without a password or desktop flash. Wake restored the synchronized lock views.
Scope
This fix changes only the normal idle screensaver-to-lock handoff. Suspend and hibernate remain separate in #9231.
Confirmed and reproduced independently on Omarchy 4.0.1 (single internal panel, Hyprland 0.56.2, Quickshell 0.3.1, no NVIDIA — so this isn't multi-output/GPU specific).
Same root cause: omarchy-system-lock calls pkill -f org.omarchy.screensaver (and pkill -x ttfx) immediately after firing the lock IPC call, without waiting for the ext-session-lock surface to actually report secure. Confirmed via journalctl timing: lock-requested at T, secure=true only ~0.6-1.6s later — screensaver was already dead well before that, exposing the desktop underneath for a visible frame or more.
As a stopgap (not as complete as PR #9632's concealed-lock-surface approach, but confirms the same diagnosis) we patched omarchy-system-lock to poll our lock IPC's status for secure:true (bounded ~2s timeout) before running the screensaver pkill calls. Verified over several idle cycles with fine-grained DPMS + journal logging: no more desktop flash, DPMS-off holds continuously from lock through to real unlock.
Happy to test #9632 directly if it lands — this is a real, reproducible issue outside the Quattro/NVIDIA case too.
I checked this against the current quattro head (be05233) by reading the code. Codex Medium reviewed the same path separately. The race is real, and nothing about it depends on NVIDIA hardware or on having more than one monitor.
- When the idle lock deadline fires,
shell/plugins/services/idle/Service.qmlrunsomarchy-system-lock. - That script calls
omarchy-shell lock lock, and thelock()IPC inshell/plugins/lock/Service.qmlanswersokas soon asbeginLock()has queued the request. It does not wait for the lock to be secure. queueSessionLock()then waits 500 ms before it even asks for the session lock. Meanwhileomarchy-system-lockhas already killedttfxand the screensaver terminal. Itspidwaitonly waits forttfxto exit; nothing on that path waits forsecure=true.
So on any machine there is a stretch where neither the screensaver nor the session lock covers the desktop. That fits the 0.6 to 1.6 s gap reported above on a single panel without NVIDIA. Codex agreed with this reading, so treat it as agreement rather than an independent check. It added one point of its own: the display only blanks on a separate five-second timer, so the password view can also show after the lock is secure and before standby. I did not run this on a worker. The mechanism is clear from the source, and the fixes below are being reviewed as their own items.
Open fixes:
- #9632 by @ClGratton (opened 2026-09-01) is the oldest. It is already linked to close this issue and keeps the screensaver up until the lock is secure on every output. It currently has merge conflicts with
quattro. - #11746 by @Arash-Afshar (opened 2026-09-13) includes the same concealed handoff, together with dismissing the screensaver on seat input.
Which of these to take is the maintainer's decision, so this issue now waits on them.