I'm using Emacs 26.1 on Windows 10.
Sometimes, the capslock key stops working: The key is activated but typing letters does not result in capital letters being inserted into a buffer. It works with the number keys above the regular keys though.
Example:
Caps-Lock is activated (observable in other applications and through the keyboard indicator led)
Using German keyboard layout
Typing 'a' -> 'a' is inserted (wrong)
Typing '1' -> '!" is inserted (ok)
This happens about twice a day but I was not able to figure out what triggers the condition. The only way to get the key fully working again in emacs is quitting and restarting emacs.
Switching the keyboard layout to English (and back) does not change anything.
Note that I have not remapped the capslock key. I just want the regular capslock functionality.
Any ideas on how to get this "un-stuck" or how to diagnose the problem further are appreciated.