-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
Leaving duplicate workspace nodes When refreshing #171458
Comments
I don't think so, I remember that the explorer always had issues with that. Since it's the explorer showing the error I suggest that the investigation starts there. It's likely that it gives us to restore a persisted state before the actual extension registers the FS |
cc @sandy081, I remember some tricks with how extension activation works with custom schemes, but I forgot. |
In configuration land I wait until the FSP is registered like this
|
This scenario happens when the workbench has already loaded and the page is being refreshed.
This seems like mostly a visual problem rather than missing/broken functionality, maybe the explorer view can avoid setting the tree input and triggering the layout if the workbench is about to go down anyway? |
Before refreshing the page, is the |
|
Reproduction step:
https://vscode.dev/
, then open any project from github, such ashttps://vscode.dev/github/yiliang114/vscode
Version: 1.74.3
Commit: 97dec17
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Embedder: vscode.dev
The text was updated successfully, but these errors were encountered: