[GH-ISSUE #217] Missing ÅÄÖ on swedish keyboard #176

Closed
opened 2026-05-05 05:31:51 -06:00 by gitea-mirror · 25 comments
Owner

Originally created by @ScuttleSE on GitHub (Jan 2, 2019).
Original GitHub issue: https://github.com/debauchee/barrier/issues/217

Operating Systems

Server: Windows 10 1803

Client: Ubuntu 18.10

Barrier Version

Server: 2.1.0
Client 2.2.0

Swedish keys ÅÄÖ does not work on client. Everything else works as expected, just these three letters that are non-working.

Debug output on server when hitting buttons:

[2019-01-02T22:12:33] DEBUG2: wrote 104 bytes [2019-01-02T22:12:33] DEBUG1: hook: 0x000000dd 0x001a0001 [2019-01-02T22:12:33] DEBUG1: hook: 0x0601e5dd 0x001a0001 [2019-01-02T22:12:33] DEBUG1: hook: 0x0700e5dd 0x001a0001 [2019-01-02T22:12:33] DEBUG1: event: Key char=229, vk=0xdd, nagr=0, lParam=0x001a0001 [2019-01-02T22:12:33] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:33] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:33] DEBUG1: onKeyDown id=65533 mask=0x2000 button=0x001a [2019-01-02T22:12:33] DEBUG1: hook: 0x000000dd 0x801a0001 [2019-01-02T22:12:33] DEBUG1: hook: 0x0601e5dd 0x801a0001 [2019-01-02T22:12:33] DEBUG1: hook: 0x0700e5dd 0x801a0001 [2019-01-02T22:12:33] DEBUG1: event: Key char=229, vk=0xdd, nagr=0, lParam=0x801a0001 [2019-01-02T22:12:33] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:33] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:33] DEBUG1: onKeyUp id=65533 mask=0x2000 button=0x001a [2019-01-02T22:12:34] DEBUG1: hook: 0x000000de 0x00280001 [2019-01-02T22:12:34] DEBUG1: hook: 0x0601e4de 0x00280001 [2019-01-02T22:12:34] DEBUG1: hook: 0x0700e4de 0x00280001 [2019-01-02T22:12:34] DEBUG1: event: Key char=228, vk=0xde, nagr=0, lParam=0x00280001 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: onKeyDown id=65533 mask=0x2000 button=0x0028 [2019-01-02T22:12:34] DEBUG1: hook: 0x000000de 0x80280001 [2019-01-02T22:12:34] DEBUG1: hook: 0x0601e4de 0x80280001 [2019-01-02T22:12:34] DEBUG1: hook: 0x0700e4de 0x80280001 [2019-01-02T22:12:34] DEBUG1: event: Key char=228, vk=0xde, nagr=0, lParam=0x80280001 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: onKeyUp id=65533 mask=0x2000 button=0x0028 [2019-01-02T22:12:34] DEBUG1: hook: 0x000000c0 0x00270001 [2019-01-02T22:12:34] DEBUG1: hook: 0x0601f6c0 0x00270001 [2019-01-02T22:12:34] DEBUG1: hook: 0x0700f6c0 0x00270001 [2019-01-02T22:12:34] DEBUG1: event: Key char=246, vk=0xc0, nagr=0, lParam=0x00270001 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: onKeyDown id=65533 mask=0x2000 button=0x0027 [2019-01-02T22:12:34] DEBUG1: hook: 0x000000c0 0x80270001 [2019-01-02T22:12:34] DEBUG1: hook: 0x0601f6c0 0x80270001 [2019-01-02T22:12:34] DEBUG1: hook: 0x0700f6c0 0x80270001 [2019-01-02T22:12:34] DEBUG1: event: Key char=246, vk=0xc0, nagr=0, lParam=0x80270001 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: onKeyUp id=65533 mask=0x2000 button=0x0027 [2019-01-02T22:12:34] DEBUG1: hook: 0x00000044 0x00200001 [2019-01-02T22:12:34] DEBUG1: hook: 0x06016444 0x00200001 [2019-01-02T22:12:34] DEBUG1: hook: 0x07006444 0x00200001 [2019-01-02T22:12:34] DEBUG1: event: Key char=100, vk=0x44, nagr=0, lParam=0x00200001 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: onKeyDown id=100 mask=0x2000 button=0x0020 [2019-01-02T22:12:34] DEBUG1: hook: 0x00000044 0x80200001 [2019-01-02T22:12:34] DEBUG1: hook: 0x06016444 0x80200001 [2019-01-02T22:12:34] DEBUG1: hook: 0x07006444 0x80200001 [2019-01-02T22:12:34] DEBUG1: event: Key char=100, vk=0x44, nagr=0, lParam=0x80200001 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: onKeyUp id=100 mask=0x2000 button=0x0020 [2019-01-02T22:12:36] DEBUG2: writef(CALV) [2019-01-02T22:12:36] DEBUG2: wrote 4 bytes

I hit åäöd

Originally created by @ScuttleSE on GitHub (Jan 2, 2019). Original GitHub issue: https://github.com/debauchee/barrier/issues/217 ### Operating Systems ### Server: Windows 10 1803 Client: Ubuntu 18.10 ### Barrier Version ### Server: 2.1.0 Client 2.2.0 Swedish keys ÅÄÖ does not work on client. Everything else works as expected, just these three letters that are non-working. Debug output on server when hitting buttons: `[2019-01-02T22:12:33] DEBUG2: wrote 104 bytes [2019-01-02T22:12:33] DEBUG1: hook: 0x000000dd 0x001a0001 [2019-01-02T22:12:33] DEBUG1: hook: 0x0601e5dd 0x001a0001 [2019-01-02T22:12:33] DEBUG1: hook: 0x0700e5dd 0x001a0001 [2019-01-02T22:12:33] DEBUG1: event: Key char=229, vk=0xdd, nagr=0, lParam=0x001a0001 [2019-01-02T22:12:33] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:33] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:33] DEBUG1: onKeyDown id=65533 mask=0x2000 button=0x001a [2019-01-02T22:12:33] DEBUG1: hook: 0x000000dd 0x801a0001 [2019-01-02T22:12:33] DEBUG1: hook: 0x0601e5dd 0x801a0001 [2019-01-02T22:12:33] DEBUG1: hook: 0x0700e5dd 0x801a0001 [2019-01-02T22:12:33] DEBUG1: event: Key char=229, vk=0xdd, nagr=0, lParam=0x801a0001 [2019-01-02T22:12:33] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:33] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:33] DEBUG1: onKeyUp id=65533 mask=0x2000 button=0x001a [2019-01-02T22:12:34] DEBUG1: hook: 0x000000de 0x00280001 [2019-01-02T22:12:34] DEBUG1: hook: 0x0601e4de 0x00280001 [2019-01-02T22:12:34] DEBUG1: hook: 0x0700e4de 0x00280001 [2019-01-02T22:12:34] DEBUG1: event: Key char=228, vk=0xde, nagr=0, lParam=0x00280001 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: onKeyDown id=65533 mask=0x2000 button=0x0028 [2019-01-02T22:12:34] DEBUG1: hook: 0x000000de 0x80280001 [2019-01-02T22:12:34] DEBUG1: hook: 0x0601e4de 0x80280001 [2019-01-02T22:12:34] DEBUG1: hook: 0x0700e4de 0x80280001 [2019-01-02T22:12:34] DEBUG1: event: Key char=228, vk=0xde, nagr=0, lParam=0x80280001 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: onKeyUp id=65533 mask=0x2000 button=0x0028 [2019-01-02T22:12:34] DEBUG1: hook: 0x000000c0 0x00270001 [2019-01-02T22:12:34] DEBUG1: hook: 0x0601f6c0 0x00270001 [2019-01-02T22:12:34] DEBUG1: hook: 0x0700f6c0 0x00270001 [2019-01-02T22:12:34] DEBUG1: event: Key char=246, vk=0xc0, nagr=0, lParam=0x00270001 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: onKeyDown id=65533 mask=0x2000 button=0x0027 [2019-01-02T22:12:34] DEBUG1: hook: 0x000000c0 0x80270001 [2019-01-02T22:12:34] DEBUG1: hook: 0x0601f6c0 0x80270001 [2019-01-02T22:12:34] DEBUG1: hook: 0x0700f6c0 0x80270001 [2019-01-02T22:12:34] DEBUG1: event: Key char=246, vk=0xc0, nagr=0, lParam=0x80270001 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: onKeyUp id=65533 mask=0x2000 button=0x0027 [2019-01-02T22:12:34] DEBUG1: hook: 0x00000044 0x00200001 [2019-01-02T22:12:34] DEBUG1: hook: 0x06016444 0x00200001 [2019-01-02T22:12:34] DEBUG1: hook: 0x07006444 0x00200001 [2019-01-02T22:12:34] DEBUG1: event: Key char=100, vk=0x44, nagr=0, lParam=0x00200001 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: onKeyDown id=100 mask=0x2000 button=0x0020 [2019-01-02T22:12:34] DEBUG1: hook: 0x00000044 0x80200001 [2019-01-02T22:12:34] DEBUG1: hook: 0x06016444 0x80200001 [2019-01-02T22:12:34] DEBUG1: hook: 0x07006444 0x80200001 [2019-01-02T22:12:34] DEBUG1: event: Key char=100, vk=0x44, nagr=0, lParam=0x80200001 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: new mask: 0x2000 [2019-01-02T22:12:34] DEBUG1: onKeyUp id=100 mask=0x2000 button=0x0020 [2019-01-02T22:12:36] DEBUG2: writef(CALV) [2019-01-02T22:12:36] DEBUG2: wrote 4 bytes` I hit åäöd
gitea-mirror 2026-05-05 05:31:51 -06:00
Author
Owner

@Svahnen commented on GitHub (Feb 21, 2019):

I have the same thing (win host, arch client), i use "setxkbmap -device 5 se" to get all the other keys to work, but åäö still does nothing, they dont even register anything in "xev"

<!-- gh-comment-id:466116266 --> @Svahnen commented on GitHub (Feb 21, 2019): I have the same thing (win host, arch client), i use "setxkbmap -device 5 se" to get all the other keys to work, but åäö still does nothing, they dont even register anything in "xev"
Author
Owner

@Svahnen commented on GitHub (Feb 21, 2019):

I think this issue have been around for a while
https://github.com/symless/synergy-core/issues/5850
but its NOT the same as https://github.com/symless/synergy-core/issues/4280
Even tho they closed the old åäö issue due to thinking them the same, this senario is different because all other keys are mapped correctly and both server and client uses swe, if i switch client and server the other way around (arch host, win client) it works, i think that "Virtual core XTEST keyboard" only recognices us keys, and we can successfully remap those to where they are suposed to be on the swedish keyboard, but the "extra" keys (åäö) are just plain missing.

<!-- gh-comment-id:466119860 --> @Svahnen commented on GitHub (Feb 21, 2019): I think this issue have been around for a while https://github.com/symless/synergy-core/issues/5850 but its NOT the same as https://github.com/symless/synergy-core/issues/4280 Even tho they closed the old åäö issue due to thinking them the same, this senario is different because all other keys are mapped correctly and both server and client uses swe, if i switch client and server the other way around (arch host, win client) it works, i think that "Virtual core XTEST keyboard" only recognices us keys, and we can successfully remap those to where they are suposed to be on the swedish keyboard, but the "extra" keys (åäö) are just plain missing.
Author
Owner

@Svahnen commented on GitHub (Feb 21, 2019):

found a termporary workaround, but it breaks åäö on the server while the client is connected, at least it works somewhat, i will probably remap the shortcuts to something else that gets triggered at the same time as my normal åäö by ahk to restore functionality on both client and server at the same time.
image
All i did was map åäö to be sent to the client when pressing the hotkeys (åäö)

EDIT: This is what i came up with when using AHK

SC01A::
Send, {ASC 134}
Return
SC028::
Send, {ASC 132}
Return
SC027::
Send, {ASC 148}
Return
^SC01A::
Send, {ASC 143}
Return
^SC028::
Send, {ASC 142}
Return
^SC027::
Send, {ASC 153}
Return

I did it this way cus it seems AHK cant capture key events when client have control, but this overrides barrier and still sends åäö to the server. (Oh and sry i could not get capital letters to work on client, i rly tried.)

