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

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

What do you see when you try the same sequence of key presses at 
https://guacamole.apache.org/pub/tests/key-event-test.html ?

I suspect this isn't a bug in Guacamole per se, but some attempt by Lenovo or 
Windows to provide a Ctrl+Alt keypress for applications that might be expecting 
it (older Windows applications used Ctrl+Alt instead of a dedicated AltGr key). 
There is nothing within Guacamole's keyboard handling that would result in 
Guacamole itself interpreting an AltGr press as involving Ctrl unless there is 
truly an event being dispatched to the browser stating that the Ctrl key has 
been pressed, let alone something that would be time-dependent.

> 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