Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
alexr00 opened this issue May 6, 2024 · 1 comment
Closed

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

alexr00 opened this issue May 6, 2024 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug candidate Issue identified as probable candidate for fixing in the next release tree-views Extension tree view issues verified Verification succeeded

Comments

@alexr00
Copy link
Member

alexr00 commented May 6, 2024

  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
@MAHEENKANNOOZ

This comment was marked as spam.

@microsoft microsoft locked and limited conversation to collaborators Jun 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug candidate Issue identified as probable candidate for fixing in the next release tree-views Extension tree view issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants
@aeschli @alexr00 @MAHEENKANNOOZ and others