Skip to content

Folder Location restores the previously selected canvas as a background tab #349766

Description

Testing #349696 · Windows 11 x64 · Code OSS ade7f1b

Setup: Enable chat.editorWindow.enableWorktree and reload. Have one Copilot chat in the original folder, another in a worktree, and a canvas available in the original chat.

  1. In the original folder, open a text file and a canvas. Click the canvas tab so its content is visible.
  2. In the status bar, choose Folder Location → Worktrees and select the other chat's worktree. The canvas tab disappears, as expected.
  3. Use Folder Location to return to the original folder. Check which tab is selected before clicking anything.

Expected: The canvas is still the active tab.

Actual: The canvas tab returns, but the text file is selected. Clicking the canvas shows its original content. Reproduced on two consecutive round trips.

The canvas is selected before switching away. After returning, message.ts is selected and the canvas tab is still open beside it.

Activity

  1. added a commit that references this issue on Nov 24, 2026
    06046a9
  2. added a commit that references this issue on Nov 24, 2026
    2603744
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions