Skip to content

Windows Terminal Alt+F4 behaviour #17613

Closed
@ChGen

Description

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

  1. Start Windows Terminal.
  2. Open Settings -> Interaction -> Warn when closing more than one tab -> On -> Save.
  3. Close Settings tab and open any second terminal tab.
  4. Try to close terminal window with the X button in the upper right corner. It will ask for confirmation.
  5. Try to close terminal window with Alt+F4 shortcut. It will close window without confirmation.
  6. When Settings tab is active, it sometimes asks for confilmation when I press Alt+F4, but mostly not.

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-UserInterfaceIssues pertaining to the user interface of the Console or TerminalHelp WantedWe encourage anyone to jump in on these.In-PRThis issue has a related PRIssue-BugIt either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsProduct-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions