-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CANARY: ALT+NUMPAD ADD is Broken #17762
Comments
with another combination I no have problem, only 100% with Alt+NumPadAdd or RAlt+NumpadAdd if press and release only Alt/Ralt - no problem ps. What I found problem : my macros for FAR MANAGER for key="AltAdd" is stop working... |
We were erroneously eating Alt followed by VK_ADD. This change makes sure we cache key presses and releases that happen once a numpad composition is active so that we can send them when you release Alt. Right now, we only send them when you release Alt after composing Alt and VK_ADD (entering hex mode) and only if you haven't inserted an actual hex numpad code. This does mean that `Alt VK_ADD 0 0 H I` will result in an input of "+hi". That... seems like a small price to pay for Alt VK_ADD working again. Closes #17762
We were erroneously eating Alt followed by VK_ADD. This change makes sure we cache key presses and releases that happen once a numpad composition is active so that we can send them when you release Alt. Right now, we only send them when you release Alt after composing Alt and VK_ADD (entering hex mode) and only if you haven't inserted an actual hex numpad code. This does mean that `Alt VK_ADD 0 0 H I` will result in an input of "+hi". That... seems like a small price to pay for Alt VK_ADD working again. Closes #17762 (cherry picked from commit e006f75) Service-Card-Id: PVTI_lADOAF3p4s4AmhmszgSF50M Service-Version: 1.21
Hi!, |
@Zeroes1 I believe there has been a build issue preventing Canary updates. Sorry about that. |
@DHowett , bad news! I tested terminal-1.23.2391.0 now test: I see what generated many events like: after press NumAdd - any events is stopped, after I press and release NumAdd many times and I see - no any KEY EVENTS!!! ONLY when I release ALT i see what get ALL chain events in console. It's wrong! (for example I hold ALT 1min) terminal-1.22.2191.0 - latest good version: test: generated many events like: after press NumAdd i see straightaway event: after release NumAdd i see straightaway event: ALT is holded all times! or may be not all PR implemented in terminal-1.23.2391.0 ? ps. Why did the problem with Alt+Numpad appear at all??? and you can't return the code from terminal-1.22.2191.0? |
I added support for |
@lhecker any news?
I try monintoring registry RegQueryValue but no see any help |
For return old behavior I temporary use Autohotkey v2 script:
|
Ah I'm sorry. I forgot about this issue. I'll reopen it and assign myself so that I don't forget it. |
Why should Alt+NumDigits affect the NumAdd at all? Shouldn't only the combinations with digits be affected? |
Alt+NumpadAdd triggers the hexadecimal input of Unicode characters. You can find more information about it if you search for |
This just adds a quick registry check for `EnableHexNumpad`. Depends on #17774 Closes #17762 (again) ## Validation Steps Performed * Alt + NumpadAdd + 221E doesn't do anything ✅ * Set the `EnableHexNumpad` registry key * Restart * Alt + NumpadAdd + 221E inserts ∞ ✅ (cherry picked from commit b520da2) Service-Card-Id: PVTI_lADOAF3p4s4AmhmszgTQsd8 Service-Version: 1.21
This just adds a quick registry check for `EnableHexNumpad`. Depends on #17774 Closes #17762 (again) ## Validation Steps Performed * Alt + NumpadAdd + 221E doesn't do anything ✅ * Set the `EnableHexNumpad` registry key * Restart * Alt + NumpadAdd + 221E inserts ∞ ✅ (cherry picked from commit b520da2) Service-Card-Id: PVTI_lADOAF3p4s4AmhmQzgTQseA Service-Version: 1.22
@lhecker big thanks! Now work fine! (also registry key - work, where simple users can read about this or this hidden feature?) |
To be honest, I genuinely don't know why |
Windows Terminal version
1.22.2334.0
Windows build number
10.0.19045.4780
Other Software
No response
Steps to reproduce
Alt+NumpadAdd pressing combination is broken since Canary build terminal-1.22.2201.0
terminal-1.22.2191.0 - latest good
terminal-1.22.2201.0 - broken
...
terminal-1.22.2334.0 - broken
run utilities for getting codes DOWN/UP VK_CODES etc
press Alt key after press NumpadAdd and release NumpadAdd, press NumpadAdd and release NumpadAdd, press NumpadAdd and release NumpadAdd
Expected Behavior
terminal-1.22.2191.0 - latest good:
21:42:56 KEY_EVENT_RECORD: Dn, 1, Vk="VK_ADD" [107/0x006B], Scan=0x004E uChar=[U='+' (0x002B): A='+' (0x2B)]
Ctrl=0x00000002 (cAsac - ecns) (Windowed)
21:42:56 KEY_EVENT_RECORD: Dn, 1, Vk="VK_ADD" [107/0x006B], Scan=0x004E uChar=[U='+' (0x002B): A='+' (0x2B)]
Ctrl=0x00000002 (cAsac - ecns) (Windowed)
21:42:57 KEY_EVENT_RECORD: Up, 1, Vk="VK_ADD" [107/0x006B], Scan=0x004E uChar=[U='+' (0x002B): A='+' (0x2B)]
Ctrl=0x00000002 (cAsac - ecns) (Windowed)
Actual Behavior
since terminal-1.22.2201.0 to latest canary build terminal-1.22.2334.0 is broken:
21:44:18 KEY_EVENT_RECORD: Up, 1, Vk="VK_ADD" [107/0x006B], Scan=0x004E uChar=[U='+' (0x002B): A='+' (0x2B)]
Ctrl=0x00000002 (cAsac - ecns) (Windowed)
21:44:18 KEY_EVENT_RECORD: Up, 1, Vk="VK_ADD" [107/0x006B], Scan=0x004E uChar=[U='+' (0x002B): A='+' (0x2B)]
Ctrl=0x00000002 (cAsac - ecns) (Windowed)
21:44:18 KEY_EVENT_RECORD: Up, 1, Vk="VK_ADD" [107/0x006B], Scan=0x004E uChar=[U='+' (0x002B): A='+' (0x2B)]
Ctrl=0x00000002 (cAsac - ecns) (Windowed)
The text was updated successfully, but these errors were encountered: