Skip to content

Tilde and grave don't work on linux client with macOS server #1531

Open
@plars

Description

@plars

What happened?

I'm running a setup with macOS 12.1 running barrier 2.4 and Ubuntu Desktop 20.04(its) running barrier 2.4. Things seem to mostly work ok except for tilde (~) and grave (`) don't make it to the client running Linux. They show up fine on the server (macOS) but not on Linux, so the keyboard itself seems to be ok.
I've tried different keyboard layout combinations on both the server and the client (plain US, US international, etc) and no combination of them seems to resolve this.

I also enabled Debug1 logging on the client and found these messages when pressing first the grave then tilde. Log attached.

Version

v2.4.0

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

server: .dmg file from GitHub
client: snap

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

Linux, macOS

What OS versions are you using?

Server: MacOS 12.1
Client: Ubuntu 20.04

Relevant log output

[2022-01-21T10:21:39] DEBUG1: recv key down id=0x0000ef2a, mask=0x0000, button=0x0033
[2022-01-21T10:21:39] DEBUG1: mapKey ef2a (61226) with mask 0000, start state: 2000
[2022-01-21T10:21:39] DEBUG1: key ef2a is not on keyboard
[2022-01-21T10:21:39] DEBUG1: recv key up id=0x00000000, mask=0x0000, button=0x0033
[2022-01-21T10:21:40] DEBUG1: recv key down id=0x0000efe1, mask=0x0001, button=0x0039
[2022-01-21T10:21:40] DEBUG1: mapKey efe1 (61409) with mask 0001, start state: 2000
[2022-01-21T10:21:40] DEBUG1: find best:  2000 0001
[2022-01-21T10:21:40] DEBUG1: best key index 1 of 1 (exact)
[2022-01-21T10:21:40] DEBUG1: found key in group 1
[2022-01-21T10:21:40] DEBUG1: state: 2000,0000,0000
[2022-01-21T10:21:40] DEBUG1: flip: 0000 (2000 vs 0000 in 0000 - 0000)
[2022-01-21T10:21:40] DEBUG1: desired state: 0001 2000,0000,0000
[2022-01-21T10:21:40] DEBUG1: flip: 0000 (2000 vs 0001 in fffe - 6020)
[2022-01-21T10:21:40] DEBUG1: mapped to 032, new state 2001
[2022-01-21T10:21:40] DEBUG1: keystrokes:
[2022-01-21T10:21:40] DEBUG1:   032 (00000000) down
[2022-01-21T10:21:41] DEBUG1: recv key down id=0x0000ef2a, mask=0x0001, button=0x0033
[2022-01-21T10:21:41] DEBUG1: mapKey ef2a (61226) with mask 0001, start state: 2001
[2022-01-21T10:21:41] DEBUG1: key ef2a is not on keyboard
[2022-01-21T10:21:41] DEBUG1: recv key up id=0x00000000, mask=0x0001, button=0x0033
[2022-01-21T10:21:41] DEBUG1: recv key up id=0x0000efe1, mask=0x0000, button=0x0039
[2022-01-21T10:21:41] DEBUG1: new state 2000
[2022-01-21T10:21:41] DEBUG1: keystrokes:
[2022-01-21T10:21:41] DEBUG1:   032 (00000000) up

Any other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions