Open ChGen opened 1 month ago
I think this may be a known problem, because there are a few open issues related to the close confirmation that could potentially cover this scenario. Possibly #2976 or #6549.
Indeed, looks like those are similar, but I think this case is quite straightforward and could be fixed directly, without discussion of complex logic and consequences. Actually, Alt+F4 seems to be the only unhandled way of closing the window. Alt+Space menu, taskbar menu and close button all show confirmations correctly.
So this was fixed a long time ago (see #2526), but it creeped up again?
I did a work-around by reassigning alt+f4
to quit
:
{ "command": "quit", "keys": "alt+f4" }
quit
shows a confirmation dialog asking to close the window, regardless if confirmCloseAllTabs
setting is explicitly set to false
or not present.
@codenotworking , thanks, with this workaround it indeed asks confirmation, but it's for the whole app now. Still, its better than nothing. Feels safer with confirmation :)
Can't wait for this to be added.
When you have 4 tabs open, and some of the tabs have 6 carefully arranged panes, some monitoring active processes
And you have 4 screens, so you think your Alt-F4 is going to the app under your mouse pointer, but you haven't actually clicked it yet...
...BAM! LOST ALL THAT WORK! OMG
Can't wait for this to be fixed :)
Windows Terminal version
1.20.11781.0
Windows build number
10.0.22631.3880
Other Software
Also reproducible in: Windows Terminal Preview Version: 1.21.1772.0
Steps to reproduce
Expected Behavior
Windows Terminal should ask for confirmation when closing window in any way: titlebar button, Alt+F4, Alt+Space menu, Taskbar menu, etc.
Actual Behavior
Pressing Alt+F4 shortcut will close Window Terminal window without confirmation, but pressing title bar 'close' button shows confirmation according to "Settings -> Interaction -> Warn when closing more than one tab" configuration.