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

Fix reveal in explorer race condition #197291

Merged
merged 1 commit into from
Nov 2, 2023
Merged

Conversation

lramos15
Copy link
Member

@lramos15 lramos15 commented Nov 2, 2023

Fixes #197268

This one was quite challenging, there's two race conditions here both preventing selecting directories the first when no files are open and the second when an active file is open. This is caused by the visibility callback firing and resetting the tree input and then selecting the active file. Both of these can mess with a selection that was applied earlier.

@lramos15 lramos15 enabled auto-merge (squash) November 2, 2023 23:01
@lramos15 lramos15 self-assigned this Nov 2, 2023
@VSCodeTriageBot VSCodeTriageBot added this to the November 2023 milestone Nov 2, 2023
@lramos15 lramos15 merged commit 0e9376c into main Nov 2, 2023
7 checks passed
@lramos15 lramos15 deleted the lramos15/implicit-antlion branch November 2, 2023 23:17
@mjbvz
Copy link
Contributor

mjbvz commented Nov 2, 2023

Thanks for the fast turn around on this!

@github-actions github-actions bot locked and limited conversation to collaborators Dec 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

revealInExplorer command doesn't work when explorer is not visibile
4 participants