Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some keyboard strokes are not working properly #532

Open
EmilianoTalamo opened this issue Dec 23, 2019 · 32 comments
Open

Some keyboard strokes are not working properly #532

EmilianoTalamo opened this issue Dec 23, 2019 · 32 comments
Labels
bug Something isn't working macOS Related to macOS windows Related to Microsoft Windows

Comments

@EmilianoTalamo
Copy link

Operating Systems

Server: Windows 10

Client: Mac OS Mojave

Barrier Version

2.3.2

Bug Info

I have an US International keyboard layout on both server and client. Most of the keys are working properly, but some there are a few that are acting weirdly or not working at all:

  • The TILDE key triggers the tilde, but also both OPTION and SHIFT keys at the same time.
  • AltGr triggers both ALT keys, and also both OPTION keys.
  • Single quote key is not working at all.

I'm using the Ukelele App to check which keys are being detected by the client.

@AdrianKoshka AdrianKoshka added bug Something isn't working macOS Related to macOS windows Related to Microsoft Windows labels Dec 29, 2019
@EmilianoTalamo
Copy link
Author

Update: This error shows up in the log of the client every time I press the single quote key:

barrierc[23501:716161] pid(23501)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!

@SebastianGrans
Copy link

SebastianGrans commented Mar 4, 2020

I also have some problems.
The Mac is the client with the following mapping:

altgr = alt
alt = super

On a Mac (with swedish keyboard layout) you write a backslash using Shift-Option-7, (with option being the alt equivalent). After pressing shift-alt nothing gets detected.

Another thing: when pressing alt-7 it somehow gets mapped to the equivalent to Option-8 on the Mac, when in fact I expected it to be Option-7 which should give me a pipe |.

This is most likely related to issue #527.

@alessandro-lenzi
Copy link

On US-Intl layouts to have:

  • A single quote ['], we have to stroke ['] and then [space], and it's not working;
  • A double quote ["], we have to stroke [shift] + ['] and then [space], and it's not working;
  • Other composite characters like [á,é,í,ó,ú,ç] made by [a,e,i,o,u,c] + ['] and then [space], are working fine.

@devilish2o
Copy link

devilish2o commented May 4, 2020

On US-Intl layouts to have:

  • A single quote ['], we have to stroke ['] and then [space], and it's not working;
  • A double quote ["], we have to stroke [shift] + ['] and then [space], and it's not working;
  • Other composite characters like [á,é,í,ó,ú,ç] made by [a,e,i,o,u,c] + ['] and then [space], are working fine.

Having exactly the same problem, using this excellent piece of software on windows 10, raspbian and osx at the same time, win 10 is the server and a bluetooth keyboard is connected to it, using international us.

I have to omit the single quote if i don't (argh!!!!) want to move back to mac keyboard. Is there an easier work around?

Many thanks again :)

@alessandro-lenzi
Copy link

#653
Downloaded this build artifact directly from Azure Pipelines while it's still not published and it worked:
https://dev.azure.com/debauchee/Barrier/_build/results?buildId=252&view=artifacts&type=publishedArtifacts

Just installed on my Windows 10 (Barrier server) and those quotes/double-quotes began to work properly on my Mac by using the "Brazillian" layout (not Brazillian ABNT2 or Brazillian Pro).

@gustavostugova
Copy link

On US-Intl layouts to have:

  • A single quote ['], we have to stroke ['] and then [space], and it's not working;
  • A double quote ["], we have to stroke [shift] + ['] and then [space], and it's not working;
  • Other composite characters like [á,é,í,ó,ú,ç] made by [a,e,i,o,u,c] + ['] and then [space], are working fine.

I experienced the same issue today, with server running on OSX, and controlling a Windows 10 PC. On both sides I have United States (international) layout. I think it was working fine, and suddenly stopped for those keys / characters.
Anyway, I think the problem is some kind of collision between both systems requiring the +[space] combination. When I configured the keyboard on the PC with another layout (in my case, English - United Kingdom, that is the layout of the Windows 10 Notebook I'm using and controlling from OSX), the problem disappears.
I hope this helps you.

@enricodias
Copy link

Same issue here. Changing the keyboard layout to UK have no effect. Quotes are one of the most used characters in programming. It's literally impossible to work without it.

@gustavostugova
Copy link

gustavostugova commented Jun 7, 2021 via email

@enricodias
Copy link

I just managed to make it work here by restarting barrier on both the client and the server after changing the keyboard layouts. Really strange issue.

@zsoltszakaly
Copy link

I have a similar issue. On international keyboards (HU) on both server and client most of the special characters work, but two does not. Alt-Gr í (yes it is the 102nd key, with a special character by itself) should be <, but instead it is >. Alt-Gr c (that is at least a normal character) should be &, but I get ł. In the log of the client I see INFO: found key in group 0, but apparently it finds the wrong key.

@gustavostugova
Copy link

gustavostugova commented Jul 31, 2021 via email

@anarqz
Copy link

anarqz commented Sep 13, 2021

Just leaving my workaround for the QUOTES issue here. My keyboard is US but as I'm from brazil I need to use acentos. Like ã, á and of course quotes " ' ` . .... So what worked for me, was:

Server: Windows
Keyboard Layouts:

  • US INTERNATIONAL

Client: Mac
Keyboard Layouts:

  • BRITISH
  • US INTERNATIONAL - PC

After restarting both machines, putting Mac on BRITISH layout. Start barrier on both machines and change Mac layout to US INTERNATIONAL - PC.

Bang! Both, acentos and quotes working as expected.

Would be nice to have this bug fixed, tho.

@eusgit
Copy link

eusgit commented Oct 3, 2021

On US-Intl layouts to have:

  • A single quote ['], we have to stroke ['] and then [space], and it's not working;
  • A double quote ["], we have to stroke [shift] + ['] and then [space], and it's not working;
  • Other composite characters like [á,é,í,ó,ú,ç] made by [a,e,i,o,u,c] + ['] and then [space], are working fine.

I confirm the same issue.
Barrier server: iMac (I had US-International Input source as primary, Italian as the second language)
Barrier client: MacBook (I had US-International Input source)

I have solved as follow:

  • shutdown Barrier app both server and client
  • System Preference -> Keyboard -> Input source -> Remove all languages and add only U.S. (NOT the International version) I made this configuration for both iMac and MacBook
  • Restart Barrier app

And now it works properly.

(Also It's working when I add the second language for server input source)

@fypc
Copy link

fypc commented Dec 5, 2021

I confirm the same issue with ` and tilde characters not working on the barrier client with the dead key of the mac keyboard.

  • Barrier server: MacbookPro with US-International keyboard
  • Barrier client: GhostBSD

@luiscamaral
Copy link

I also report a similar issue. US-International keyboard not working properly.

  • Barrier Server: Macbook Pro Intel
  • Barrier Client: Macbook Air M1

@luiscamaral
Copy link

Just leaving my workaround for the QUOTES issue here. My keyboard is US but as I'm from brazil I need to use acentos. Like ã, á and of course quotes " ' ` . .... So what worked for me, was:

Server: Windows Keyboard Layouts:

  • US INTERNATIONAL

Client: Mac Keyboard Layouts:

  • BRITISH
  • US INTERNATIONAL - PC

After restarting both machines, putting Mac on BRITISH layout. Start barrier on both machines and change Mac layout to US INTERNATIONAL - PC.

Bang! Both, acentos and quotes working as expected.

Would be nice to have this bug fixed, tho.

Is there a branch open to work out this issue ? Or is it on the roadmap of someone for soon work on it ?

@luiscamaral
Copy link

I can confirm the workaround from @alcmoraes worked for me also. (Server: MacOS, Client: MacOS)

@dtangster
Copy link

dtangster commented Dec 22, 2021

I'm also hitting the same issue where I can't type tilde (`).

  • Barrier Server: MacMini M1: US Keyboard
  • Barrier Client: Windows 11: US Keyboard

@mvoelske
Copy link

mvoelske commented Jan 5, 2022

I think I have the same issue. I'm using:

  • Barrier Server (v2.4.0): Arch Linux; using us dvorak-intl layout
  • Barrier Client (v2.4.0); Windows 10; using United States-Dvorak International layout from keyboards.jargon-file.org

In my case, sending single quotes to the client through barrier (' followed by space with the deadkeys layout) works fine, as do single-accented letters (` or ' followed by the letter). What doesn't work are double quote (shift+' followed by space) or letters with diareses, neither does ~.

I checked with the tool from carnackeys.com -- it looks like when I press the deadkey for ', the client receives that keystroke immediately, whereas for shift+' or the ~ key, nothing is received, ever.

@codearis
Copy link

Just leaving my workaround for the QUOTES issue here. My keyboard is US but as I'm from brazil I need to use acentos. Like ã, á and of course quotes " ' ` . .... So what worked for me, was:

Server: Windows Keyboard Layouts:

  • US INTERNATIONAL

Client: Mac Keyboard Layouts:

  • BRITISH
  • US INTERNATIONAL - PC

After restarting both machines, putting Mac on BRITISH layout. Start barrier on both machines and change Mac layout to US INTERNATIONAL - PC.

Bang! Both, acentos and quotes working as expected.

Would be nice to have this bug fixed, tho.

Thank you, this worked!

@imbdb
Copy link

imbdb commented Mar 30, 2022

To resolve this
I just added hotkey for it
shift + ~ => shift + ~
and same for backtick

@stefanhendriks
Copy link

@imbdb - can't believe that worked. Tried everything with setting to same keyboard layout, nothing worked.

I use Mac OS 12.3.1 as server, and Windows 10 as client.

@pemora
Copy link

pemora commented May 15, 2022

I am also encountering the tilde and backtick issue. Everything was working fine before with a Mac Os Big Sur for the server and a Fedora 35 client.
After upgrading to monterey and fedora 36, things stopped working. Since I upgraded both stations on the same day, I'm not sure which one is causing the issue 😅
I tried @imbdb hotkeys trick, and it does now forward the tilde and backtick to Fedora, but they are not registered on Mac anymore, am I missing something? 😅

@stefanhendriks
Copy link

Yes, I also noticed the backtick no longer works on the mac. I had to stop the Barrier server. Looks like the hotkey is always picked up, but somehow on my mac it did not translate to a backtick? Weird?

@bdmorin
Copy link

bdmorin commented May 16, 2022

To resolve this I just added hotkey for it shift + ~ => shift + ~ and same for backtick

thanks, worked like a charm.

@luiscamaral
Copy link

luiscamaral commented May 16, 2022 via email

@gustavostugova
Copy link

gustavostugova commented Jun 12, 2022

The @imbdb solution with shortcuts, that didn't work ok for me. With this shortcuts, I get get intended characters on my client even when the focus is on the server. Also I lost the hability to write the intended characters on the server.

@gustavostugova
Copy link

Found the solution:
Uninstall this, and install this version: https://github.com/DEAKSoftware/Synergy-Binaries/releases/tag/1.14.3.5-stable

@jgcl
Copy link

jgcl commented Jul 22, 2023

Just leaving my workaround for the QUOTES issue here. My keyboard is US but as I'm from brazil I need to use acentos. Like ã, á and of course quotes " ' ` . .... So what worked for me, was:

Server: Windows Keyboard Layouts:

  • US INTERNATIONAL

Client: Mac Keyboard Layouts:

  • BRITISH
  • US INTERNATIONAL - PC

After restarting both machines, putting Mac on BRITISH layout. Start barrier on both machines and change Mac layout to US INTERNATIONAL - PC.

Bang! Both, acentos and quotes working as expected.

Would be nice to have this bug fixed, tho.

I can confirm the workaround from @alcmoraes worked for me too. (Server: MacOS, Client: MacOS)

@boringparty
Copy link

I personally fixed this using Keyboard Manager in Power Tools for Windows. I remapped VK243 to ` and made sure my language wasn't set to International, or else it'll be waiting for another character to be accented.

@rr-commits
Copy link

rr-commits commented Jun 11, 2024

Just had the same issue, wanting to use US International on both my Server and Client. The following setup worked for me:
Server: Windows (US-International)
Client: Mac (German Layout)

Now both client and server are using US international layout.

@DaniloReisRocha
Copy link

I was having the same issue with a client and server on Windows 10. I solved it by stopping the client, adding the EU (international) and ABNT2 language options on the client PC, and then restarting Barrier. The server remained with only ABNT2.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working macOS Related to macOS windows Related to Microsoft Windows
Projects
None yet
Development

No branches or pull requests