[
https://issues.apache.org/jira/browse/GUACAMOLE-2277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bradley Bennett updated GUACAMOLE-2277:
---------------------------------------
Description:
Currently, the On-Screen Keyboard Meta key generates *Super_L* keysym. This
works fine for *RDP* sessions:
* {*}Linux{*}, treats it as the *Meta* key.
* *Windows* interprets as *Meta* which is treated as the *Windows* key.
With {*}VNC{*}, inconsistent browser key events are generated
* {*}Linux{*}, pressing Meta emits an *Alt/Shift* sequence.
* {*}macOS{*}: pressing Meta emits {*}AltLeft{*}.
Emitting *Meta_L* instead:
* {*}RDP{*}, Windows and Linux: change in behavior.
* {*}VNC{*}, Linux macOS: Meta browser key events are generated.
The following was collected using:
[https://w3c.github.io/uievents/tools/key-event-viewer.html]
h1. Before: OSKB Meta Fix
|OS|Legacy: keyCode/which|Modifiers
Meta|UI key|UI code|
|Linux/RDP|91/91|Meta|Meta|MetaLeft|
|Linux/VNC
(weird)|16(down), 224, 16(up)|Alt|Shift(down) Alt Shift(up)|(empty)|
|macOS/VNC|18/18|Alt, AltGraph|Alt|AltLeft|
|Windows/RDP|91/91|Meta|Meta|MetaLeft|
h2. Linux/VNC
!4PZe9cA 2ec7kAAAAASUVORK5CYII=|width=942,height=172!
h1. After: OSKB Meta Fix
|OS|Legacy: keyCode/which|Modifiers
Meta|UI key|UI code|
|Linux/RDP|same| | | |
|Linux/VNC|91/91|Meta|Meta|MetaLeft|
|macOS/VNC|91/91|Meta|Meta|MetaLeft|
|Windows/RDP|same| | | |
was:
*Super_L* better matches the Windows/Command-style modifier behavior used by
Windows, macOS VNC sessions, and modern Linux desktop environments. Older X11
applications that specifically rely on legacy *Meta_L* behavior may behave
differently.
||Platform||Before (Meta_L)||After (Super_L)||
|Windows|Windows/Command|Windows/Command|
|macOS (VNC)|NOP|Command/Meta|
|Linux: modern desktops|Alt|Command|
> On-Screen Keyboard: incorrect Meta keysym generated.
> ----------------------------------------------------
>
> Key: GUACAMOLE-2277
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-2277
> Project: Guacamole
> Issue Type: Bug
> Components: guacamole-client
> Affects Versions: 1.6.0
> Reporter: Bradley Bennett
> Priority: Minor
> Attachments: screenshot-1.png
>
>
> Currently, the On-Screen Keyboard Meta key generates *Super_L* keysym. This
> works fine for *RDP* sessions:
> * {*}Linux{*}, treats it as the *Meta* key.
> * *Windows* interprets as *Meta* which is treated as the *Windows* key.
> With {*}VNC{*}, inconsistent browser key events are generated
> * {*}Linux{*}, pressing Meta emits an *Alt/Shift* sequence.
> * {*}macOS{*}: pressing Meta emits {*}AltLeft{*}.
> Emitting *Meta_L* instead:
> * {*}RDP{*}, Windows and Linux: change in behavior.
> * {*}VNC{*}, Linux macOS: Meta browser key events are generated.
>
> The following was collected using:
> [https://w3c.github.io/uievents/tools/key-event-viewer.html]
> h1. Before: OSKB Meta Fix
>
> |OS|Legacy: keyCode/which|Modifiers
> Meta|UI key|UI code|
> |Linux/RDP|91/91|Meta|Meta|MetaLeft|
> |Linux/VNC
> (weird)|16(down), 224, 16(up)|Alt|Shift(down) Alt Shift(up)|(empty)|
> |macOS/VNC|18/18|Alt, AltGraph|Alt|AltLeft|
> |Windows/RDP|91/91|Meta|Meta|MetaLeft|
> h2. Linux/VNC
> !4PZe9cA 2ec7kAAAAASUVORK5CYII=|width=942,height=172!
>
> h1. After: OSKB Meta Fix
>
> |OS|Legacy: keyCode/which|Modifiers
> Meta|UI key|UI code|
> |Linux/RDP|same| | | |
> |Linux/VNC|91/91|Meta|Meta|MetaLeft|
> |macOS/VNC|91/91|Meta|Meta|MetaLeft|
> |Windows/RDP|same| | | |
--
This message was sent by Atlassian Jira
(v8.20.10#820010)