Tabs display the close tab shortcut as Ctrl+F4, even though that's not bound by default. They should display what the actual keybinding is instead. #13823

Open
opened 2026-01-31 03:53:05 +00:00 by claunia · 3 comments
Owner

Originally created by @uvicorn on GitHub (May 17, 2021).

maintainer note: blocked on upstream https://github.com/microsoft/microsoft-ui-xaml/issues/4930


Windows Terminal version (or Windows build number)

windows terminal version: 1.7.1033.0

Other Software

No response

Steps to reproduce

  1. open terminal
  2. hover the mouse over the cross

there is no reference to the ctrl + f4 key in settings.json

Expected Behavior

ctrl+shift+w everywhere

Actual Behavior

изображение

Originally created by @uvicorn on GitHub (May 17, 2021). _maintainer note: blocked on upstream https://github.com/microsoft/microsoft-ui-xaml/issues/4930_ ---- ### Windows Terminal version (or Windows build number) windows terminal version: 1.7.1033.0 ### Other Software _No response_ ### Steps to reproduce 1. open terminal 2. hover the mouse over the cross there is no reference to the ctrl + f4 key in settings.json ### Expected Behavior ctrl+shift+w everywhere ### Actual Behavior ![изображение](https://user-images.githubusercontent.com/59787538/118495712-a85d8c80-b74d-11eb-92c4-a63169160059.png)
Author
Owner

@zadjii-msft commented on GitHub (May 17, 2021):

Huh. We get that text from WinUI on the tab close button by default. I bet we could override that somehow.

@zadjii-msft commented on GitHub (May 17, 2021): Huh. We get that text from WinUI on the tab close button by default. I bet we could override that somehow.
Author
Owner

@kovdu commented on GitHub (May 18, 2021):

Seems to be initialized here https://github.com/microsoft/microsoft-ui-xaml/blob/main/dev/TabView/TabView.cpp#L45 as a private member of the TabView class with the text taken from https://github.com/microsoft/microsoft-ui-xaml/blob/main/dev/TabView/Strings/en-us/Resources.resw#L137.

So I guess WinUI would first need to be adapted to make the tooltip on the close button configurable?

@kovdu commented on GitHub (May 18, 2021): Seems to be initialized here https://github.com/microsoft/microsoft-ui-xaml/blob/main/dev/TabView/TabView.cpp#L45 as a private member of the `TabView` class with the text taken from https://github.com/microsoft/microsoft-ui-xaml/blob/main/dev/TabView/Strings/en-us/Resources.resw#L137. So I guess WinUI would first need to be adapted to make the tooltip on the close button configurable?
Author
Owner

@vadimkantorov commented on GitHub (Feb 7, 2022):

Also stumbled on this. F-keys require some finger acrobatics on my laptop. It would be nice to have Ctrl+W/Ctrl+Shift+W supported and hinted correctly!

@vadimkantorov commented on GitHub (Feb 7, 2022): Also stumbled on this. F-keys require some finger acrobatics on my laptop. It would be nice to have Ctrl+W/Ctrl+Shift+W supported and hinted correctly!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#13823