Skip to content

Agents window: explicitly reopening a restored Canvas does not show it #343711

Closed

Description

In a resumed Copilot session, explicitly opening a previously used Canvas (for example, Chess) succeeds in the runtime but does not display it in VS Code. It also remains absent from the activity-bar Canvas menu, although its definition appears in the editor + → Canvas menu.

Expected: Explicitly reopening the Canvas displays it and adds it to the active Canvas list. Merely resuming the session should not automatically reopen old Canvases.

Steps to Reproduce:

  1. Open a Canvas in an Agents-window Copilot session, then resume that session with its saved Canvas state.
  2. Select the same Canvas from the editor + → Canvas menu. Observe that it does not appear.
Environment and investigation
  • Copilot Chat Extension Version: N/A; Agent Host Copilot runtime.
  • VS Code Version: Reproduced on main; fix based on 2bc7d5ab691 (Code OSS 1.144.0 development sources).
  • OS Version: macOS; exact version not recorded.
  • Feature (e.g. agent/edit/ask mode): Agents window, Agent Host Canvases.
  • Selected model (e.g. GPT 4.1, Claude 3.7 Sonnet): N/A; explicit Canvas opening does not require a model turn.
  • Logs: Live inspection showed the instance was open in the runtime but marked ignoredAsRestored: true and projected: false. The Chess provider initialized successfully and its assets returned HTTP 200.

Resume suppresses unprojected restored Canvas instances to avoid automatically displaying old URLs. An explicit open did not account for that suppression, so its opened event was discarded. This is independent of the Canvas-management UI changes in #340458; the two menus intentionally distinguish available definitions from active instances.

Fix: #343706. Regression coverage includes event/RPC ordering, concurrent user messages, closed/unavailable events, and failed-open retries.

🤖 Written by GitHub Copilot on behalf of Joaquín Ruales (@jruales).

Activity

  1. added
    bug
    on Oct 23, 2026
  2. vs-code-engineering commented on Oct 23, 2026

    @vs-code-engineering
    Contributor

    Thanks for creating this issue! It looks like you may be using an old version of VS Code; the latest stable release is 1.143.1. Please try upgrading to the latest version and checking whether this issue remains.

    Happy Coding!

  3. added
    canvases
    on Oct 23, 2026
  4. added
    unreleased
    on Oct 23, 2026
  5. added this to the 1.144.0 milestone on Oct 23, 2026
  6. added
    insiders-released
    and removed
    unreleased
    on Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugcanvasesinsiders-releasedverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions