AltGr + Space combination doesn’t work all of a sudden #15732

Closed
opened 2026-01-31 04:46:53 +00:00 by claunia · 17 comments
Owner

Originally created by @pzehner on GitHub (Oct 29, 2021).

Windows Terminal version (or Windows build number)

1.11.*

Other Software

French Bépo keyboard layout.

Steps to reproduce

Using the French Bépo keyboard layout, I type the underscore key "_" with AltGr + Space.

Expected Behavior

Usually it just works.

Actual Behavior

Today, without any updates or changes in configuration, MS Terminal doesn’t type the character any more. Other AltGr combinations work, but not this one. Any other application (including PowerShell and CMD) can type the character normally.

Note: It is more likely that this behaviour started with the 1.11 version. 1.10.2714.0 is the latest behaving correctly.

Note 2: "all of a sudden" because MS Terminal updates itself automatically and I could not find a way to prevent that.

Originally created by @pzehner on GitHub (Oct 29, 2021). ### Windows Terminal version (or Windows build number) 1.11.* ### Other Software French Bépo keyboard layout. ### Steps to reproduce Using the French Bépo keyboard layout, I type the underscore key "_" with AltGr + Space. ### Expected Behavior Usually it just works. ### Actual Behavior Today, without any updates or changes in configuration, MS Terminal doesn’t type the character any more. Other AltGr combinations work, but not this one. Any other application (including PowerShell and CMD) can type the character normally. *Note:* It is more likely that this behaviour started with the 1.11 version. 1.10.2714.0 is the latest behaving correctly. *Note 2:* "all of a sudden" because MS Terminal updates itself automatically and I could not find a way to prevent that.
Author
Owner

@nchataing commented on GitHub (Oct 29, 2021):

Same here : by manually switching to the previous release it works again

@nchataing commented on GitHub (Oct 29, 2021): Same here : by manually switching to the previous release it works again
Author
Owner

@DHowett commented on GitHub (Oct 29, 2021):

@lhecker @PankajBhojwani this is related to us binding alt+space to the system menu by default. Did we regress Alt/AltGr aliasing somehow?

@DHowett commented on GitHub (Oct 29, 2021): @lhecker @PankajBhojwani this is related to us binding _alt+space_ to the system menu by default. Did we regress Alt/AltGr aliasing somehow?
Author
Owner

@arthaud commented on GitHub (Oct 30, 2021):

Same here.
By the way, hello Paul :)

@arthaud commented on GitHub (Oct 30, 2021): Same here. By the way, hello Paul :)
Author
Owner

@Siphonay commented on GitHub (Nov 5, 2021):

I am also encountering this issue

@Siphonay commented on GitHub (Nov 5, 2021): I am also encountering this issue
Author
Owner

@at-github commented on GitHub (Nov 8, 2021):

Same as well, i didn’t see shortcut overwriting this combination

@at-github commented on GitHub (Nov 8, 2021): Same as well, i didn’t see shortcut overwriting this combination
Author
Owner

@pzehner commented on GitHub (Nov 10, 2021):

I confirm that the problem does not appear by manually downgrading to 1.10.2714.0.

@pzehner commented on GitHub (Nov 10, 2021): I confirm that the problem does not appear by manually downgrading to 1.10.2714.0.
Author
Owner

@crequill commented on GitHub (Nov 12, 2021):

I have the same problem with terminal 1.11.2921.0 but it’s corrected in terminal 1.12.2931.0.

@crequill commented on GitHub (Nov 12, 2021): I have the same problem with terminal 1.11.2921.0 but it’s corrected in terminal 1.12.2931.0.
Author
Owner

@Geobert commented on GitHub (Nov 15, 2021):

Same issue for me, bépo as well. It's very annoying as it's how we type _ (underscore) in this layout :-/

@Geobert commented on GitHub (Nov 15, 2021): Same issue for me, bépo as well. It's very annoying as it's how we type `_` (underscore) in this layout :-/
Author
Owner

@Siphonay commented on GitHub (Nov 16, 2021):

Can confirm the issues seems to be fixed in Preview Release 1.12.2931.0

@Siphonay commented on GitHub (Nov 16, 2021): Can confirm the issues seems to be fixed in Preview Release 1.12.2931.0
Author
Owner

@chikamichi commented on GitHub (Nov 21, 2021):

