Change:
Type: <bBug</bI've configured Visual Studio Code to be as simple as possible for me. Here are the changes I've made: I changed the position of the activity bar to "bottom". I've hidden the tab bar. I set the zoom level to "0.3". I've hidden the tab display. I've changed the position of the sidebar. However, I have a persistent problem: every time I open VSCode and open tabs for coding, I can't close them without reloading the window. What's more, even without opening a project, to close the home page that appears by default on startup, I also have to reload the window. This behavior is really frustrating. Configure VSCode: Change position of activity bar to "bottom". Hide tab bar. Set zoom level to "0.3". Hide tab display. Change sidebar position. Open VSCode. Open tabs for coding. Try to close tabs. Tabs should close normally without requiring a window reload. Tabs won't close unless the window is reloaded. Similarly, the home page that appears by default at startup cannot be closed without reloading the window. VS Code version: Code 1.89.1 (, 2024-05-07T05:13:33.891Z) OS version: WindowsNT x64 10.0. Modes: <details<summarySystem Info</summary </details<details<summaryExtensions (18)</summaryExtensionVersion ------ better-comments3.0.2 codesnap1.3.4 codegeex2.9.0 architecture-view-nestjs0.7.0 vscode-tailwindcss0.10.5 dart-code3.88.1 flutter3.88.0 es7-react-js-snippets4.4.3 gitlens15.0.4 prettier-vscode10.4.0 vscode-firefox-debug2.9.10 headwind1.7.0 vscode-typescript-next5.5. material-icon-theme5.3.0 prisma5.14.0 vscode-thunder-client2.23.8 LiveServer5.7.9 rust-analyzer0.3.1958 (2 theme extensions excluded) </details<details<summaryA/B Experiments</summary</details<!-- generated by issue reporter --
I can't reproduce this. Can you please provide a minimum repro with a file?
Hey James, Yeah no issues. there y go: Ok, paste this minimal config into y vscode, quit & reopen vscode, load a project or try closing the "welcome" tab, problem should go away. Note: On my windows i've a custom display level (110%) that's not caused by this as i've also checked this side, James. Thank y!
Did you attach a file? I'm not seeing it here? Feel free to just paste the text of the minimum repro too.
{ "workbench.colorTheme": "Default Dark+", "workbench.activityBar.location": "top", "window.zoomLevel": 0.2, // important change "[typescriptreact]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "editor.tabSize": 2, "editor.cursorBlinking": "expand", "editor.scrollbar.horizontalScrollbarSize": 8, "editor.scrollbar.verticalScrollbarSize": 8, "": "none" // important change }
Still can't repro... here's what I'm doing: your settings file into it new editors new editors (both with the keybinding and the ) No reload. Are these steps correct for you? Also, how are you closing the tabs? With the keybinding? If so, double check that the correct keybinding is being fired.
Ok, the keybinding is correct, reloading is only necessary when the problem actually occurs, the steps are correct. Watch this video
I can repro! Thanks! I think this goes to Steps: Open workspace-less VS Code Set these settings: Open a workspace the button in the top right doesn't close any windows. Similarly, the "Split Editor Right" doesn't work either
Thanks for the repro steps. I was able to fix the bug
set those settings on my mac and I no longer see the tab to close the editor window: <img width="1546" alt="Screenshot 2024-06-25 at 11 20 36 AM" src=""this is how it normally looks: <img width="1470" alt="Screenshot 2024-06-25 at 11 21 27 AM" src=""
The UI looks correct. The tab bar needs to be hidden. When following Tyler's repro steps here: , You should then be able to close the current editor with the action in the title bar on the right side

Discussion:
this.editorToolbarMenuDisposables.add(this.actionToolBar.actionRunner); } else { this.actionToolBar.actionRunner = new ActionRunner(); <del> this.actionToolBar.context = {}; </del> <ins> this.actionToolBar.context = undefined; </ins> this.editorToolbarMenuDisposables.add(this.actionToolBar.actionRunner); }