Skip to content

Phones: a launch never puts a sheet back over the app - #85

Merged
i2cjak merged 1 commit into
mainfrom
backplane/phone-launch-no-overlay
Oct 13, 2026
Merged

i2cjak merged 1 commit into
mainfrom
backplane/phone-launch-no-overlay

Conversation

@i2cjak

@i2cjak i2cjak commented Oct 13, 2026

Copy link
Copy Markdown
Collaborator

The phone keeps its whole Bend client state (every 30 s, and when it goes to the background) and loads it at the next launch (Backplane.load → Hubs.stale). Hubs.stale only marked the state unsynced, so any sheet, menu, form or error that was up when it was kept came back over the app at every launch.

Reproduced with real taps (a new XCUITest runner driving the Release build of TestFlight 202610131602, paired by link): More → Search threads, wait for the state to be kept, kill and relaunch. "Search threads" covers the whole app, and the uberbot's card exists but isn't hittable.

Fix: Hubs.calm, applied on load, closes Find (palette), Settings, the pairing QR, the key form and the folder picker (flags), plus the row menu, the delete/remove/rename questions and the bot/room/routine forms (scratch), and clears the error. The selection and drafts stay. Android loads through the same bridge (and on its V8 reset), so it's covered too.

Tests: new test/mcalm_test.bend (Find, Settings and the bot form open, then all closed after the load path, with the selection kept); mnav and hubs pass; bridge.js and the release APK build. The real-tap repro on the fixed build is the merge gate.

🤖 Generated with Claude Code

The phone keeps its whole client state (every 30 s and when it goes to
the background) and loads it at the next launch. Hubs.stale only marked
it unsynced, so whatever was up when it was kept came back over the app:
reproduced with real taps (XCUITest, Release build) by leaving Search
threads open, relaunching, and finding the uberbot's card covered and
untappable. Hubs.calm, applied on load, shuts Find, Settings, the
pairing QR, the key form and the folder picker, the row menu, the
delete/remove/rename questions, the bot/room/routine forms and an error;
the selection and drafts stay. Android loads through the same bridge.
test/mcalm_test.bend.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@i2cjak
i2cjak merged commit caa2d2c into main Oct 13, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant