debauchee / barrier

Open-source KVM software
Other
27.64k stars 1.51k forks source link

Client Input language changes when typing special character on server #646

Open alex-Symbroson opened 4 years ago

alex-Symbroson commented 4 years ago

Operating Systems

Server: Ubuntu 19.10

Client: Windows 10Pro

Default input language / layout: german qwertz

Barrier Version

2.3.1

Steps to reproduce bug

  1. Start barrier on client and server as normal
  2. With your server keyboard try to write '}' (AltGR + 0) on German layout instead it will instantly switch to English and type a '[' character

After that I have to change the input language manually back on windows client

When the input language changed the AltGR key on the client's own keyboard isn't recognized any more until I switch layouts

c-rizz commented 4 years ago

The same happens when using an italian keyboard, with ubuntu 20.04 (or 18.04) as the server and Windows 10 Educational as the client. Also in my case it happens when trying to use an altgr combination (to make @ or # for example). Actually I have no way of typing the affected symbols. For example, after it switches, if I type shift+2 (@ on the english keyboard), it switches back to italian and types " I'm using 2.3.2 on both server and client.

Still, thanks for the great project!

ThorstenWirth commented 4 years ago

Workaround: https://github.com/debauchee/barrier/issues/134

i've used

setxkbmap -device `xinput list | grep "Virtual core XTEST keyboard" | sed -e 's/.\+=\([0-9]\+\).\+/\1/'` de

Now it works fine

github-actions[bot] commented 4 years ago

This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.

p12tic commented 3 years ago

This is a valid bug, let's not close it.

rhaamo commented 3 years ago

I'm having the same issue with 2.3.3 on windows 10 both sides.

Every time I type some chars like ' on client I ends up with client layout switching, which is extremely annoying.