Fixed in https://github.com/badbundle/vault-app/pull/749 (merged as 68996281). On the Duo's outer screen, the door, words, password field and Unlock button now share one centre line. Where the centred band would be under 280 pt, and for words at the accessibility text sizes, the old move-as-far-as-fits behaviour stays. All existing lock screen snapshots are unchanged, and there are new outer-screen snapshots. Validated with the Mac UI tests skipped, at Bradley's request; a full run on main follows the queue.
Lock screen door isn't lined up with the text and Unlock button on the iPhone Duo's outer screen
Description
Reported by Bradley on 2026-10-18. This is a follow-up to VAULT-116 (#727), which centred the door on the whole screen for the unfolded Duo.
What happens
Measured on the outer screen (466 pt wide):
- The safe area is 83 pt narrower on the camera side.
- The door sits at the screen's centre, 41.5 pt right of the safe area's centre.
- "Vault Locked" and its message move only 21 pt, so they sit about 20 pt left of the door.
- The Unlock button doesn't move at all, about 42 pt left of the door.
Cause
CentredUnderTheDoor in AppLockBackdrop.swift moves content only as far as its measured width allows within the safe area.
- The details' own 32 pt horizontal padding counts as width, so the message's room is 21 pt rather than 41.5 pt.
- The action fills the safe width (a 440 pt cap plus 20 pt padding), so it has no room at all.
Change
- Lay the details and the action out in the widest band that's centred on the screen and stays inside the safe area. That's the safe width minus the difference between the leading and trailing insets.
- Then move them by the same offset as the door, so everything lines up exactly.
- The message may wrap one more line on the outer screen, and the button becomes a little narrower there.
- Screens with even insets don't change. Check the existing
AppLockViewSnapshotTests(VAULT-116's asymmetric cases), and add an outer-screen case.
Done when
On the Duo's outer screen, the door, title, message, password field and Unlock button share one centre line, inside the safe area. Other devices are unchanged, and make validate passes.
Sub-issues
0Linked issues
0GitHub
0No branches or pull requests linked.
Comments
2PR: https://github.com/badbundle/vault-app/pull/749 (b49207d8).
What's under the door is laid out in the band centred on the screen that stays inside the safe area, then moved with the door. The old move-as-far-as-fits behaviour stays where that band would be under 280 pt, and for words at the accessibility text sizes; without that fallback the outer screen's accessibility3 text ran into the password field. All 17 existing lock screen snapshots are unchanged, and there are new outer-screen snapshots (466×678, 83 pt trailing inset).
make validate is still to run: the Mac locked before it could start, and the Mac UI tests need it unlocked.