A few days back, I installed 1.12.2931.0 and it seemed to be fixed. But all of a sudden, in stopped working. No tooling/version change, no keyboard layout change.

@chikamichi commented on GitHub (Nov 21, 2021): A few days back, I installed 1.12.2931.0 and it seemed to be fixed. But all of a sudden, in stopped working. No tooling/version change, no keyboard layout change.
Author
Owner

@lhecker commented on GitHub (Nov 23, 2021):

Hmm indeed this is hard to reproduce... I've downloaded the portable version and AltGr+Space produces "_".

@lhecker commented on GitHub (Nov 23, 2021): Hmm indeed this is hard to reproduce... I've downloaded [the portable version](https://download.tuxfamily.org/dvorak/windows/1.1rc2/pkl-bepo-1.1rc2.zip) and AltGr+Space produces "_".
Author
Owner

@Siphonay commented on GitHub (Nov 23, 2021):

Hmm indeed this is hard to reproduce... I've downloaded the portable version and AltGr+Space produces "_".

Be aware that the portable version is a PKL, which are repackaged AutoHotKey scripts, and not a proper keyboard layout per se, so this and the actual Windows keyboard layout package may exhibit different behavior

@Siphonay commented on GitHub (Nov 23, 2021): > Hmm indeed this is hard to reproduce... I've downloaded [the portable version](https://download.tuxfamily.org/dvorak/windows/1.1rc2/pkl-bepo-1.1rc2.zip) and AltGr+Space produces "_". Be aware that the portable version is a PKL, which are repackaged AutoHotKey scripts, and not a proper keyboard layout per se, so this and the actual Windows keyboard layout package may exhibit different behavior
Author
Owner

@pzehner commented on GitHub (Nov 26, 2021):

Even downgrading the terminal to the latest 1.10 version and pinning it (I am using Chocolatey), the application automatically updates itself like once a week and I end with the broken 1.11 version…

@pzehner commented on GitHub (Nov 26, 2021): Even downgrading the terminal to the latest 1.10 version and pinning it (I am using Chocolatey), the application automatically updates itself like once a week and I end with the broken 1.11 version…
Author
Owner

@lhecker commented on GitHub (Nov 27, 2021):

This line was introduced in the 1.11 branch with #10988 and should say IsLeftAltPressed() (if we had that): 7b775684e8/src/cascadia/TerminalControl/TermControl.cpp (L912)

In the 1.12 branch we switched to using regular actions with #11086. Since actions are never run for AltGr key combinations, this fixes the issue for 1.12 and later.
For 1.11 I fixed this issue in #11832. The fix isn't particularly beautiful, but I believe it's enough for an older release like that. 😅

@lhecker commented on GitHub (Nov 27, 2021): This line was introduced in the 1.11 branch with #10988 and should say `IsLeftAltPressed()` (if we had that): https://github.com/microsoft/terminal/blob/7b775684e8206abdd12a6720252d0888f1c9d6d0/src/cascadia/TerminalControl/TermControl.cpp#L912 In the 1.12 branch we switched to using regular actions with #11086. Since actions are never run for AltGr key combinations, this fixes the issue for 1.12 and later. For 1.11 I fixed this issue in #11832. The fix isn't particularly beautiful, but I believe it's enough for an older release like that. 😅
Author
Owner

@Dragnalith commented on GitHub (Dec 2, 2021):

same problem here with version 1.11.2921.0

EDIT: I confirm it is fixed in Windows Terminal Preview (1.12.2931.0)

@Dragnalith commented on GitHub (Dec 2, 2021): same problem here with version 1.11.2921.0 EDIT: I confirm it is fixed in Windows Terminal Preview (1.12.2931.0)
Author
Owner

@DHowett commented on GitHub (Dec 13, 2021):

This fix merged into release-1.11 and will be released shortly. 😄

@DHowett commented on GitHub (Dec 13, 2021): This fix merged into `release-1.11` and will be released shortly. :smile:
Author
Owner

@ghost commented on GitHub (Dec 14, 2021):

:tada:This issue was addressed in #11832, which has now been successfully released as Windows Terminal v1.11.3471.0.🎉

Handy links:

@ghost commented on GitHub (Dec 14, 2021): :tada:This issue was addressed in #11832, which has now been successfully released as `Windows Terminal v1.11.3471.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.11.3471.0) * [Store Download](https://www.microsoft.com/store/apps/9n8g5rfz9xk3?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15732