Keyboard shortcut for 10th profile doesn't work #1132

Closed
opened 2026-01-30 22:17:15 +00:00 by claunia · 7 comments
Owner

Originally created by @timheuer on GitHub (May 15, 2019).

When you have more than 10 profiles, using the key shortcut CTRL+SHIFT+0 to launch the 10th profile doesn't work. No-op.

Repro:
Load profiles.json
Copy one profile and paste it 11 more times (changing GUID)
Save profiles.json
Iterate through profile launching using CTRL+SHIFT+1 , 2, 3, etc. but when get to 0 it fails and doesn't launch that profile.

Originally created by @timheuer on GitHub (May 15, 2019). When you have more than 10 profiles, using the key shortcut CTRL+SHIFT+0 to launch the 10th profile doesn't work. No-op. Repro: Load profiles.json Copy one profile and paste it 11 more times (changing GUID) Save profiles.json Iterate through profile launching using CTRL+SHIFT+1 , 2, 3, etc. but when get to 0 it fails and doesn't launch that profile.
claunia added the Area-SettingsIssue-BugArea-InputArea-Accessibility labels 2026-01-30 22:17:15 +00:00
Author
Owner

@mKay00 commented on GitHub (May 15, 2019):

I tried to fix it, since this seemed like an easy task. But everything is correct, so I tried to use another keybinding (STRG + 0) and then it works. Has anybody an idea why? Is there another shortcut that uses CTRL + SHIFT + 0?

@mKay00 commented on GitHub (May 15, 2019): I tried to fix it, since this seemed like an easy task. But everything is correct, so I tried to use another keybinding (STRG + 0) and then it works. Has anybody an idea why? Is there another shortcut that uses CTRL + SHIFT + 0?
Author
Owner

@timheuer commented on GitHub (May 15, 2019):

Yes I think something is handling it and I don't know what either...not clear from the terminal code if it is something there, but thanks for looking...wonder if in conhost somewhere...

@timheuer commented on GitHub (May 15, 2019): Yes I think something is handling it and I don't know what either...not clear from the terminal code if it is something there, but thanks for looking...wonder if in conhost somewhere...
Author
Owner

@oising commented on GitHub (May 15, 2019):

It looks like this is an issue that has surfaced before in other apps, and may be related to the Windows IME (input method editor) which probably has dibs on ctrl+shift+0 with a global hook.

Reference: https://support.microsoft.com/en-us/help/967893/input-method-editor-keyboard-shortcut-ctrl-shift-0-switches-the-input

@oising commented on GitHub (May 15, 2019): It looks like this is an issue that has surfaced before in other apps, and may be related to the Windows IME (input method editor) which probably has dibs on <kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>0</kbd> with a global hook. Reference: https://support.microsoft.com/en-us/help/967893/input-method-editor-keyboard-shortcut-ctrl-shift-0-switches-the-input
Author
Owner

@timheuer commented on GitHub (May 15, 2019):

Good find @oising. In Win10 the switching between IME inputs is default LeftShift+something (probably changed along the way), but my guess is Windows code still hanging on the ctrl+shift+0.

IMO, not worth trying to hunt down (actually felt odd to me that 0 was the '10th' anyway) and I'd actually recommend to the team that you just have the first 1-9 as the options. This is, afterall, for launching and not tabbing through them (which is already accommodated)

@timheuer commented on GitHub (May 15, 2019): Good find @oising. In Win10 the switching between IME inputs is default LeftShift+something (probably changed along the way), but my guess is Windows code still hanging on the ctrl+shift+0. IMO, not worth trying to hunt down (actually felt odd to me that 0 was the '10th' anyway) and I'd actually recommend to the team that you just have the first 1-9 as the options. This is, afterall, for launching and not tabbing through them (which is already accommodated)
Author
Owner

@oising commented on GitHub (May 15, 2019):

@timheuer Yep, that would be my guess too. There are reports in forums of people complaining about this with respect to Excel (2013 and 2016), as recently as last December. I'm assuming it's still hooking it, but not servicing it.

@oising commented on GitHub (May 15, 2019): @timheuer Yep, that would be my guess too. There are reports in forums of people complaining about this with respect to Excel (2013 and 2016), as recently as last December. I'm assuming it's still hooking it, but not servicing it.
Author
Owner

@mKay00 commented on GitHub (May 15, 2019):

Since I am already at it. I delete the shortcut for the 10th profile and make a PR.

@mKay00 commented on GitHub (May 15, 2019): Since I am already at it. I delete the shortcut for the 10th profile and make a PR.
Author
Owner

@timheuer commented on GitHub (May 15, 2019):

@mKay00 obviously make sure to link to the above URI in the PR notes to justify the change. Seems righteous to me.

@timheuer commented on GitHub (May 15, 2019): @mKay00 obviously make sure to link to the above URI in the PR notes to justify the change. Seems righteous to me.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#1132