[ 
https://issues.apache.org/jira/browse/GUACAMOLE-1879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17784191#comment-17784191
 ] 

Mike Jumper commented on GUACAMOLE-1879:
----------------------------------------

By the way, there _is_ a mitigation in Guacamole's keyboard handling intended 
to automatically release Ctrl+Alt when it appears to be involved in typing and 
is not part of a keyboard shortcut.

We make the assumption that keyboard shortcuts will generally only involve the 
more basic characters, while more complex characters involving diacritics, etc. 
while Ctrl+Alt held are likely to be attempts to type with AltGr. This only 
takes effect after a character is attempted to be typed.

> AltGr on Italian keyboard mapped to Left Control+AltGr
> ------------------------------------------------------
>
>                 Key: GUACAMOLE-1879
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1879
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole
>    Affects Versions: 1.5.3
>         Environment: Browser: Version 118.0.5993.118 (Official Build) (64-bit)
> OS: WIndows 10 Enterprise
>            Reporter: Cristian Consonni
>            Priority: Major
>
> I can replicate this issue using the tester:
> https://guacamole.apache.org/pub/tests/guac/keyboard-test.html
> Input method: English (UK) with Italian keyboard.
> Tested both on external USB keyboard and built-in laptop (Lenove ThinkPad) 
> keyboard.
> Browser: Version 118.0.5993.118 (Official Build) (64-bit)
> OS: WIndows 10 Enterprise 
> If I press AltGr once I get:
> {code}
> guacamole     keydown 0xffe3  Left control
> guacamole     keyup   0xffe3  Left control
> guacamole     keydown 0xfe03  AltGr
> guacamole     keyup   0xfe03  AltGr
> {code}
> If I keep it pressed and then released it is even weirder because I get
> {code}
> guacamole     keydown 0xffe3  Left control
> guacamole     keyup   0xffe3  Left control
> guacamole     keydown 0xfe03  AltGr
> guacamole     keydown 0xffe3  Left control
> guacamole     keyup   0xffe3  Left control
> guacamole     keyup   0xfe03  AltGr
> {code}
> This interferes (on a Ubuntu remote server) with using AltGr as the Alternate 
> characters key, it just does not work. The workaround that I am using at the 
> moment is that I have changed the "Alternate Characters key" in the keyboard 
> settings on the server to the "Menu key".



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

Reply via email to