Lock plugin's `locked` flag stays stuck true after unlocking, blocking every later lock
What happened
After locking the session and unlocking again (entering the password normally through the Omarchy shell's own lock screen), the lock plugin's internal locked state gets stuck true even though the session is genuinely unlocked. Every subsequent lock attempt — keybind (omarchy-system-lock bound to Super+L / Ctrl+Super+L) or direct IPC (omarchy-shell lock lock) — then silently no-ops: no error, no lock screen, nothing happens.
omarchy-shell lock status right after such a cycle shows the inconsistency directly:
{"locked":true,"requested":false,"pending":false,"sessionLocked":false,"secure":false,...}
locked is declared as readonly property bool locked: lockRequested || sessionLock.locked || sessionLock.secure in shell/plugins/lock/Service.qml, so with requested/sessionLocked/secure all false it should be computing to false. The IPC lock() handler then refuses to do anything because it only proceeds if (!root.locked):
function lock(): string {
if (!root.passwordPamConfigured) return "missing-pam"
if (!root.locked && !root.beginLock()) return "failed"
return "ok"
}
So the stuck flag makes every later lock request a silent no-op returning "ok".
The only workaround found is omarchy restart shell, which resets the daemon's in-memory state and clears it (confirmed locked goes back to false afterward). This is reproducible every time, not a one-off.
Steps to reproduce
- Lock the session (
omarchy system lock, or any bind callingomarchy-system-lock). - Unlock normally by entering the password in the Omarchy shell's lock screen.
- Run
omarchy-shell lock status— notelocked: truewhilesessionLocked/secure/requestedare allfalse. - Try to lock again (same command/bind) — nothing happens.
omarchy restart shell—lockedresets tofalseand locking works again, until the next unlock.
Expected
After a normal unlock, locked should go back to false and the session should be lockable again without restarting the shell.
System
- Omarchy:
omarchy-dev 4.0.0.r6863.ga15636b-1 - Hyprland: 0.56.2
- Kernel: 7.2.9-2-cachyos
- GPU: AMD Radeon Vega (integrated, Ryzen 5 2400G)
- Display manager: SDDM
This looks fixed on quattro by #14978 ("Decide lock requests from the current lock state", d1a614ce). The lock() IPC handler and status no longer read the locked binding. They call currentlyLocked(), which re-reads lockRequested || sessionLock.locked || sessionLock.secure on every call, so a binding that missed a change notification can no longer turn later lock requests into no-ops.
The handler quoted in the report (if (!root.locked && ...)) is the code from before that change, so omarchy-dev r6863 probably predates it. The 4.0.x release packages don't include it yet either. Updating the dev package past d1a614ce should clear it. If it still reproduces after that, the status output from the new build would help narrow it down.
Confirming this on the release package: omarchy 4.0.2-2, quickshell 0.3.2-1, hyprland 0.57.1-2.
Super+Ctrl+L and idle lock both did nothing. omarchy-shell lock status showed the contradiction directly: locked true while every input to the binding was false:
{"locked":true,"requested":false,"pending":false,"sessionLocked":false,"secure":false,"realScreens":1,"passwordPam":true,"fingerprint":false,"authenticating":false,"lastEvent":"unlocked","lastEventAt":"2026-11-07T15:53:39.412Z"}
The idle service kept logging lock-system: lock-timeout → process-start: lock omarchy-system-lock → process-exit: lock exitCode=0 six times between 14:31Z and 16:40Z the next morning, so the idle lock was silently failing, with no error shown, from that last unlock until I restarted the shell ~25 hours later. omarchy restart shell cleared it (locked:false, lastEvent:"init").
So d1a614ce is needed in the 4.0.x release packages as well, not only on dev.
I read the report and follow-up and checked the quoted handler against the reported commit, current quattro, and the v4.5.0 tag. PR #14978 (commit d1a614ce6629f33810c832c690b087586bd6f4c5) changes lock(), isLocked(), and status() to read the underlying state through currentlyLocked(); that change is included in v4.5.0. I have not reproduced the failure or confirmed its resolution on your machine.
GPT-6 in Codex (effort not exposed) performed this source review. The second classifier returned no usable classification, so classification remains unsettled and no independent diagnostic review was completed. This stays open for maintainer triage; no verification labels have been added.
Closing as a duplicate of #14588. Both reports show locked:true after password unlock while requested, sessionLocked, and secure are all false; subsequent lock requests return success without locking, and restarting the shell clears the state. The earlier issue remains open and tracks this failure, including the later lock requests described in its follow-ups. This can be reopened if there is a distinct case missing from that report.
GPT-6 in Codex (effort not exposed) compared both reports, their follow-ups, and the old and current lock IPC handlers. Opus 5.5 High compared the two reports and agreed they describe the same bug; independence of that agreement is not guaranteed. This was a source and report comparison; no worker reproduction or tests were run in this session.