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

Enhancement: AltGr-key doesn't work, when connecting from Windows to Linux #5614

Merged
merged 2 commits into from Dec 7, 2023

Conversation

wdlut
Copy link
Contributor

@wdlut wdlut commented Dec 6, 2023

The AltGr-key does not work in a desktop connection, when connecting from a Windows browser to a Linux agent.
On German keyboards you cannot enter the @, € or \ signs.

Windows doesnt have a proper AltGr, but handles it using fake Ctrl+Alt. However the remote end might not be Windows, so we need to merge those into a single AltGr event. We detect this case by seeing the two key events directly after each other with a very short time (<50ms) between them.

I succsessfuly testet with Firefox and Chrome:

  • Windows browser to Linux agent
  • Linux browser to Windows agent
  • Windows browser to Windows agent
  • Linux browser to Linux agent
    Unfortunately I don't have access to a Mac. This test still needs to be done.

wdlut and others added 2 commits November 30, 2023 12:16
… to Linux agent.

Windows doesnt have a proper AltGr, but handles it using fake Ctrl+Alt. However the remote end might not be Windows, so we need to merge those into a single AltGr event. We detect this case by seeing the two key events directly after each other with a very short time between them.
@Ylianst Ylianst merged commit 6e4c8b0 into Ylianst:master Dec 7, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants