Repository navigation
Conversation
This was referenced Nov 9, 2026
mjfrank
added a commit
to mjfrank/targetBridge
that referenced
this pull request
Nov 16, 2026
) Control URLs go to the existing main window instead of opening a new one, and "New Window" is removed; fits the app modes, which bring back the one main window. Includes the PR's window-lifecycle test tools. Original change by Betafer (swellweb#221). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015AiywzXyRsfrH6x9nyNXRQ
mjfrank
added a commit
to mjfrank/targetBridge
that referenced
this pull request
Nov 16, 2026
…ive buffers Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015AiywzXyRsfrH6x9nyNXRQ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Repeated targetbridge:// control requests currently create a new Sender main window each time. The official maint-3.6 App scene reproduces this: 12 requests leave 13 main windows.
Route external events to the existing main scene and remove the New Window command. Keep WindowGroup so closing the panel retains the existing background application lifetime; closing and reopening the panel still works. The production change is seven added lines in TBDisplaySenderApp.swift, including comments. The remaining files provide a reproducible lifecycle regression and its instructions.
Validation against maint-3.6 at 6fa46ac:
Runtime checks ran on Apple Silicon with macOS 26.6.1. The lifecycle fixture compiles the real App scene but uses inert service and automation collaborators, a unique bundle identifier and a unique URL scheme; it does not capture a display, send input or connect to a Receiver. The full public app was not installed or launched for streaming, and runtime behavior on Intel or older supported macOS versions was not re-tested here.
This prevents duplicate windows from normal control requests and the New Window menu; it is not a process singleton for forced launches and does not clean up previously restored duplicate windows. No capture, transport, rendering, pairing, permission handling, localization or version-number changes are included. Independent of #219 and #220; targets maint-3.6.