You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Corentin Soriano (Jira)" <ji...@apache.org> on 2025/11/09 12:49:00 UTC

[jira] [Created] (GUACAMOLE-2167) Incorrect handling of the ALTGR key

Corentin Soriano created GUACAMOLE-2167:
-------------------------------------------

             Summary: Incorrect handling of the ALTGR key
                 Key: GUACAMOLE-2167
                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-2167
             Project: Guacamole
          Issue Type: Bug
            Reporter: Corentin Soriano
             Fix For: 1.6.1


The ALTGR key is not handled correctly on the client side.

To see this, simply hold down ALTGR in the terminal for a few moments and then press another key (example: ~#{[|`\^@]}€ in fr_fr). The terminal will not display the requested character.

Relying on e.ctrlKey and e.alt Key is incorrect because in the case of ALTGR, both are false (except for ctrlKey during the initial press) and cause premature exit from release_simulated_altgr() who expects to have CTRL and ALT pressed.

e.getModifierState('AltGraph') allows us to have the correct state to CTRL and ALT if ALTGR is held down.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)