Skip to content

feat(app): follow a live window's app through a relaunch - #701

Merged
iamnbutler merged 3 commits into
mainfrom
live-follow
Oct 27, 2026
Merged

iamnbutler merged 3 commits into
mainfrom
live-follow

Conversation

@iamnbutler

Copy link
Copy Markdown
Contributor

Follow-up to #699. Rebuilding the app shown in a live tab (make run) relaunches it with a new window ID. The pane now keeps the last frame, follows the same app to its new window, and shows Relink only if the app hasn't come back within 10 seconds. After Ace restarts, a lost window tries the tab's saved app once before showing Relink.

Checked by hand in Ace-dev with Beats:

  • After restarting Ace, the tab's saved window was stale. The pane found Beats' current window by itself.
  • After quitting and reopening Beats, the pane came back on its own. A tempo change in Beats then showed in the split.

Built in Ace

No. Built with Claude Code in a terminal, using the Desktop Tools MCP, continuing the #699 session. It rebuilds Ace's own desktop shell, which can't be done from inside the Ace window being replaced.

A rebuilt app relaunches with a new window ID. The live view keeps the last frame and follows the app to its new window for 10 seconds, then shows Relink. After Ace restarts, a lost window tries the tab's saved app once.

Why: apps/desktop/native/live.m | a relaunch must be followed without a click, since make run restarts the app on every change
@iamnbutler
iamnbutler enabled auto-merge (squash) October 27, 2026 15:53
@iamnbutler
iamnbutler merged commit eb0becf into main Oct 27, 2026
1 check passed
@iamnbutler
iamnbutler deleted the live-follow branch October 27, 2026 15:55
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