calculator icon indicating copy to clipboard operation
calculator copied to clipboard

VK_NUMPADx keys are not accepted if Numlock is off

Open Rojetto opened this issue 4 years ago • 2 comments

Describe the bug I maintain a driver for the Neo ergonomic keyboard layout (documentation is unfortunately all in German). Due to the complex layering system we need to remap all keys (including the Numpad) using a low level keyboard hook. Because the Windows keyboard stack sends weird fake Shift key events when Numlock is enabled, we automatically disable it, as we have our own mechanism for switching between numbers and navigation keys anyway. With Numlock disabled however, the calculator app doesn't react to VK_NUMPADx key events anymore. Almost any other application doesn't have a problem with that and just inputs the number as usual.

Steps To Reproduce Disable Numlock and somehow send a VK_NUMPADx key event. No number is entered in the calculator window.

Expected behavior The sent number appears.

Device and Application Information

  • OS Build: 10.0.19042.0
  • Architecture: X64
  • Application Version: 10.2103.8.0
  • Region: de-DE
  • Dev Version Installed: False

Requested Assignment I'm just reporting this problem. I don't want to fix it.

Rojetto avatar May 03 '21 21:05 Rojetto

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.

MicrosoftIssueBot avatar May 03 '21 21:05 MicrosoftIssueBot

This seems to be an issue across WinUI apps. I just encountered the same problem in the Mail app (VK_NUMPADx events cause the cursor to move there).

Rojetto avatar May 13 '21 11:05 Rojetto