PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

Remapping CapsLock to Ctrl(left) results into pressing Shift+Ctrl(caps on keyboard) (in the exact order) recognized as layout changing when in Japanese IME

Open LifeJustDLC opened this issue 1 year ago • 3 comments

Microsoft PowerToys version

0.80.0

Installation method

PowerToys auto-update

Running as admin

Yes

Area(s) with issue?

Keyboard Manager

Steps to reproduce

  • map capslock to ctrl(left)
  • map ctrl(left) to capslock
  • switch to either official Japanese IME or Google one.
  • pressing shift and press ctrl (capslock on keyboard)

✔️ Expected Behavior

Nothing will happen. And any keys pressed next will triggle ctrl+shift+that key's expected function.

❌ Actual Behavior

A in the right bottom corner is switched to , vise versa. i.e. the layout of Japanese IME is changed. (the google one will actually toggle between _A and , I don't know what that mean) And any key pressed next wouldn't form the expected function. It types that letter in capital case. Repeating above procudure will randomly result in "ctrl get stucked", which is as if the ctrl is being pressing although none of the keys is touched. repress the real ctrl (left bottom of keyboard) will solve this issue. I can't reproduce this very frepuently. So just for a record.

Other Software

Windows 10 22H2 Google Japanese IME 2.29.5370.0 I don't know the version of Micosoft Japanese IME, but that suffers from the same problem. So I think this is more like a Key remapping issue.

LifeJustDLC avatar Apr 09 '24 05:04 LifeJustDLC

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

github-actions[bot] avatar Apr 09 '24 05:04 github-actions[bot]

Temporary solution: Use SharpKeys instead.

LifeJustDLC avatar Apr 13 '24 22:04 LifeJustDLC

I encountered a very similar issue, and it was recommended that I reply to this thread instead of making a new thread. The difference is disabling the mouse scroll.

Microsoft PowerToys version

0.85.1

Installation method

GitHub, Other (please specify in "Steps to Reproduce")

Running as admin

No

Area(s) with issue?

Keyboard Manager

Steps to reproduce

Enable Keyboard Manager with the following settings, using a Japanese (JIS) keyboard

  1. IME Non-Convert -> Apps/Menu
  2. Shift(left) -> Ctrl(left)
  3. VK 240 (capslock) -> Shift(left)
  4. Ctrl(left) -> VK 240

✔️ Expected Behavior

As the settings

❌ Actual Behavior

2 phenomena happen.

  1. Abnormal key reactions while Kyeboard Manage is on. For example, when I hit the VK 240 key, it must serve as a shift key as the settings, but it (probably) serves as shift + capslock. This phenomenon does not happen when Keyboard Manager is disabled
  2. Mouse scroll is disabled in some applications (e.g., Chrome) after abling Keyboard Manager. It lasts even after disabling Keyboard Manager.

Other Software

Chrome (ver. 129.0.6668.101(Official Build)) a text editor (SAKURA editor; Ver. 2.4.2.6048) MS Word (Ver 2409)

KoichiYatsuzuka avatar Oct 16 '24 08:10 KoichiYatsuzuka