Can't exit new SUI with Focus mode enabled #12213

Closed
opened 2026-01-31 03:09:13 +00:00 by claunia · 9 comments
Owner

Originally created by @33b5e5 on GitHub (Jan 26, 2021).

Environment

Win32NT 10.0.19042.0 Microsoft Windows NT 10.0.19042.0
Windows Terminal Dev from main at b50df20

Steps to reproduce

  1. Build Windows Terminal Dev from main. Head was at b50df20 when I built. Notably this includes the new Settings UI (SUI), as well as #8882 and #8885.

  2. Enable Focus mode on launch. I used "launchMode": "focus" in settings.json to do this.

  3. Launch Windows Terminal Dev. My config loads an Ubuntu WSL2 session in Focus mode by default.

  4. Open the new SUI with CTRL+SHIFT+S.

Expected behavior

There should be an easy way to exit SUI and return to your other pane(s).

Actual behavior

There's no way to exit SUI with the mouse. In Focus mode, the X to close the tab is hidden.

Most of the keybindings I tried to use here also don't work. Specifically, I tried these first in an attempt to exit SUI:

CTRL+SHIFT+P (for the switcher)
CTRL+SHIFT+W (close pane)
ALT+F4 (close window)

After a while, I figured out I could use CTRL+TAB to switch tabs. Then I can use CTRL+SHIFT+P to open the switcher, Toggle Focus Mode, and finally I can close SUI with the mouse.

After some discussion with @cinnamon_msft she suggested I file a bug here. See: https://twitter.com/33b5e5/status/1353929089137041408

Originally created by @33b5e5 on GitHub (Jan 26, 2021). # Environment ```text Win32NT 10.0.19042.0 Microsoft Windows NT 10.0.19042.0 Windows Terminal Dev from main at b50df20 ``` # Steps to reproduce 1) Build Windows Terminal Dev from main. Head was at b50df20 when I built. Notably this includes the new Settings UI (SUI), as well as #8882 and #8885. 2) Enable Focus mode on launch. I used `"launchMode": "focus"` in settings.json to do this. 3) Launch Windows Terminal Dev. My config loads an Ubuntu WSL2 session in Focus mode by default. 4) Open the new SUI with CTRL+SHIFT+S. # Expected behavior There should be an easy way to exit SUI and return to your other pane(s). # Actual behavior There's no way to exit SUI with the mouse. In Focus mode, the X to close the tab is hidden. Most of the keybindings I tried to use here also don't work. Specifically, I tried these first in an attempt to exit SUI: CTRL+SHIFT+P (for the switcher) CTRL+SHIFT+W (close pane) ALT+F4 (close window) After a while, I figured out I could use CTRL+TAB to switch tabs. Then I can use CTRL+SHIFT+P to open the switcher, Toggle Focus Mode, and finally I can close SUI with the mouse. After some discussion with @cinnamon_msft she suggested I file a bug here. See: https://twitter.com/33b5e5/status/1353929089137041408
claunia added the Resolution-Duplicate label 2026-01-31 03:09:13 +00:00
Author
Owner

@DHowett commented on GitHub (Jan 26, 2021):

This is fixed as of #8903

@DHowett commented on GitHub (Jan 26, 2021): This is fixed as of #8903
Author
Owner

@DHowett commented on GitHub (Jan 26, 2021):

/dup #8903 😄 thanks for filing!

@DHowett commented on GitHub (Jan 26, 2021): /dup #8903 :smile: thanks for filing!
Author
Owner

@ghost commented on GitHub (Jan 26, 2021):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Jan 26, 2021): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Author
Owner

@Don-Vito commented on GitHub (Jan 26, 2021):

@DHowett - ctrl+w should work as well. Quite sure I tested it.

@Don-Vito commented on GitHub (Jan 26, 2021): @DHowett - ctrl+w should work as well. Quite sure I tested it.
Author
Owner

@33b5e5 commented on GitHub (Jan 26, 2021):

For what it's worth, CTRL+W does not close the SUI for me (from b50df20). I will pull in the latest and try again.

@33b5e5 commented on GitHub (Jan 26, 2021): For what it's worth, CTRL+W does not close the SUI for me (from b50df20). I will pull in the latest and try again.
Author
Owner

@DHowett commented on GitHub (Jan 26, 2021):

@don-vito Ages upon ages ago (version 0.3), we changed the default bindings from ctrl+t->newTab and ctrl+w->closeTab to ctrl+shift+t->newTab and ctrl+shift+w->close*Pane*. Have you really been carrying around settings from 0.2? 😄

@DHowett commented on GitHub (Jan 26, 2021): @don-vito Ages upon ages ago (version 0.3), we changed the default bindings from `ctrl+t->newTab` and `ctrl+w->closeTab` to `ctrl+shift+t->newTab` and `ctrl+shift+w->close*Pane*`. Have you really been carrying around settings from 0.2? :smile:
Author
Owner

@Don-Vito commented on GitHub (Jan 26, 2021):

@DHowett - hmm... I don't remember configuring this.. but I think I started using terminal around 0.4..

@Don-Vito commented on GitHub (Jan 26, 2021): @DHowett - hmm... I don't remember configuring this.. but I think I started using terminal around 0.4..
Author
Owner

@33b5e5 commented on GitHub (Jan 26, 2021):

Okay, after pulling in the latest, CTRL+SHIFT+W does work to close the SUI. CTRL+W does not work. I would love to see CTRL+SHIFT+P work here as well, because that would allow you to close the pane OR disable Focus mode (or switch panes, or whatever). Thanks for listening.

@33b5e5 commented on GitHub (Jan 26, 2021): Okay, after pulling in the latest, CTRL+SHIFT+W does work to close the SUI. CTRL+W does not work. I would love to see CTRL+SHIFT+P work here as well, because that would allow you to close the pane OR disable Focus mode (or switch panes, or whatever). Thanks for listening.
Author
Owner

@Don-Vito commented on GitHub (Jan 26, 2021):

@33b5e5 - yeah CTRL+W works only for me, because it is a binding to a closeTab which appears to be not bound by default.

Regarding Command Palette, I am worried what happens if the user clicks on action like "Find" which is not supported in the settings UI.

@Don-Vito commented on GitHub (Jan 26, 2021): @33b5e5 - yeah CTRL+W works only for me, because it is a binding to a `closeTab` which appears to be not bound by default. Regarding Command Palette, I am worried what happens if the user clicks on action like "Find" which is not supported in the settings UI.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12213