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

Mike Jumper commented on GUACAMOLE-1473:
----------------------------------------

The issue in this case is not so much that AltGr is broken with the Spanish OSK 
specifically, but the remote keyboard layout lacks AltGr and thus it is handled 
as plain Alt. You can see this in your video by the way the menu items in 
Notepad are underlined due to Alt being held.

Assuming it is possible to accurately distinguish between a local Alt keypress 
and a local AltGr keypress, then the solution would be to handle these 
modifiers distinctly such that they can be accurately translated in the case 
that the remote keyboard layout does not have AltGr. I'd think the correct 
layout translation within Guacamole's RDP support would be:

|| Local Key || Remote Key (AltGr supported) || Remote Key (AltGr _not_ 
supported) ||
| Left Alt | Left Alt | Left Alt |
| Right Alt | Left Alt (Right Alt may otherwise be interpreted as AltGr) | 
Right Alt |
| AltGr | AltGr | Nothing (drop the key event) |

The local difference between Alt and AltGr, or even if there is one, is also 
likely to vary between browsers and platforms, so any attempt to correct this 
will need to be done carefully.

> The AltGr key doesn't work in the Spanish on-screen keyboard
> ------------------------------------------------------------
>
>                 Key: GUACAMOLE-1473
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1473
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole, guacd
>    Affects Versions: 1.3.0
>         Environment: master branch, ubuntu 18.04 64bit, Google Chrome 
> 96.0.4664.45
>            Reporter: Jimmy
>            Priority: Major
>         Attachments: spanish-keyboard-altgr-error.mp4
>
>
> When using the AltGr key on the Spanish on-screen keyboard, the key doesn't 
> work.
> I attached the video file.
> Please see the video file (spanish-keyboard-altgr-error.mp4).



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to