-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Shortcut Remaps can stop working on using Alt+` in Japanese IME #6951
Comments
Unfortunately, it didn't work with v0.23.2 either. I looked at #6952 and it looks like 0x19 is not excluded. |
@tsu1980 0x19 is not a reserved key code, on switching to Kanji IME that key code gets pressed and released, so it should not cause any issues to the shortcut remaps. Can you share some more information about your exact repo scenario? I'm able to use Alt+` to switch IME and then I can use shortcut remaps like Ctrl+A->Ctrl+V. Can you send a screenshot of your set of remappings? |
@arjunbalgovind First of all, I'm using a US keyboard and Google IME. My KBM configuration screen is as follows. I checked in the KeyboardStateView and found the following keycodes.
|
Thanks for the details @tsu1980, I am able to reproduce the issue, but it doesn't happen always. Sometimes pressing Alt+` again resets it back correctly (which is different from the others 0xF0-0xF4 because some of them never get toggled back). @crutkas @ryanbodrug-microsoft I am not entirely sure what's the fix for this. An option is to just add all the IME keys to the "ignore list" when we search for keys that are being pressed when a shortcut is pressed, and that will fix this issue, but I don't know if it's the right thing to do. This behavior of VK_KANJI getting stuck feels like a Windows bug rather than something that you would workaround. It made sense to ignore the reserved keys, but keys which have a proper key code seems odd. The workaround is easy to do though, so if you think I should go ahead with that I can do it. |
@tsu1980 The exact scenario which seems to cause the behavior is:
(Generally we would release ` before Alt, which is why this scenario doesnt repro every time we press Alt+`) |
@arjunbalgovind |
@tsu1980 I have added a fix for it, and it should work for you in the next release |
@arjunbalgovind |
Originally posted by @tsu1980 in #5225 (comment)
ℹ Computer information
📝 Provide detailed reproduction steps (if any)
✔️ Expected result
What is the expected result of the above steps?
Remaps should be unaffected
❌ Actual result
What is the actual result of the above steps?
Shortcut to shortcut remaps stop working
The text was updated successfully, but these errors were encountered: