[GH-ISSUE #1658] Bug: unable to type punctuations on client computer if server computer input method is set to Chinese #1227

Open
opened 2026-05-05 07:37:29 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @wanderseeme on GitHub (Apr 25, 2022).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1658

What happened?

You can reproduce this bug by the following steps:

  1. set server computer (mine is macOS Monterey 12.3.1) input method to macOS build-in Chinese (or any input methods that requires typing+selection steps, i.e., you have to type certain charater 'nihao' (typing step) and select '你好' in the input method (selection step) to actually get '你好' on text input fields)
  2. use Barrier to type on the client computer (mine is Windows 11 Professional, 21H2 22000.493), most English characters will do fine, but you can not type punctuations (such as , . ( ) \ ;) in client computer.
  3. to actually type punctuations in client computer, I always have to set input method in server computer to English first, and then use Barrier to switch to client computer to type normally.

Possible solution:

  1. ShareMouse is a good reference, maybe just get keyboard typing events directly?
  2. automaitcally switch to English input method when switching can be a workaround.

Version

v2.4.0

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

GitHub

What OSes are you seeing the problem on? (Check all that apply)

Windows, macOS

What OS versions are you using?

Server computer: macOS Monterey 12.3.1
Client computer: Windows 11 Professional, 21H2 22000.493

Relevant log output

No response

Any other information

No response

Originally created by @wanderseeme on GitHub (Apr 25, 2022). Original GitHub issue: https://github.com/debauchee/barrier/issues/1658 ### What happened? **You can reproduce this bug by the following steps:** 1. set server computer (mine is macOS Monterey 12.3.1) input method to macOS build-in Chinese (or any input methods that requires typing+selection steps, i.e., you have to type certain charater 'nihao' (typing step) and select '你好' in the input method (selection step) to actually get '你好' on text input fields) 2. use Barrier to type on the client computer (mine is Windows 11 Professional, 21H2 22000.493), most English characters will do fine, but you can not type punctuations (such as , . ( ) \ ;) in client computer. 3. to actually type punctuations in client computer, I always have to set input method in server computer to English first, and then use Barrier to switch to client computer to type normally. **Possible solution:** 1. ShareMouse is a good reference, maybe just get keyboard typing events directly? 2. automaitcally switch to English input method when switching can be a workaround. ### Version v2.4.0 ### Git commit hash (if applicable) _No response_ ### If applicable, where did you install Barrier from? GitHub ### What OSes are you seeing the problem on? (Check all that apply) Windows, macOS ### What OS versions are you using? Server computer: macOS Monterey 12.3.1 Client computer: Windows 11 Professional, 21H2 22000.493 ### Relevant log output _No response_ ### Any other information _No response_
Author
Owner

@okerivy commented on GitHub (Sep 27, 2022):

I also encountered the same problem on the Mac. Can you tell me if you have solved it

<!-- gh-comment-id:1258887694 --> @okerivy commented on GitHub (Sep 27, 2022): I also encountered the same problem on the Mac. Can you tell me if you have solved it
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#1227
No description provided.