[GH-ISSUE #626] The mode change keystroke of Japanese IME is ignored in the environment using US keyboard #493

Open
opened 2026-05-05 06:32:09 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @zodiaq on GitHub (Apr 16, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/626

Operating Systems

Server: Windows 10 Pro 1909 (Version 10.0.18363.778)
Client: Windows 10 Pro 1909 (Version 10.0.18363.778)

US keyboard, Japanese language pack and IME for both PC.

Barrier Version

2.3.2-snapshot-210c2b70

Steps to reproduce bug

Steps:

  1. Move the mouse to the client side
  2. Open an editor or something that allows you to enter characters.
  3. Press " Alt + ` ". This is the default keystroke for toggle between IME modes.

Expectation:

  • IME mode is toggled in the client side.

Actual:

  • Nothing is going to happen.

Other info

In the server side, these key codes generated when I presed " Alt + ` " (Alt + backquote).

Date vkCode ScanCode extendedKey event-injected contextCode transition-state Time dwExtraInfo SymbolicConstant
18:53.9 164 56 FALSE FALSE TRUE FALSE 98537328 0 VK_LMENU
18:54.0 25 41 FALSE FALSE TRUE FALSE 98537468 0 VK_KANJI
18:54.2 25 41 FALSE FALSE TRUE TRUE 98537593 0 VK_KANJI
18:54.3 164 56 FALSE FALSE FALSE TRUE 98537703 0 VK_LMENU

VK_KANJI was generated when I pressed " ` " (backquote) with pressing "Alt" prior.

When you press " ` " (backquote) only, VK_OEM_3 is generated .

Date vkCode ScanCode extendedKey event-injected contextCode transition-state Time dwExtraInfo SymbolicConstant
18:48.9 192 41 FALSE FALSE FALSE TRUE 98532281 0 VK_OEM_3

When I pressed " Alt + ` " in the client side same way , these key strokes generated;

Date vkCode ScanCode extendedKey event-injected contextCode transition-state Time dwExtraInfo SymbolicConstant
19:00.2 164 56 FALSE TRUE TRUE FALSE 222083390 0 VK_LMENU
19:00.3 243 95 FALSE TRUE TRUE FALSE 222083500 0 VK_OEM_AUTO
19:00.4 243 95 FALSE TRUE TRUE TRUE 222083640 0 VK_OEM_AUTO
19:00.5 164 56 FALSE TRUE FALSE TRUE 222083718 0 VK_LMENU

VK_KANJI is a trigger to change the mode of IME, but it seems that another code (VK_OEM_AUTO) is generated in the client side.
I don't know whether this problem is of Barrier or a limitation by the OS.

https://github.com/symless/synergy-core/issues/6639

Originally created by @zodiaq on GitHub (Apr 16, 2020). Original GitHub issue: https://github.com/debauchee/barrier/issues/626 ### Operating Systems ### Server: Windows 10 Pro 1909 (Version 10.0.18363.778) Client: Windows 10 Pro 1909 (Version 10.0.18363.778) US keyboard, Japanese language pack and IME for both PC. ### Barrier Version ### 2.3.2-snapshot-210c2b70 ### Steps to reproduce bug ### Steps: 1. Move the mouse to the client side 2. Open an editor or something that allows you to enter characters. 3. Press " Alt + ` ". This is the default keystroke for toggle between IME modes. Expectation: - IME mode is toggled in the client side. Actual: - Nothing is going to happen. ### Other info ### In the server side, these key codes generated when I presed " Alt + ` " (Alt + backquote). Date | vkCode | ScanCode | extendedKey | event-injected | contextCode | transition-state | Time | dwExtraInfo | SymbolicConstant -- | -- | -- | -- | -- | -- | -- | -- | -- | -- 18:53.9 | 164 | 56 | FALSE | FALSE | TRUE | FALSE | 98537328 | 0 | VK_LMENU 18:54.0 | 25 | 41 | FALSE | FALSE | TRUE | FALSE | 98537468 | 0 | VK_KANJI 18:54.2 | 25 | 41 | FALSE | FALSE | TRUE | TRUE | 98537593 | 0 | VK_KANJI 18:54.3 | 164 | 56 | FALSE | FALSE | FALSE | TRUE | 98537703 | 0 | VK_LMENU VK_KANJI was generated when I pressed " ` " (backquote) with pressing "Alt" prior. When you press " ` " (backquote) only, VK_OEM_3 is generated . Date | vkCode | ScanCode | extendedKey | event-injected | contextCode | transition-state | Time | dwExtraInfo | SymbolicConstant -- | -- | -- | -- | -- | -- | -- | -- | -- | -- 18:48.9 | 192 | 41 | FALSE | FALSE | FALSE | TRUE | 98532281 | 0 | VK_OEM_3 When I pressed " Alt + ` " in the client side same way , these key strokes generated; Date | vkCode | ScanCode | extendedKey | event-injected | contextCode | transition-state | Time | dwExtraInfo | SymbolicConstant -- | -- | -- | -- | -- | -- | -- | -- | -- | -- 19:00.2 | 164 | 56 | FALSE | TRUE | TRUE | FALSE | 222083390 | 0 | VK_LMENU 19:00.3 | 243 | 95 | FALSE | TRUE | TRUE | FALSE | 222083500 | 0 | VK_OEM_AUTO 19:00.4 | 243 | 95 | FALSE | TRUE | TRUE | TRUE | 222083640 | 0 | VK_OEM_AUTO 19:00.5 | 164 | 56 | FALSE | TRUE | FALSE | TRUE | 222083718 | 0 | VK_LMENU VK_KANJI is a trigger to change the mode of IME, but it seems that another code (VK_OEM_AUTO) is generated in the client side. I don't know whether this problem is of Barrier or a limitation by the OS. https://github.com/symless/synergy-core/issues/6639
Author
Owner

@github-actions[bot] commented on GitHub (Sep 24, 2020):

This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.

<!-- gh-comment-id:698060879 --> @github-actions[bot] commented on GitHub (Sep 24, 2020): This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#493
No description provided.