-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
"Close to the Right" Sometimes Tries to Close Unsaved Files to the Left #46887
Comments
(Experimental duplicate detection) |
@sebmarkbage can you show a screenshot when this happens or a video? |
@sebmarkbage I am having a hard time to see an issue in your gif |
@bpasero See how when I click "Close to the Right" on test.js, it tries to close the tab to the left (Untitled-8). It shouldn't try to close any of the tabs to the left. |
@sebmarkbage I see, yes that looks like a bug. But I tried to reproduce this and I cannot, no matter what I try. So there must be steps involved that I am not doing. Can you try to reproduce this from our insider release (nightly builds) and if you can, remember what exact steps you did? You can give our preview releases a try from: https://code.visualstudio.com/insiders/ |
I'm hitting this as well, both on the insider build (6b4d53c) and the latest stable (1.21.1). Here are the steps to repro:
|
@aleksijuvani thanks for the steps, I can reproduce that. |
I can't consistently reproduce it but it is possible to get into a bad state where newly created and unsaved files (Untitled-#) has this issue. The newly created unsaved files are lined up on the left after reopening the project (e.g. after an upgrade) and other files to the right of them.
After trying to close a set of files to the right using "Close to the Right". The view switches to one of the unsaved files to the left and a popup asks me to save them. It was trying to close files that I didn't intent to close and then I'm forced to cancel. Which leaves me with all files still open.
The text was updated successfully, but these errors were encountered: