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
ctrl+w on preview tab will close two tabs #86790
Comments
(Experimental duplicate detection)
|
@czastack I'm having trouble reproducing this issue. Just to confirm, this also happens when all extensions are disabled? Do you have any custom keybindings? |
I opened an issue with a similar problem and it was closed as a duplicate, but it added further insight as to how to reproduce this: Open 3 files. Select the far-right file. Notice the last two open tabs are closes simultaneously. This should only close ONE tab at a time. This was NOT a bug in the previous version. Editor Version Information: Note this happens on ANY tab, NOT only "preview" tabs |
@RMacfarlane Yes. When I disable all the extentions and move ~/.config/Code into other name, the isuue also happens. Are you trying to reproduce this issue on linux system? |
I see this on mac as well. It's erratic, though. Sometimes one tab closes, sometimes two. Version: 1.42.0-insider |
VSCODE ver: 1.41.1 26076a4 x64 +1 |
I can repro this in 1.42.1 in a clean install on linux.
It appears to consume the ctrl+w twice: if tabs are rearranged (i.e. open a second file, and rearrange the tabs such that the second file is in bewteen the .md and the preview), whichever tab would have gotten focus after the preview was closed gets closed as well; if the preview tab is the only one remaining, the second ghost ctrl+w closes the window. |
I'm experiencing this issue in the stable version, but not in insiders. Has it been fixed? It's only happening for images, and not for plain-text files. Stable version: Insiders version: |
FWIW, after the |
Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: