[GH-ISSUE #1230] Dead key using MacOS keyboard Swiss German layout #992

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

Originally created by @sgrienen on GitHub (Jul 16, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1230

Describe the bug
¨ and Shift+¨ (should be !) doesn't work well on Swiss German keyboard from MacOS Big Sur acting as server to Windows 10 20H2 acting as client.

To Reproduce

Steps to reproduce the behavior:

  1. Run server on MacOS Big Sur, use Magic Keyboard with Swiss German layout
  2. Run client on Windows 10 20H2 (running on a Dell laptop, doesn't really matter)
  3. Type ¨ key a first time, nothing happens, then a second time, and only then it'll bring the ¨ char. Using Shift on that key is supposed to output some !, but it never comes.

Here's the log on both ends :
Client
[2021-07-16T10:46:47] DEBUG1: recv key down id=0x000000a8, mask=0x0000, button=0x001f
[2021-07-16T10:46:47] DEBUG1: mapKey 00a8 (168) with mask 0000, start state: 2000
[2021-07-16T10:46:47] DEBUG1: find best: 2000 0000
[2021-07-16T10:46:47] DEBUG1: best key index 1 of 1 (exact)
[2021-07-16T10:46:47] DEBUG1: found key in group 0
[2021-07-16T10:46:47] DEBUG1: flip: 0000 (2000 vs 0000 in 0007 - 0000)
[2021-07-16T10:46:47] DEBUG1: state: 2000,0000,0006
[2021-07-16T10:46:47] DEBUG1: flip: 0000 (2000 vs 0000 in 0006 - 0000)
[2021-07-16T10:46:47] DEBUG1: desired state: 0000 2000,0000,0006
[2021-07-16T10:46:47] DEBUG1: flip: 0000 (2000 vs 0000 in fff9 - 6020)
[2021-07-16T10:46:47] DEBUG1: mapped to 039, new state 2000
[2021-07-16T10:46:47] DEBUG1: keystrokes:
[2021-07-16T10:46:47] DEBUG1: 01b (000000c0) down
[2021-07-16T10:46:47] DEBUG1: 01b (000000c0) up
[2021-07-16T10:46:47] DEBUG1: 039 (00000020) down
[2021-07-16T10:46:47] DEBUG1: recv key up id=0x00000000, mask=0x0000, button=0x001f
[2021-07-16T10:46:47] DEBUG1: keystrokes:
[2021-07-16T10:46:47] DEBUG1: 039 (00000020) up

Server
[2021-07-16T10:48:16] DEBUG1: event: Key event kind: 10, keycode=30
[2021-07-16T10:48:16] DEBUG1: new mask: 0x0000
[2021-07-16T10:48:16] DEBUG1: onKeyDown id=168 mask=0x0000 button=0x001f
[2021-07-16T10:48:16] DEBUG1: send key down to "PC" id=168, mask=0x0000, button=0x001f
[2021-07-16T10:48:16] DEBUG1: event: Key event kind: 11, keycode=30
[2021-07-16T10:48:16] DEBUG1: new mask: 0x0000
[2021-07-16T10:48:16] DEBUG1: onKeyUp id=0 mask=0x0000 button=0x001f
[2021-07-16T10:48:16] DEBUG1: send key up to "PC" id=0, mask=0x0000, button=0x001f

Using this : https://w3c.github.io/uievents/tools/key-event-viewer.html it says it's a dead key ? See screenshot attached.

Expected behavior
¨ should come at first key press and ! when pressing with Shift, that last one simply never comes.

Screenshots
If applicable, add screenshots to help explain your problem.
KeyboardEventViewer

Desktop (please complete the following information):
Server

  • OS: MacOS Big Sur 11.4
  • Barrier version 2.3.3

Client

  • OS: Windows 10 20H2 19042.1110
  • Barrier version 2.3.3

Additional context

Add any other context about the problem here.

Originally created by @sgrienen on GitHub (Jul 16, 2021). Original GitHub issue: https://github.com/debauchee/barrier/issues/1230 **Describe the bug** ¨ and Shift+¨ (should be !) doesn't work well on Swiss German keyboard from MacOS Big Sur acting as server to Windows 10 20H2 acting as client. **To Reproduce** Steps to reproduce the behavior: 1. Run server on MacOS Big Sur, use Magic Keyboard with Swiss German layout 2. Run client on Windows 10 20H2 (running on a Dell laptop, doesn't really matter) 3. Type ¨ key a first time, nothing happens, then a second time, and only then it'll bring the ¨ char. Using Shift on that key is supposed to output some !, but it never comes. Here's the log on both ends : Client [2021-07-16T10:46:47] DEBUG1: recv key down id=0x000000a8, mask=0x0000, button=0x001f [2021-07-16T10:46:47] DEBUG1: mapKey 00a8 (168) with mask 0000, start state: 2000 [2021-07-16T10:46:47] DEBUG1: find best: 2000 0000 [2021-07-16T10:46:47] DEBUG1: best key index 1 of 1 (exact) [2021-07-16T10:46:47] DEBUG1: found key in group 0 [2021-07-16T10:46:47] DEBUG1: flip: 0000 (2000 vs 0000 in 0007 - 0000) [2021-07-16T10:46:47] DEBUG1: state: 2000,0000,0006 [2021-07-16T10:46:47] DEBUG1: flip: 0000 (2000 vs 0000 in 0006 - 0000) [2021-07-16T10:46:47] DEBUG1: desired state: 0000 2000,0000,0006 [2021-07-16T10:46:47] DEBUG1: flip: 0000 (2000 vs 0000 in fff9 - 6020) [2021-07-16T10:46:47] DEBUG1: mapped to 039, new state 2000 [2021-07-16T10:46:47] DEBUG1: keystrokes: [2021-07-16T10:46:47] DEBUG1: 01b (000000c0) down [2021-07-16T10:46:47] DEBUG1: 01b (000000c0) up [2021-07-16T10:46:47] DEBUG1: 039 (00000020) down [2021-07-16T10:46:47] DEBUG1: recv key up id=0x00000000, mask=0x0000, button=0x001f [2021-07-16T10:46:47] DEBUG1: keystrokes: [2021-07-16T10:46:47] DEBUG1: 039 (00000020) up Server [2021-07-16T10:48:16] DEBUG1: event: Key event kind: 10, keycode=30 [2021-07-16T10:48:16] DEBUG1: new mask: 0x0000 [2021-07-16T10:48:16] DEBUG1: onKeyDown id=168 mask=0x0000 button=0x001f [2021-07-16T10:48:16] DEBUG1: send key down to "PC" id=168, mask=0x0000, button=0x001f [2021-07-16T10:48:16] DEBUG1: event: Key event kind: 11, keycode=30 [2021-07-16T10:48:16] DEBUG1: new mask: 0x0000 [2021-07-16T10:48:16] DEBUG1: onKeyUp id=0 mask=0x0000 button=0x001f [2021-07-16T10:48:16] DEBUG1: send key up to "PC" id=0, mask=0x0000, button=0x001f Using this : https://w3c.github.io/uievents/tools/key-event-viewer.html it says it's a dead key ? See screenshot attached. **Expected behavior** ¨ should come at first key press and ! when pressing with Shift, that last one simply never comes. **Screenshots** If applicable, add screenshots to help explain your problem. ![KeyboardEventViewer](https://user-images.githubusercontent.com/7112754/125922130-2544af42-e507-4709-b301-9bb631c8fca9.png) **Desktop (please complete the following information):** Server - OS: MacOS Big Sur 11.4 - Barrier version 2.3.3 Client - OS: Windows 10 20H2 19042.1110 - Barrier version 2.3.3 **Additional context** Add any other context about the problem here.
Author
Owner

@sgrienen commented on GitHub (Nov 15, 2021):

I've recently updated to 2.4.0 and now I've also lost the > and < key (on a Swiss layout keyboard it's located right to the left Shift). The key is working perfectly on my Mac, but moving over to the PC via Barrier, it's simply doing nothing. MacOS is not Monterey (12.0.1) and PC Is still running 20H2. Here some logs to show what happens

Server log:
[...] Focus on Mac
[2021-11-15T10:37:21] DEBUG1: event: Key event kind: 10, keycode=50
[2021-11-15T10:37:21] DEBUG1: new mask: 0x0000
[2021-11-15T10:37:21] DEBUG1: onKeyDown id=61226 mask=0x0000 button=0x0033
[2021-11-15T10:37:21] DEBUG1: event: Key event kind: 11, keycode=50
[2021-11-15T10:37:21] DEBUG1: new mask: 0x0000
[2021-11-15T10:37:21] DEBUG1: onKeyUp id=0 mask=0x0000 button=0x0033
[...] Moved mouse cursor to PC
[2021-11-15T10:37:24] DEBUG1: event: Key event kind: 10, keycode=50
[2021-11-15T10:37:24] DEBUG1: new mask: 0x0000
[2021-11-15T10:37:24] DEBUG1: onKeyDown id=61226 mask=0x0000 button=0x0033
[2021-11-15T10:37:24] DEBUG1: send key down to "PC" id=61226, mask=0x0000, button=0x0033
[2021-11-15T10:37:24] DEBUG1: event: Key event kind: 11, keycode=50
[2021-11-15T10:37:24] DEBUG1: new mask: 0x0000
[2021-11-15T10:37:24] DEBUG1: onKeyUp id=0 mask=0x0000 button=0x0033
[2021-11-15T10:37:24] DEBUG1: send key up to "PC" id=0, mask=0x0000, button=0x0033

Client log:
[2021-11-15T10:34:47] DEBUG1: keystrokes:
[2021-11-15T10:34:47] DEBUG1: 05f (000000f3) down
[2021-11-15T10:34:48] DEBUG1: recv key up id=0x00000000, mask=0x0000, button=0x0033
[2021-11-15T10:34:48] DEBUG1: keystrokes:
[2021-11-15T10:34:48] DEBUG1: 05f (000000f3) up

<!-- gh-comment-id:968699277 --> @sgrienen commented on GitHub (Nov 15, 2021): I've recently updated to 2.4.0 and now I've also lost the > and < key (on a Swiss layout keyboard it's located right to the left Shift). The key is working perfectly on my Mac, but moving over to the PC via Barrier, it's simply doing nothing. MacOS is not Monterey (12.0.1) and PC Is still running 20H2. Here some logs to show what happens Server log: [...] Focus on Mac [2021-11-15T10:37:21] DEBUG1: event: Key event kind: 10, keycode=50 [2021-11-15T10:37:21] DEBUG1: new mask: 0x0000 [2021-11-15T10:37:21] DEBUG1: onKeyDown id=61226 mask=0x0000 button=0x0033 [2021-11-15T10:37:21] DEBUG1: event: Key event kind: 11, keycode=50 [2021-11-15T10:37:21] DEBUG1: new mask: 0x0000 [2021-11-15T10:37:21] DEBUG1: onKeyUp id=0 mask=0x0000 button=0x0033 [...] Moved mouse cursor to PC [2021-11-15T10:37:24] DEBUG1: event: Key event kind: 10, keycode=50 [2021-11-15T10:37:24] DEBUG1: new mask: 0x0000 [2021-11-15T10:37:24] DEBUG1: onKeyDown id=61226 mask=0x0000 button=0x0033 [2021-11-15T10:37:24] DEBUG1: send key down to "PC" id=61226, mask=0x0000, button=0x0033 [2021-11-15T10:37:24] DEBUG1: event: Key event kind: 11, keycode=50 [2021-11-15T10:37:24] DEBUG1: new mask: 0x0000 [2021-11-15T10:37:24] DEBUG1: onKeyUp id=0 mask=0x0000 button=0x0033 [2021-11-15T10:37:24] DEBUG1: send key up to "PC" id=0, mask=0x0000, button=0x0033 Client log: [2021-11-15T10:34:47] DEBUG1: keystrokes: [2021-11-15T10:34:47] DEBUG1: 05f (000000f3) down [2021-11-15T10:34:48] DEBUG1: recv key up id=0x00000000, mask=0x0000, button=0x0033 [2021-11-15T10:34:48] DEBUG1: keystrokes: [2021-11-15T10:34:48] DEBUG1: 05f (000000f3) up
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#992
No description provided.