Michael Jumper commented on GUACAMOLE-518:

How come it is working in Windows RDP ?

Presumably, Windows RDP does not handle receipt of a Caps Lock key event in the 
same way as XRDP.

> Shift incorrectly sent for uppercase letters while Caps Lock is active
> ----------------------------------------------------------------------
>                 Key: GUACAMOLE-518
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-518
>             Project: Guacamole
>          Issue Type: Bug
>          Components: RDP
>         Environment: Remote operating System : Ubuntu 16.04.3 LTS 64-bit
> Local Browser : Chrome Version 64.0.3282.186 (Official Build) (64-bit)
> XRDP Version : 0.9.5
> Guacamole-Server Version : Latest Code [ Last Commit ID : 
> bc5b01d4d8ab0c3c89a08007316d33012261f6b3 - GUACAMOLE-448: Merge support for 
> configuring the level of caching used by RDP. ]
> Guacamole-Client Version : Latest Code [ Last Commit ID : 
> 5db2e3cae75a658b33515112a39eb2f5f8eef4a8  - GUACAMOLE-161: Merge changes 
> adding Caps Lock to the do-not-auto-repeat list. ] 
>            Reporter: Amarjeet Singh
>            Assignee: Michael Jumper
>            Priority: Minor
> As reported [in the user@ mailing 
> list|https://lists.apache.org/thread.html/6008116eac7ebf2fdd51460672040b07b46c30c610b05a198575c05e@%3Cuser.guacamole.apache.org%3E]:
> {quote}
> I have been writing in Libre Office Writer on Guacamole RDP . I clicked CAPS 
> lock and started writing but the text was still in lowercase.
> Guacamole-Server version : 0.9.14
> Guacamole-Client version : 0.9.14
> XRDP Version : 0.9.5
> Remote O.S. : Ubuntu 16.04.3 LTS 64-bit
> I have not done any modifications in the code.
> If I reconnect the RDP session with CAPS lock on, then it starts printing 
> uppercase but if I again click CAPS lock to set it to lowercase, it still 
> prints the uppercase.
> {quote}
> This is apparently due to the way Guacamole's RDP support handles uppercase 
> letters and Caps Lock:
> * The client side of Guacamole handles Caps Lock correctly, and forwards this 
> key as a key event to the Guacamole server.
> * The RDP support handles the _key_ correctly, sending the corresponding 
> scancode to the RDP server.
> * The RDP support handles the Caps Lock _state_ incorrectly, continuing to 
> send Shift keypresses for uppercase letters despite Caps Lock being active.
> The RDP support needs to be modified such that the behavior of keys within 
> each keyboard layout when Caps Lock is enabled, various modifiers are 
> active/inactive, etc. can be correctly modeled. The keymaps currently only 
> provide for defining behavior based on modifiers.

This message was sent by Atlassian JIRA

Reply via email to