Face unlock window steps aside while Apply asks for the password
CI / test (push) Canceled after 3m23s

After Apply the window kept the keyboard and the pointer and its dimmed card
covered the screen, so a password dialog that isn't Chandra's own (another
polkit agent's window) couldn't be reached. While Apply waits, the window now
shows only a note at the top and takes no input. A refused or cancelled
password brings it back with the snaps and marks kept (chandra-face camera
restarts the camera instead of exiting) and says so.

Test: snaps, Enter, the password dialog gets typing (Space no longer snaps
underneath) and the Authenticate click, then the root step finishes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hhiJfJNAYqWzQiuKMf
This commit is contained in:
Claude committed 2026-11-26 04:05:11 +00:00
1 parent f2b2618104
commit 2c2ce3f913
8 files changed
+150 -8

No files matched your search

+3 -2
View File
@@ -1972,8 +1972,9 @@ pub fn ChandraCompositor::desired_cursor(self : ChandraCompositor) -> UInt {
Some(ui) => return self.auth_cursor(ui)
None => ()
}
if self.shell.face.window is Some(_) {
return if self.face_window_hit() is Some(_) { 4U } else { 1U }
match self.shell.face.window {
Some(w) if !w.applying => return if self.face_window_hit() is Some(_) { 4U } else { 1U }
_ => ()
}
match self.shot {
Some(o) => return self.overlay_cursor(o)