[GH-ISSUE #1967] Windows 10-Windows 11 pairing is not working neither for keyboard nor for hotkeys #1439

Open
opened 2026-05-05 07:50:38 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @StrongBrain on GitHub (Aug 19, 2023).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1967

What happened?

I've connected my Windows 10 PC(server) into Windows 11 laptop(client) with SSL-disabled connection.
I've enabled logging on both server and client sides.
Events are logged (on both logs):

  • for mouse over from the server to client
  • keyboard pressed on the Server PC
  • hotkeys pressed on the Server PC

But nothing happens on the client when I press some keys or hotkeys on the server. On debug lvl logging I can see thet it detects my key pressing even on the client, but nothing happens. I can't see any errors, etc on the client debug 2 log.

Version

v2.4.0

Git commit hash (if applicable)

3e0d758b

If applicable, where did you install Barrier from?

From github releases (current repo)

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

Windows

What OS versions are you using?

Windows 10 on the Server, Windows 11 on the client

Relevant log output

Part of the server log on hotkey press:
[2023-08-19T15:28:48] DEBUG1: event: Key char=96, vk=0xc0, nagr=0, lParam=0x80290001
[2023-08-19T15:28:48] DEBUG1: new mask: 0x2000
[2023-08-19T15:28:48] DEBUG1: new mask: 0x2000
[2023-08-19T15:28:48] DEBUG1: deactivate actions
[2023-08-19T15:28:48] DEBUG1: hotkey: keyUp(Alt+Tab,win-1)
[2023-08-19T15:28:48] DEBUG1: onKeyUp id=61193 mask=0x0004 button=0x0000
[2023-08-19T15:28:48] DEBUG1: send key up to "win-1" id=61193, mask=0x0004, button=0x0000
[2023-08-19T15:28:48] DEBUG2: writef(DKUP%2i%2i%2i)
[2023-08-19T15:28:48] DEBUG2: wrote 10 bytes
[2023-08-19T15:28:48] DEBUG1: hook: 0xff000003 0x00000001
[2023-08-19T15:28:48] DEBUG1: hook: 0xff000003 0x80000001
[2023-08-19T15:28:48] DEBUG2: msg from "win-1": CNOP
[2023-08-19T15:28:48] DEBUG2: no-op from
[2023-08-19T15:28:49] DEBUG2: dragging filename is cleared
[2023-08-19T15:28:49] DEBUG1: event: button press button=1

Client's log:
[2023-08-19T15:28:54] DEBUG2: msg from server: DKDN
[2023-08-19T15:28:54] DEBUG2: readf(%2i%2i%2i)
[2023-08-19T15:28:54] DEBUG2: readf: read 2 byte integer: 61193 (0xef09)
[2023-08-19T15:28:54] DEBUG2: readf: read 2 byte integer: 4 (0x4)
[2023-08-19T15:28:54] DEBUG2: readf: read 2 byte integer: 0 (0x0)
[2023-08-19T15:28:54] DEBUG1: recv key down id=0x0000ef09, mask=0x0004, button=0x0000
[2023-08-19T15:28:54] DEBUG1: mapKey ef09 (61193) with mask 0004, start state: 0000
[2023-08-19T15:28:54] INFO: found key in group 0
[2023-08-19T15:28:54] DEBUG1: state: 0000,0000,0000
[2023-08-19T15:28:54] DEBUG1: flip: 0000 (0000 vs 0000 in 0000 - 0000)
[2023-08-19T15:28:54] DEBUG1: desired state: 0004 0000,0000,0001
[2023-08-19T15:28:54] DEBUG1: flip: 0004 (0000 vs 0004 in ffff - 6020)
[2023-08-19T15:28:54] DEBUG1: mapped to 00f, new state 0000
[2023-08-19T15:28:54] DEBUG1: keystrokes:
[2023-08-19T15:28:54] DEBUG1:   038 (000000a4) down
[2023-08-19T15:28:54] DEBUG1:   00f (00000009) down
[2023-08-19T15:28:54] DEBUG1:   038 (000000a4) up
[2023-08-19T15:28:54] DEBUG2: writef(CNOP)
[2023-08-19T15:28:54] DEBUG2: wrote 4 bytes
[2023-08-19T15:28:54] DEBUG2: msg from server: DKUP
[2023-08-19T15:28:54] DEBUG2: readf(%2i%2i%2i)
[2023-08-19T15:28:54] DEBUG2: readf: read 2 byte integer: 61193 (0xef09)
[2023-08-19T15:28:54] DEBUG2: readf: read 2 byte integer: 4 (0x4)
[2023-08-19T15:28:54] DEBUG2: readf: read 2 byte integer: 0 (0x0)
[2023-08-19T15:28:54] DEBUG1: recv key up id=0x0000ef09, mask=0x0004, button=0x0000
[2023-08-19T15:28:54] DEBUG1: keystrokes:
[2023-08-19T15:28:54] DEBUG1:   00f (00000009) up
[2023-08-19T15:28:54] DEBUG2: writef(CNOP)

Any other information

No response

Originally created by @StrongBrain on GitHub (Aug 19, 2023). Original GitHub issue: https://github.com/debauchee/barrier/issues/1967 ### What happened? I've connected my Windows 10 PC(server) into Windows 11 laptop(client) with SSL-disabled connection. I've enabled logging on both server and client sides. Events are logged (on both logs): - for mouse over from the server to client - keyboard pressed on the Server PC - hotkeys pressed on the Server PC But nothing happens on the client when I press some keys or hotkeys on the server. On debug lvl logging I can see thet it detects my key pressing even on the client, but nothing happens. I can't see any errors, etc on the client debug 2 log. ### Version v2.4.0 ### Git commit hash (if applicable) 3e0d758b ### If applicable, where did you install Barrier from? From github releases (current repo) ### What OSes are you seeing the problem on? (Check all that apply) Windows ### What OS versions are you using? Windows 10 on the Server, Windows 11 on the client ### Relevant log output ```shell Part of the server log on hotkey press: [2023-08-19T15:28:48] DEBUG1: event: Key char=96, vk=0xc0, nagr=0, lParam=0x80290001 [2023-08-19T15:28:48] DEBUG1: new mask: 0x2000 [2023-08-19T15:28:48] DEBUG1: new mask: 0x2000 [2023-08-19T15:28:48] DEBUG1: deactivate actions [2023-08-19T15:28:48] DEBUG1: hotkey: keyUp(Alt+Tab,win-1) [2023-08-19T15:28:48] DEBUG1: onKeyUp id=61193 mask=0x0004 button=0x0000 [2023-08-19T15:28:48] DEBUG1: send key up to "win-1" id=61193, mask=0x0004, button=0x0000 [2023-08-19T15:28:48] DEBUG2: writef(DKUP%2i%2i%2i) [2023-08-19T15:28:48] DEBUG2: wrote 10 bytes [2023-08-19T15:28:48] DEBUG1: hook: 0xff000003 0x00000001 [2023-08-19T15:28:48] DEBUG1: hook: 0xff000003 0x80000001 [2023-08-19T15:28:48] DEBUG2: msg from "win-1": CNOP [2023-08-19T15:28:48] DEBUG2: no-op from [2023-08-19T15:28:49] DEBUG2: dragging filename is cleared [2023-08-19T15:28:49] DEBUG1: event: button press button=1 Client's log: [2023-08-19T15:28:54] DEBUG2: msg from server: DKDN [2023-08-19T15:28:54] DEBUG2: readf(%2i%2i%2i) [2023-08-19T15:28:54] DEBUG2: readf: read 2 byte integer: 61193 (0xef09) [2023-08-19T15:28:54] DEBUG2: readf: read 2 byte integer: 4 (0x4) [2023-08-19T15:28:54] DEBUG2: readf: read 2 byte integer: 0 (0x0) [2023-08-19T15:28:54] DEBUG1: recv key down id=0x0000ef09, mask=0x0004, button=0x0000 [2023-08-19T15:28:54] DEBUG1: mapKey ef09 (61193) with mask 0004, start state: 0000 [2023-08-19T15:28:54] INFO: found key in group 0 [2023-08-19T15:28:54] DEBUG1: state: 0000,0000,0000 [2023-08-19T15:28:54] DEBUG1: flip: 0000 (0000 vs 0000 in 0000 - 0000) [2023-08-19T15:28:54] DEBUG1: desired state: 0004 0000,0000,0001 [2023-08-19T15:28:54] DEBUG1: flip: 0004 (0000 vs 0004 in ffff - 6020) [2023-08-19T15:28:54] DEBUG1: mapped to 00f, new state 0000 [2023-08-19T15:28:54] DEBUG1: keystrokes: [2023-08-19T15:28:54] DEBUG1: 038 (000000a4) down [2023-08-19T15:28:54] DEBUG1: 00f (00000009) down [2023-08-19T15:28:54] DEBUG1: 038 (000000a4) up [2023-08-19T15:28:54] DEBUG2: writef(CNOP) [2023-08-19T15:28:54] DEBUG2: wrote 4 bytes [2023-08-19T15:28:54] DEBUG2: msg from server: DKUP [2023-08-19T15:28:54] DEBUG2: readf(%2i%2i%2i) [2023-08-19T15:28:54] DEBUG2: readf: read 2 byte integer: 61193 (0xef09) [2023-08-19T15:28:54] DEBUG2: readf: read 2 byte integer: 4 (0x4) [2023-08-19T15:28:54] DEBUG2: readf: read 2 byte integer: 0 (0x0) [2023-08-19T15:28:54] DEBUG1: recv key up id=0x0000ef09, mask=0x0004, button=0x0000 [2023-08-19T15:28:54] DEBUG1: keystrokes: [2023-08-19T15:28:54] DEBUG1: 00f (00000009) up [2023-08-19T15:28:54] DEBUG2: writef(CNOP) ``` ### Any other information _No response_
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#1439
No description provided.