You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by "Michael Jumper (JIRA)" <ji...@apache.org> on 2018/11/09 17:22:00 UTC

[jira] [Commented] (GUACAMOLE-657) Unexpected behaviour of modifier keys when opening Guacamole menu

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

Michael Jumper commented on GUACAMOLE-657:
------------------------------------------

The Mac "Command" key is the "Meta" key, but Meta does not have a mapping in RDP and thus will not be sent. You should still see a release event for Ctrl, but will not see the press/release events for Cmd.

It might be more correct to modify the mapping to use Meta for the Windows key:

https://github.com/apache/guacamole-server/blob/6f491946408224a231324663938df36c756b09d2/src/protocols/rdp/keymaps/base.keymap#L87-L88

I do see at least Chrome mapping the Windows key to Meta within JavaScript key events.

> Unexpected behaviour of modifier keys when opening Guacamole menu
> -----------------------------------------------------------------
>
>                 Key: GUACAMOLE-657
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-657
>             Project: Guacamole
>          Issue Type: Bug
>          Components: RDP
>    Affects Versions: 0.9.14
>         Environment: Host: macOS Mojave
> Browser: Chrome 70
> Guest: Kali Linux (VirtualBox 5.2.18)
>            Reporter: Kaspar Hageman
>            Priority: Major
>
> When opening the Guacamole menu, during an RDP session with a VM, with the default key combination (Ctrl + Cmd + Shift), the VM does observe key events as expected.
> For instance, when pressing Ctrl + Cmd + Shift (in that order), the following key events can be observed (using Chrome's developer tools):
>  * Ctrl pressed
>  * Cmd pressed
>  * Shift released
>  * Ctrl released
>  * Cmd released
> However, in the VM, the following key events can be observed (using xev):
>  * Ctrl pressed
> Has been tested with both version 0.9.14 and the current master branch (d4f58f2c0d812b05c392e06438e659902e8121f8)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)