debauchee / barrier

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

Dead key issue Win10 <-> Win10 #576

Open Geobert opened 4 years ago

Geobert commented 4 years ago

Operating Systems

Server: Win10

Client: Win10

Barrier Version

2.3.2

Steps to reproduce bug

On master:

  1. Use french keyboard layout "bépo"
  2. Type ^ key twice
  3. Should get ^ char, got nothing, have to press third time.

On slave:

  1. Use french keyboard layout "bépo"
  2. Type Shift+^ key (to type ! char)
  3. The input language change

Other info

EDIT: I tried https://dev.azure.com/debauchee/Barrier/_build/results?buildId=145&view=artifacts&type=publishedArtifacts

With the same bugs

the-wes commented 4 years ago

As Barrier and all upstream components were developed almost entirely by people in the US with standard US keyboards, there are a lot of issues with keys only found on keyboards in other countries.

We definitely want to improve on this, but it may take measures like buying a French keyboard and installing a French version of Windows (just as an example). There are probably also special considerations to be handle regarding language switching key combos and keystrokes that modify characters that follow (such as in languages with ~ over some letters).

Geobert commented 4 years ago

I understand the cause :)

You don't need to buy anything as long as you already have Win 10 installed. You can install a french layout (and bépo is not shipped with Win10 anyway, you need it from http://download.tuxfamily.org/dvorak/windows/1.1rc2/bepo-1.1rc2-full.exe ) mapping being on the homepage: https://bepo.fr/wiki/Accueil so you can type bépo on a physical qwerty keyboard, I'm using a UK Win10 with bépo installed :)

davidgiga1993 commented 4 years ago

I have a similar issue: Both systems use german language / keyboard layout. While I can use the ^ key the backtick key (`) isn't working.

Eagle3386 commented 4 years ago

I second this as using Win + ^ (opens Ditto in my case) fails on my client (Win 10 Pro, just like server), too. However, both Win and ^, work as expected when pressed individually and setting Ditto's global hotkey to Win + < works, too.

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.

Eagle3386 commented 4 years ago

Issue persists..

Eagle3386 commented 4 years ago

3 weeks gone, issue still present.

Haprog commented 3 years ago

I recently started using Barrier (Win 10 server and Ubuntu based Pop!_OS 20.10 client). Both have system language set to English, but keyboard layout is Finnish (since I live in Finland).

I have a similar issue in which I can't type back tick `, forward tick ´, caret ^ and ¨ on the client. I haven't noticed any issues on the server (Win 10) so I can type the character in some app on the server and then copy it and paste on the client. All other special characters seem to work fine for me though. So the problem is basically only with 2 physical keys, the one left from backslash and one below it next to enter. Both when pressed by themselves followed by space or letter and also in combination with shift.

I'm a developer and often need to use backtick to type code snippets into Slack or in other places that use Markdown syntax, so this is very inconvenient. :/

straight-shoota commented 3 years ago

I've hit this too, with German keyboard layout and typing ` on the client (which is a dead key with shift modifier). Both involved computers running Win10.

I need backtick a lot so I thought I could alter the keyboard layout as a workaround and put it somewhere else. I used the Microsoft Keyboard Layout Creator (MSKLC) and essentially just flipped the shift state which switches between backtick and forward tick. That would solve my problem. After installing the custom keyboard it works. Not as I had intended actually, but in the regular mapping. Maybe I installed a wrong custom keyboar (I had two show up but both seem to behave identically). No idea what's going on. But maybe someone might find this useful

edvalente commented 3 years ago

Same here. Server:

Client:

s-bauer commented 2 years ago

Issue persists with the ` on a german keybaord.

wanieru commented 2 years ago

I have this issue as well, using a Fedora 36 host -> Windows 10 client. I can type forward tick ´ and diaeresis ¨, but not their shift equivalents, back tick ` and caret ^

Haprog commented 2 years ago

I just want to let you know that for me (on Win 10 server and Ubuntu based Pop!_OS client) this issue got resolved a long time ago (maybe about a year ago?) and everything is working perfectly after updating to newer version of Barrier (both on client and server). I'm not sure on which version it got fixed for me but if you haven't updated your Barrier in a while, I suggest to try that to verify if the issue still exists for your case.

ygoe commented 7 months ago

Sorry, not fixed at all. I have the latest release before it died (2.4.0) and cannot type a backtick on the remote machine. Which can be a nightmare in scenarios that involve Markdown or other specific languages. Barrier was so much better than PowerToys' MouseWithoutBorder, but not in this regard. Seems like it's extremely hard to send keystrokes over the network.