Skip to content

Disposing a tree view while it's visible causes it to stay empty #212078

Closed
@alexr00

Description

  1. Extension creates a tree view
  2. User opens the tree view
  3. Extension disposes the tree view while it's still open
  4. Extension creates the tree view again
  5. 🐛 The tree view will stay empty until it's visibility is toggled

Real world repo (also works as steps to verify):

  1. Connect to a Codespace (to use a specific build of VS Code you can specify a commit in the URL with /?vscodeCommitId=<commit>, ex /?vscodeCommitId=d850cd0dffe788501c6719c298936d0d9128cb1f)
  2. Open the Remote Explorer
  3. Reload the page. This will cause the Codespace to load with the remote explorer visible
  4. You'll see that the Codespace view in the remote explorer is empty

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugcandidateIssue identified as probable candidate for fixing in the next releasetree-viewsExtension tree view issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions