Repository navigation
fix(dev): restore the Windows main window across Go rebuilds - #1802
Merged
Merged
Conversation
3 tasks
The staging change skipped the old RemoveAll and MkdirAll when a debugger runs the build, so stale files could survive and a missing directory was left to go build.
Collaborator
Author
|
Reviewed. I pushed b352fb5: with a debugger the build directory is emptied and recreated again, as it was before this change. Staging each non-debug build in its own temp directory avoids overwriting the running exe, and each directory goes when its app stops. Note #1806: both PRs rewrite the |
houko
enabled auto-merge (rebase)
November 22, 2026 04:23
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.
Summary
Restore the Windows main view’s last regular frame and borderless full-screen mode before the replacement process lays out the window. The session retains the regular placement so leaving full screen returns there.
Build each Windows replacement in its own directory. The running executable and its resources stay where they are until the replacement has built and the old process has stopped.
Part of #658. Linux placement, additional windows, macOS full screen, navigation state and seamless or identity-preserving handoff are still tracked there.
Verification
nsgodevtag.TestMinimalAppLinksfailures.