CTRL+F4 is not closing current tab #19247

Closed
opened 2026-01-31 06:37:59 +00:00 by claunia · 4 comments
Owner

Originally created by @TheMagnificent11 on GitHub (Jan 19, 2023).

Windows Terminal version

1.15.3465.0

Windows build number

10.0.19044.0

Other Software

No response

Steps to reproduce

  1. Open Windows Terminal
  2. Press CTRL+Shift+1 to open a new tab
  3. Types something into the new shell (to confirm that it has focus)
  4. Press CTRL+F4

Expected Behavior

The current tab is closed

Actual Behavior

Nothing

Originally created by @TheMagnificent11 on GitHub (Jan 19, 2023). ### Windows Terminal version 1.15.3465.0 ### Windows build number 10.0.19044.0 ### Other Software _No response_ ### Steps to reproduce 1. Open Windows Terminal 2. Press CTRL+Shift+1 to open a new tab 3. Types something into the new shell (to confirm that it has focus) 4. Press CTRL+F4 ### Expected Behavior The current tab is closed ### Actual Behavior Nothing
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 06:38:00 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Jan 20, 2023):

Did you bind closeTab or closePane to ctrl+f4?

Did you try searching for duplicates?

@zadjii-msft commented on GitHub (Jan 20, 2023): Did you bind `closeTab` or `closePane` to `ctrl+f4`? Did you try [searching for duplicates](https://github.com/microsoft/terminal/issues?q=is%3Aissue+ctrl%2Bf4)?
Author
Owner

@TheMagnificent11 commented on GitHub (Jan 20, 2023):

I did try searching for duplicates, but didn't find any that were open, and the closed ones said that the issue was fixed.

It turns out that closePane was mapped to CTRL+Shift+w and changing it to CTRL+F4 fixed my issue.

However, before changing the action binding, hovering over the "x" button for a tab said that CTRL+F4 was the shortcut, not CTRL+Shift+w.

So, I guess the bug is that hovering over the close button gives the wrong shortcut.

@TheMagnificent11 commented on GitHub (Jan 20, 2023): I did try searching for duplicates, but didn't find any that were open, and the closed ones said that the issue was fixed. It turns out that `closePane` was mapped to `CTRL+Shift+w` and changing it to `CTRL+F4` fixed my issue. However, before changing the action binding, hovering over the "x" button for a tab said that `CTRL+F4` was the shortcut, not `CTRL+Shift+w`. So, I guess the bug is that hovering over the close button gives the wrong shortcut.
Author
Owner

@zadjii-msft commented on GitHub (Jan 20, 2023):

Yep, that's basically the premise of /dup #10109. WinUI manually hardcodes the tooltip. I'm not sure we can easily replace it.

@zadjii-msft commented on GitHub (Jan 20, 2023): Yep, that's basically the premise of /dup #10109. WinUI manually hardcodes the tooltip. I'm not sure we can easily replace it.
Author
Owner

@ghost commented on GitHub (Jan 20, 2023):

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 20, 2023): 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!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19247