deskflow / deskflow

Deskflow lets you share one mouse and keyboard between multiple computers on Windows, macOS and Linux. It's like a software KVM (but without video).
https://deskflow.org
GNU General Public License v2.0
13.16k stars 3.77k forks source link

Hungarian keyboard layout does not work between Windows and Linux #7234

Open amcsi opened 2 years ago

amcsi commented 2 years ago

Operating Systems

Server: Windows 10 Client: Xubuntu 22.04

Synergy Version

Both Synergies: 1.14.6 Also tried 1.14.1 for just the server. No change.

Steps to Reproduce

  1. Ensure that both the windows server and linux client's keyboard layout is Hungarian
  2. On the client, type anywhere (e.g. in a browser URL bar): a, then ;, then Right Alt + ;. (this tests both that a regular Hungarian accented character gets typed, and that an AltGr combination of a special character also gets typed).

Expected: These to get typed: aé$. Actual: Only a gets typed, but nothing else.

Log URLs

https://gist.github.com/amcsi/7baa490cf8ff3db561917d10b48a7d21

SymlessBot commented 2 years ago

[Bot] Added to Synergy's internal issue tracker with ID: SYNERGY1-1625

rakkenes commented 2 years ago

I see the same problem in Norwegian keyboards, from Windows10 (server) to Fedora36 (client). but funny, if we swap, and make the Fedora the server, and the win10 the client, on the exact same setup, it works fine.

bestis commented 1 year ago

I updated my Windows Synergy.. And now it almost works with Fedora 37. But the issue seems to be that its not related to keyboard map in Windows but more to a language or some combination thingie. Windows is the server, Fedora as client.

Windows. English UK, Finnish keyboard. A lot of seems to be wrong, but åő˝a is kind of almost, last is just not right, but then in key between ä and enter aka single quote creates ä.

Windows. Finnish, Finnish with sami keyboard. Seems to like work. åöä, and things feels like they matches. Single quote is ' and () are in place etc.

Windows English, Finnish with sami keyboard. Same keyboard that worked in windows, but as language is not Finnish things break. And go back to åő˝a and single quote being ä. And many things dont work.

So it seems that what Windows has as a Keyboard is not relevant, the Language is. So kind of test that, but its not nice. Who wants to use the computer with native language beats me.

amcsi commented 1 year ago

Any place I can contribute to try and fix at least the single key bindings? The alt+gr might be more involved for me to solve, but those single keys like ő that don't work properly across OSs I might be able to fix on my own with a PR.

AnrDaemon commented 1 year ago

In recent Synergy versions, it no longer tries to synchronize keyboard layouts between client and server. Done that because the list of installed layouts not necessarily in sync to begin with, plus Windows has the issue of silently adding layouts if application tries to use them, which surprises the end user. If you have an issue typing in certain layout on client, that's separate from your server layout choice and largely a problem of input mapping.

amcsi commented 1 year ago

I'm using the same Hungarian keyboard layout on both Linux and Windows.

AnrDaemon commented 1 year ago

Again, this is unlikely to be relevant in recent Synergy versions. You may as well uninstall the layout on the host and recheck.

amcsi commented 1 year ago

I'm already using the latest in v1: 1.14.6.

Perhaps you're taking about v3 that's in beta? I hope so.

Unfortunately around the time of the recent v3 beta announcement, I tried to set it up, but my computers somehow couldn't connect to each other through LAN with it. I think I'll wait for v3 to come out of beta when hopefully these issues get ironed out.

AnrDaemon commented 1 year ago

No, I'm talking about the core, which is the same in all versions. This was specifically fixed in or after 1.14.4 core.

amcsi commented 1 year ago

Ok.

Admittedly, recently having checked "Use server's keyboard language on this machine" on the client machine seems to have fixed most of the issues. Though when I last tried, that didn't help, and I swear I've been on the same latest version the whole time.

Anyway: that didn't fix all the issues.

Although these work: , this using AltGr (i.e. Right Alt) does not work: $ (Right Alt + semicolon). Though Ctrl+Alt+semicolor does work in place of it. Though that's not ideal, because in some programs Ctrl+Alt has special meanings for hotkeys, such as in IDEs.

So basically AltGr still doesn't work.

github-actions[bot] commented 5 months ago

This issue is stale because it has been open 1 year with no activity. Remove the stale label or add a comment, otherwise this will be closed in 30 days.

amcsi commented 5 months ago

This is still an issue