You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(devices): --unlock-volume on an already-present non-encrypted volume never shows "This is not an encrypted volume" #2007
main @ 2970e7a (built from source; the binary still reports 1.1.1). Found in the 1.2.0 release-candidate QA sweep.
Installation method
Built from source
Linux distribution and desktop environment
Arch Linux (Omarchy). Reproduced with the release binary on a private Xvfb display, inside a private user/mount namespace with fake fstab volumes (no real devices touched).
What happened?
strata --unlock-volume <device> for a volume that is present but not encrypted opens a plain Home window, with no status card. The exit code is 0. The message "This is not an encrypted volume" never appears.
When the same kind of volume appears 3 s after launch (while Strata waits), the card does show, so the classifier is right and only the immediate-match path is broken.
Steps to reproduce
Make sure a non-encrypted volume is listed. The test used an fstab entry for /dev/qa-fake-vol (vfat, not encrypted).
Run strata --unlock-volume /dev/qa-fake-vol.
Take screenshots every 250 ms for 1.5 s, and again at 3 s.
For comparison, run strata --unlock-volume /dev/qa-fake2 and add the fstab entry for it while Strata is waiting.
Expected behavior
The status card with "This is not an encrypted volume" shows in both cases.
Screenshots or video
N/A (described in words above)
Relevant logs
No response
Additional context
Likely cause (code read, unconfirmed): start_unlock_wait resolves synchronously right after present_target opens Home. The new window's BrowserEvent::Reset (src/ui/browser/events.rs:78-84) then removes every open-argument-status overlay, including the card just added. The same race would drop any immediate unlock error card.
Activity
fix: resolve the individual P3 bugs from the 1.2.0 release-candidate …
fix: polish the grouped P3 items from the 1.2.0 release-candidate QA …