<!-- gh-comment-id:466131868 --> @Svahnen commented on GitHub (Feb 21, 2019): found a termporary workaround, but it breaks åäö on the server while the client is connected, at least it works somewhat, i will probably remap the shortcuts to something else that gets triggered at the same time as my normal åäö by ahk to restore functionality on both client and server at the same time. ![image](https://user-images.githubusercontent.com/32038561/53195760-a7912b00-3616-11e9-93c5-89d400eea004.png) All i did was map åäö to be sent to the client when pressing the hotkeys (åäö) EDIT: This is what i came up with when using AHK SC01A:: Send, {ASC 134} Return SC028:: Send, {ASC 132} Return SC027:: Send, {ASC 148} Return ^SC01A:: Send, {ASC 143} Return ^SC028:: Send, {ASC 142} Return ^SC027:: Send, {ASC 153} Return I did it this way cus it seems AHK cant capture key events when client have control, but this overrides barrier and still sends åäö to the server. (Oh and sry i could not get capital letters to work on client, i rly tried.)
Author
Owner

@mnemonic47 commented on GitHub (Apr 11, 2019):

Thank you @Svahnen, it's an ok temporary solution, but not feasible in the long run. I'm actually pretty darn upset with developers of Synergy, i heard only good things, only read good things, looked amazing, bought it. Instantly disappointed because "ÅÄÖ" does not work when remote controlling computers with Swedish keyboard layouts. And i've seen this issue around for a year now..

I have tried all possible "fixes" and none works completely. Tried both version 1 and the Version 2 Beta. Doesn't matter if it's two swedish pc's with exact same set-up, ÅÄÖ does not work from one to another.
Developers; Fix this, pretty please!

<!-- gh-comment-id:482104111 --> @mnemonic47 commented on GitHub (Apr 11, 2019): Thank you @Svahnen, it's an ok temporary solution, but not feasible in the long run. I'm actually pretty darn upset with developers of Synergy, i heard only good things, only read good things, looked amazing, bought it. Instantly disappointed because "ÅÄÖ" does not work when remote controlling computers with Swedish keyboard layouts. And i've seen this issue around for a year now.. I have tried all possible "fixes" and none works completely. Tried both version 1 and the Version 2 Beta. Doesn't matter if it's two swedish pc's with exact same set-up, ÅÄÖ does not work from one to another. Developers; Fix this, pretty please!
Author
Owner

@matrixes commented on GitHub (May 17, 2019):

Yeah, this isn't stellar performance for something that I believe is mainly supposed to be able to communicate mouse movement and keystrokes across computers.
I've "lost" 5 keys on my client because these are seemingly not supported by the software (not that that is stated anywhere).
I wouldn't be upset if it would have been stated that only US layouts are supported, but without that disclaimer you're getting fooled into believing it "just works".

<!-- gh-comment-id:493353205 --> @matrixes commented on GitHub (May 17, 2019): Yeah, this isn't stellar performance for something that I _believe_ is mainly supposed to be able to communicate mouse movement and keystrokes across computers. I've "lost" 5 keys on my client because these are seemingly not supported by the software (not that _that_ is stated anywhere). I wouldn't be upset if it would have been stated that only US layouts are supported, but without that disclaimer you're getting fooled into believing it "just works".
Author
Owner

@henryford commented on GitHub (May 20, 2019):

This is also true for German Umlauts (ä, ö, ü, ß) - they do not work on the client.

<!-- gh-comment-id:494172022 --> @henryford commented on GitHub (May 20, 2019): This is also true for German Umlauts (ä, ö, ü, ß) - they do not work on the client.
Author
Owner

@hliasa commented on GitHub (May 31, 2019):

Greek also (ά, ύ, ί, ό, ώ, ή, etc).
Arch host - win10 client

<!-- gh-comment-id:497691711 --> @hliasa commented on GitHub (May 31, 2019): Greek also (ά, ύ, ί, ό, ώ, ή, etc). Arch host - win10 client
Author
Owner

@AstralStorm commented on GitHub (Jun 18, 2019):

See issue: https://github.com/symless/synergy-core/issues/6512

Affects Barrier as well and the same workaround can be used if you accept en-US as the "first" keyboard layout.

<!-- gh-comment-id:503164554 --> @AstralStorm commented on GitHub (Jun 18, 2019): See issue: https://github.com/symless/synergy-core/issues/6512 Affects Barrier as well and the same workaround can be used if you accept en-US as the "first" keyboard layout.
Author
Owner

@mnemonic47 commented on GitHub (Jul 22, 2019):

See issue: symless#6512

Affects Barrier as well and the same workaround can be used if you accept en-US as the "first" keyboard layout.

Ok, interesting. Although if that is a working workaround. Is there any actual progress made in the development of the software to prevent this bugs yet?

<!-- gh-comment-id:513600267 --> @mnemonic47 commented on GitHub (Jul 22, 2019): > > > See issue: [symless#6512](https://github.com/symless/synergy-core/issues/6512) > > Affects Barrier as well and the same workaround can be used if you accept en-US as the "first" keyboard layout. Ok, interesting. Although if that is a working workaround. Is there any actual progress made in the development of the software to prevent this bugs yet?
Author
Owner

@p12tic commented on GitHub (Jul 25, 2019):

Is there any actual progress made in the development of the software to prevent this bugs yet?

I believe no. Barrier is developed by a team of volunteers, fixes for bugs are not guaranteed to be done in timely manner.

<!-- gh-comment-id:515157528 --> @p12tic commented on GitHub (Jul 25, 2019): > Is there any actual progress made in the development of the software to prevent this bugs yet? I believe no. Barrier is developed by a team of volunteers, fixes for bugs are not guaranteed to be done in timely manner.
Author
Owner

@AndreasGrip commented on GitHub (Sep 28, 2019):

Server: Windows 10 1903

Client: Windows 10 1903

Barrier Version
Server: 2.3.1
Client 2.3.1

In the hope of help the developers the debug log looks like this. when pressing åäö

--å--
[2019-09-28T07:16:45] DEBUG2: wrote 4 bytes
[2019-09-28T07:16:45] DEBUG2: msg from server: DKDN
[2019-09-28T07:16:45] DEBUG2: readf(%2i%2i%2i)
[2019-09-28T07:16:45] DEBUG2: readf: read 2 byte integer: 65533 (0xfffd)
[2019-09-28T07:16:45] DEBUG2: readf: read 2 byte integer: 8192 (0x2000)
[2019-09-28T07:16:45] DEBUG2: readf: read 2 byte integer: 27 (0x1b)
[2019-09-28T07:16:45] DEBUG1: recv key down id=0x0000fffd, mask=0x2000, button=0x001b
[2019-09-28T07:16:45] DEBUG1: mapKey fffd (65533) with mask 2000, start state: 2000
[2019-09-28T07:16:45] DEBUG1: key fffd is not on keyboard
---
--ä--
[2019-09-28T07:17:44] DEBUG2: msg from server: DKDN
[2019-09-28T07:17:44] DEBUG2: readf(%2i%2i%2i)
[2019-09-28T07:17:44] DEBUG2: readf: read 2 byte integer: 65533 (0xfffd)
[2019-09-28T07:17:44] DEBUG2: readf: read 2 byte integer: 8192 (0x2000)
[2019-09-28T07:17:44] DEBUG2: readf: read 2 byte integer: 40 (0x28)
[2019-09-28T07:17:44] DEBUG1: recv key down id=0x0000fffd, mask=0x2000, button=0x0028
[2019-09-28T07:17:44] DEBUG1: mapKey fffd (65533) with mask 2000, start state: 2000
[2019-09-28T07:17:44] DEBUG1: key fffd is not on keyboard
[2019-09-28T07:17:44] DEBUG2: writef(CNOP)
---
--ö--
[2019-09-28T07:19:21] DEBUG2: writef(CNOP)
[2019-09-28T07:19:21] DEBUG2: wrote 4 bytes
[2019-09-28T07:19:23] DEBUG2: msg from server: DKDN
[2019-09-28T07:19:23] DEBUG2: readf(%2i%2i%2i)
[2019-09-28T07:19:23] DEBUG2: readf: read 2 byte integer: 65533 (0xfffd)
[2019-09-28T07:19:23] DEBUG2: readf: read 2 byte integer: 8192 (0x2000)
[2019-09-28T07:19:23] DEBUG2: readf: read 2 byte integer: 39 (0x27)
[2019-09-28T07:19:23] DEBUG1: recv key down id=0x0000fffd, mask=0x2000, button=0x0027
[2019-09-28T07:19:23] DEBUG1: mapKey fffd (65533) with mask 2000, start state: 2000
[2019-09-28T07:19:23] DEBUG1: key fffd is not on keyboard
---

My best guess is that it's utf8/16 gone bad.
And while a would prefer it to "simply work", PLEASE PLEASE PLEASE developer, as a workaround make it possible to make custom mappings for id+mask+button so I could map
id=0x0000fffd, mask=0x2000, button=0x0027
to ö.
I figure it should be fairly easy to create as I assume there is already some mapping function available.

the buttons åäö makes upp about 0.1-5% of typed chars in languages like swedish so it's a real pain to not have them when typing in native languages.

<!-- gh-comment-id:536156060 --> @AndreasGrip commented on GitHub (Sep 28, 2019): Server: Windows 10 1903 Client: Windows 10 1903 Barrier Version Server: 2.3.1 Client 2.3.1 In the hope of help the developers the debug log looks like this. when pressing åäö ``` --å-- [2019-09-28T07:16:45] DEBUG2: wrote 4 bytes [2019-09-28T07:16:45] DEBUG2: msg from server: DKDN [2019-09-28T07:16:45] DEBUG2: readf(%2i%2i%2i) [2019-09-28T07:16:45] DEBUG2: readf: read 2 byte integer: 65533 (0xfffd) [2019-09-28T07:16:45] DEBUG2: readf: read 2 byte integer: 8192 (0x2000) [2019-09-28T07:16:45] DEBUG2: readf: read 2 byte integer: 27 (0x1b) [2019-09-28T07:16:45] DEBUG1: recv key down id=0x0000fffd, mask=0x2000, button=0x001b [2019-09-28T07:16:45] DEBUG1: mapKey fffd (65533) with mask 2000, start state: 2000 [2019-09-28T07:16:45] DEBUG1: key fffd is not on keyboard --- --ä-- [2019-09-28T07:17:44] DEBUG2: msg from server: DKDN [2019-09-28T07:17:44] DEBUG2: readf(%2i%2i%2i) [2019-09-28T07:17:44] DEBUG2: readf: read 2 byte integer: 65533 (0xfffd) [2019-09-28T07:17:44] DEBUG2: readf: read 2 byte integer: 8192 (0x2000) [2019-09-28T07:17:44] DEBUG2: readf: read 2 byte integer: 40 (0x28) [2019-09-28T07:17:44] DEBUG1: recv key down id=0x0000fffd, mask=0x2000, button=0x0028 [2019-09-28T07:17:44] DEBUG1: mapKey fffd (65533) with mask 2000, start state: 2000 [2019-09-28T07:17:44] DEBUG1: key fffd is not on keyboard [2019-09-28T07:17:44] DEBUG2: writef(CNOP) --- --ö-- [2019-09-28T07:19:21] DEBUG2: writef(CNOP) [2019-09-28T07:19:21] DEBUG2: wrote 4 bytes [2019-09-28T07:19:23] DEBUG2: msg from server: DKDN [2019-09-28T07:19:23] DEBUG2: readf(%2i%2i%2i) [2019-09-28T07:19:23] DEBUG2: readf: read 2 byte integer: 65533 (0xfffd) [2019-09-28T07:19:23] DEBUG2: readf: read 2 byte integer: 8192 (0x2000) [2019-09-28T07:19:23] DEBUG2: readf: read 2 byte integer: 39 (0x27) [2019-09-28T07:19:23] DEBUG1: recv key down id=0x0000fffd, mask=0x2000, button=0x0027 [2019-09-28T07:19:23] DEBUG1: mapKey fffd (65533) with mask 2000, start state: 2000 [2019-09-28T07:19:23] DEBUG1: key fffd is not on keyboard --- ``` My best guess is that it's utf8/16 gone bad. And while a would prefer it to "simply work", PLEASE PLEASE PLEASE developer, as a workaround make it possible to make custom mappings for id+mask+button so I could map id=0x0000fffd, mask=0x2000, button=0x0027 to ö. I figure it should be fairly easy to create as I assume there is already some mapping function available. the buttons åäö makes upp about 0.1-5% of typed chars in languages like swedish so it's a real pain to not have them when typing in native languages.
Author
Owner

@AndreasGrip commented on GitHub (Oct 27, 2019):

It's not related to the problem but a workaround that I currently using.
Using a Razer Ornata (gaming keyboard) that allows scripts to be mapped to any keys.
So I have created 3 profiles (changed using fn + 0/1/2
Profile 0 is normal keyboard
Profile 1 I have mapped
å = alt + 0 + 2 + 2 + 9 keypress (generating å)
ä = alt + 0 + 2 + 2 + 8 keypress (generating ä)
ö = alt + 0 + 2 + 4 + 6 keypress (generating ö)
Profile 2 I have mapped
å = alt + 0 + 1 + 9 + 7 keypress (generating Å)
ä = alt + 0 + 1 + 9 + 6 keypress (generating Ä)
ö = alt + 0 + 2 + 1 + 4 keypress (generating Ö)

It's not a perfect solution but it's by far the best solution I figued out so far. Usually I use Profile1, not having access to capital letters is acceptable most of the time.

It should be possible to do the same with for isntance autohotkey but I didn't managed to get it to work :(

<!-- gh-comment-id:546702226 --> @AndreasGrip commented on GitHub (Oct 27, 2019): It's not related to the problem but a workaround that I currently using. Using a Razer Ornata (gaming keyboard) that allows scripts to be mapped to any keys. So I have created 3 profiles (changed using fn + 0/1/2 Profile 0 is normal keyboard Profile 1 I have mapped å = alt + 0 + 2 + 2 + 9 keypress (generating å) ä = alt + 0 + 2 + 2 + 8 keypress (generating ä) ö = alt + 0 + 2 + 4 + 6 keypress (generating ö) Profile 2 I have mapped å = alt + 0 + 1 + 9 + 7 keypress (generating Å) ä = alt + 0 + 1 + 9 + 6 keypress (generating Ä) ö = alt + 0 + 2 + 1 + 4 keypress (generating Ö) It's not a perfect solution but it's by far the best solution I figued out so far. Usually I use Profile1, not having access to capital letters is acceptable most of the time. It should be possible to do the same with for isntance autohotkey but I didn't managed to get it to work :(
Author
Owner

@Nitrooo commented on GitHub (Nov 23, 2019):

Server: Linux Mint, Italian layout, running version 2.3.2
Client: Linux Manjaro, Italian layout, running version 2.3.2
è, ò, à, ù keys not working.

<!-- gh-comment-id:557830564 --> @Nitrooo commented on GitHub (Nov 23, 2019): Server: Linux Mint, Italian layout, running version 2.3.2 Client: Linux Manjaro, Italian layout, running version 2.3.2 è, ò, à, ù keys not working.
Author
Owner

@AZeroEight commented on GitHub (Dec 2, 2019):

I just got a new system with windows 10 installed and run into this issue but all used to work fine on the old one (German Umlauts in my case)...

...I compared the settings and found the culprid in my case. It is part of the administrative regional settings / system locale. There is a checkbox for Beta UTF-8 support which was checked on the new system - unchecking and restarting Barrier solved the issue for me.
barrier

<!-- gh-comment-id:560354964 --> @AZeroEight commented on GitHub (Dec 2, 2019): I just got a new system with windows 10 installed and run into this issue but all used to work fine on the old one (German Umlauts in my case)... ...I compared the settings and found the culprid in my case. It is part of the administrative regional settings / system locale. There is a checkbox for Beta UTF-8 support which was checked on the new system - unchecking and restarting Barrier solved the issue for me. ![barrier](https://user-images.githubusercontent.com/16695786/69955737-a6265480-14fe-11ea-81f4-80b6e5f2461a.PNG)
Author
Owner

@cmtec commented on GitHub (May 5, 2020):

Installing Swedish language pack (Microsoft) and activated it on the server side solved this for me.
Server: Win10
Client1: Win10
Client2: Arch Linux

<!-- gh-comment-id:623890306 --> @cmtec commented on GitHub (May 5, 2020): Installing Swedish language pack (Microsoft) and activated it on the server side solved this for me. Server: Win10 Client1: Win10 Client2: Arch Linux
Author
Owner

@AndreasGrip commented on GitHub (May 11, 2020):

Installing Swedish language pack (Microsoft) and activated it on the server side solved this for me.
Server: Win10
Client1: Win10
Client2: Arch Linux

I'll be... I'm quite confident that I tried that already about a year ago in vain, but now it worked!!
@cmtec Thanks ALOT for taking the time to write this comment, I have been struggling with this for more than a year and this solved the problem (even if it's a bit inconvenient to have windows in swedish on one mashine it ALOT better than the workarounds!)

<!-- gh-comment-id:626604738 --> @AndreasGrip commented on GitHub (May 11, 2020): > Installing Swedish language pack (Microsoft) and activated it on the server side solved this for me. > Server: Win10 > Client1: Win10 > Client2: Arch Linux I'll be... I'm quite confident that I tried that already about a year ago in vain, but now it worked!! @cmtec Thanks ALOT for taking the time to write this comment, I have been struggling with this for more than a year and this solved the problem (even if it's a bit inconvenient to have windows in swedish on one mashine it ALOT better than the workarounds!)
Author
Owner

@carlesoriol commented on GitHub (May 14, 2020):

This is a blocking feature. You cannot use a virtual keyboard if misses basic characters accents are important but also |@#...

Server: ubuntu 20.04
Client: ubuntu 20.04

Server: 2.3.2-Release-00000000
Client: 2.3.2-Release-00000000

<!-- gh-comment-id:628407155 --> @carlesoriol commented on GitHub (May 14, 2020): This is a blocking feature. You cannot use a virtual keyboard if misses basic characters accents are important but also |@#\... Server: ubuntu 20.04 Client: ubuntu 20.04 Server: 2.3.2-Release-00000000 Client: 2.3.2-Release-00000000
Author
Owner

@shymega commented on GitHub (Aug 31, 2020):

Related to #860.

<!-- gh-comment-id:683520989 --> @shymega commented on GitHub (Aug 31, 2020): Related to #860.
Author
Owner

@MrClue commented on GitHub (Sep 22, 2020):

This post helped me fix the problem with missing keys (using nordic keyboard layout):
https://github.com/symless/synergy-core/issues/6512

<!-- gh-comment-id:696943677 --> @MrClue commented on GitHub (Sep 22, 2020): This post helped me fix the problem with missing keys (using nordic keyboard layout): https://github.com/symless/synergy-core/issues/6512
Author
Owner

@eugenegff commented on GitHub (Oct 14, 2020):

The ultimate fix for wrong UTF16 char passed as KeyID is in pull request https://github.com/debauchee/barrier/pull/910 The solution is to take UTF16 char produced by current keyboard layout on win host directly, without any conversion to some flavor of ANSI code page and back to UTF16, that obviously works unreliable in so many cases.

<!-- gh-comment-id:708610003 --> @eugenegff commented on GitHub (Oct 14, 2020): The ultimate fix for wrong UTF16 char passed as KeyID is in pull request https://github.com/debauchee/barrier/pull/910 The solution is to take UTF16 char produced by current keyboard layout on win host directly, without any conversion to some flavor of ANSI code page and back to UTF16, that obviously works unreliable in so many cases.
Author
Owner

@p12tic commented on GitHub (Jan 10, 2021):

I'm assuming that this bug is fixed by #910 and will close it. If the new version of Barrier (2.3.4, when released) still has this bug, please reopen the issue. Thanks a lot!

<!-- gh-comment-id:757563881 --> @p12tic commented on GitHub (Jan 10, 2021): I'm assuming that this bug is fixed by #910 and will close it. If the new version of Barrier (2.3.4, when released) still has this bug, please reopen the issue. Thanks a lot!
Author
Owner

@eiband commented on GitHub (Mar 18, 2021):

When will Barrier 2.3.4 be available?

<!-- gh-comment-id:801797826 --> @eiband commented on GitHub (Mar 18, 2021): When will Barrier 2.3.4 be available?
Author
Owner

@shymega commented on GitHub (Mar 18, 2021):

Unknown yet.

<!-- gh-comment-id:802162175 --> @shymega commented on GitHub (Mar 18, 2021): Unknown yet.
Author
Owner

@Andy1978 commented on GitHub (Mar 30, 2021):

It is still a problem on a fresh build of cset 12024b9a5d

<!-- gh-comment-id:809968966 --> @Andy1978 commented on GitHub (Mar 30, 2021): It is still a problem on a fresh build of cset 12024b9a5d3792525f1499a413d5756f2a2c8231
Author
Owner

@p12tic commented on GitHub (Jun 25, 2021):

@Andy1978 Could you please file a separate bug for that with logs and so on? It's likely that what you're seeing is a different issue, just that its symptoms are the same.

<!-- gh-comment-id:868515988 --> @p12tic commented on GitHub (Jun 25, 2021): @Andy1978 Could you please file a separate bug for that with logs and so on? It's likely that what you're seeing is a different issue, just that its symptoms are the same.
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#176
No description provided.