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

Nick Couchman commented on GUACAMOLE-989:
-----------------------------------------

So, for all of you out there watching this issue and hoping for magic, please 
be aware that it's more complicated than just going into full screen and 
enabling keyboard lock.  This may capture *some* keys or key combos that would 
otherwise propagate down to the browser or system, but it won't capture *all* 
of them.  The documentation specifically talks about System Handlers:

https://wicg.github.io/keyboard-lock/#system-key-press-handler

The gist of it is that the browser *cannot* stop the underlying platform from 
handling certain key press sequences, and so in order to get those system-level 
key presses to be allowed to lock into Chrome you will have to do some level of 
configuration/registration/modification at the system-level.  In my testing on 
XFCE on Fedora, Alt-Tab is still intercepted by the window manager and results 
in the standard Alt-Tab behavior, and that key press is not passed through to 
the Guacamole connection.

And, lest someone ask if we can add code/plugin/extension to Guacamole to help 
with these system-level registrations, my inclination is no, that is not 
something we'd be interested in doing, as it defeats the nature of a 
"client-less" remote desktop system that Guacamole is designed to be.

So, we can give it our best shot and enable the keyboard lock via either menu 
item or full screen (after GUACAMOLE-124 is merged), but please be aware of the 
limitations of this feature.  Or, if there's something more that I'm missing in 
all this, please feel free to offer your input and guidance.

> Add support for chromium keyboard lock allowing for system keys and shortcuts
> -----------------------------------------------------------------------------
>
>                 Key: GUACAMOLE-989
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-989
>             Project: Guacamole
>          Issue Type: New Feature
>            Reporter: Aaron
>            Priority: Minor
>
> When accessing guacamole in a browser it would be great to have full RDP-like 
> keyboard key and shortcut access. It is very easy to perform actions by 
> special shortcuts (ie, Windows+Key, Alt+Tab) local PC instead of the intended 
> remote PC as well as CTRL key shortcuts on the local browser instead of the 
> remote browser. Another problem is closing the guacamole tab by accident via 
> Ctrl+F4 (I've done this several times!). Some similar issues were voiced in 
> GUACAMOLE-121 regarding CTRL+W.
> Please add support for Chromium's system keyboard lock API which allows a 
> rich keyboard experience in full screen mode (you hold ESC for 2 seconds to 
> exit). This would allow using special keys and shortcuts that we use 
> habitually, and habits are hard to break. So why break them? Instead add 
> keyboard lock functionality.
> Main page: [https://www.chromestatus.com/feature/5642959835889664]
> W3C Spec: [https://wicg.github.io/keyboard-lock/]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to