fix(windows): avoid dead project switcher in new-window mode - #99
Merged
1lck merged 4 commits intoAug 16, 2026
Merged
Conversation
…switcher-new-window # Conflicts: # windows/tauri/src/features/layout/components/sidebar/main-sidebar.tsx
1lck
approved these changes
Aug 16, 2026
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
Open Projects In New Windowis enabled.Open project...entry available for opening projects in a separate window.Root cause
The default Windows setting enables opening projects in a new window. In that mode, activity-bar project switching is intentionally disabled by
main-sidebar.tsx, but the project switcher control was still rendered. Selecting a project therefore called a handler that returned immediately, making the UI appear unresponsive.Conflict resolution
Merged the latest
preview/0.3.0into this branch and resolved themain-sidebar.tsximport conflict by retaining the upstream sidebar simplification together with the project-switcher visibility rule.Verification
bun test(12 passed)bun run typecheckbun run buildbun run lint(passes; existing warnings remain insrc/mocks/tauri-api-mock.ts)This PR does not include the pre-existing configuration changes or local planning/build artifacts in the worktree.