You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by shr0ded <sh...@gmail.com> on 2020/07/06 12:06:52 UTC
Adding Support for the Meta Key within RDP Sessions
Hello,
I'd like to ask if any support for the Meta Key is planned for gecko or
webkit based browsers in the near future.
The Meta key is also sometimes referred to as SUPER, WINDOWS or OS key.
Checking http://guacamole.apache.org/pub/tests/key-event-test.html makes it
apparent, that the browsers are not sending the appropiate response "SUPER"
to be handled by Guacamoles base.keymap for rdp sessions in
guacamole-server. Probably by design, as it interferes with the use by the
operating system.
Chrome sends the following:
e.keyCode=91 e.which=91 e.keyIdentifier=undefined e.key=Meta e.altKey=false
e.ctrlKey=false e.altGraphKey=undefined e.metaKey=true e.shiftKey=false
e.location=1 e.keyLocation=undefined
While Firefox sends the following:
e.keyCode=91 e.which=91 e.keyIdentifier=undefined e.key=OS e.altKey=false
e.ctrlKey=false e.altGraphKey=undefined e.metaKey=false e.shiftKey=false
e.location=1 e.keyLocation=undefined
It also seems that atleast firefox had a reason to use "OS" as a new value
instead of "SUPER", as seen here
https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/getModifierState
Consulting the now obsolete W3C DOM Level 3 Standardization gecko and webkit
follow currently, SUPER is also listed as a legacy key
(https://w3c.github.io/uievents-key/#keys-modifier)
The new working draft version also only lists the meta key, not the super
key anymore:
https://w3c.github.io/uievents/#dom-keyboardevent-key
IMHO it makes sense to me to use the META key as the new standard key and
add another case for gecko based browsers which send "OS", which would make
it possible to finally use the Super-key without using the onscreen keyboard
in guacamole.The old "SUPER" value does not seem to be supported anymore by
most major browser engines.
I would really like to hear your opinion on this issue.
thanks for reading
--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org