Re: Super key not working in Remote RDP
Thanks Nick. On Fri, Mar 30, 2018 at 2:19 AM, Nick Couchmanwrote: > On Thu, Mar 29, 2018 at 2:46 PM, Mike Jumper > wrote: > >> On Thu, Mar 29, 2018, 09:41 Amarjeet Singh wrote: >> >>> Hi Team, >>> >>> While I am pressing Super key ( as if user is clicking start menu icon ) >>> in RDP. Chrome recognize it as *Meta key* and there is no scan code of >>> Meta key in base.keymap. >>> >> >> If Chrome is recognizing key X as key Y, that would be a bug in Chrome. >> The "Super" key should not be recognized by the browser as "Meta". >> >> > It does seem to be Chrome-specific - the keycode is exactly the same, but > Chrome seems to recognize the key as a Meta key. I'm not sure if this is a > bug or by choice. Here's the output from your test page in Chrome: > > keydowne.keyCode=91e.which=91e.keyIdentifier=undefinede.key=Meta > e.altKey=falsee.ctrlKey=falsee.altGraphKey=undefinede.metaKey=false > e.shiftKey=falsee.location=1e.keyLocation=undefined > keyupe.keyCode=91e.which=91e.keyIdentifier=undefinede.key=Meta > e.altKey=falsee.ctrlKey=falsee.altGraphKey=undefinede.metaKey=true > e.shiftKey=falsee.location=1e.keyLocation=undefined > > and from Firefox: > > keydown 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 > keyup 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 > > keyCode is 91 for both, but Chrome sets e.metaKey=true, Firefox does not. > > -Nick >
Re: Super key not working in Remote RDP
On Thu, Mar 29, 2018 at 2:46 PM, Mike Jumperwrote: > On Thu, Mar 29, 2018, 09:41 Amarjeet Singh wrote: > >> Hi Team, >> >> While I am pressing Super key ( as if user is clicking start menu icon ) >> in RDP. Chrome recognize it as *Meta key* and there is no scan code of >> Meta key in base.keymap. >> > > If Chrome is recognizing key X as key Y, that would be a bug in Chrome. > The "Super" key should not be recognized by the browser as "Meta". > > It does seem to be Chrome-specific - the keycode is exactly the same, but Chrome seems to recognize the key as a Meta key. I'm not sure if this is a bug or by choice. Here's the output from your test page in Chrome: keydowne.keyCode=91e.which=91e.keyIdentifier=undefinede.key=Meta e.altKey=falsee.ctrlKey=falsee.altGraphKey=undefinede.metaKey=false e.shiftKey=falsee.location=1e.keyLocation=undefined keyupe.keyCode=91e.which=91e.keyIdentifier=undefinede.key=Metae.altKey=false e.ctrlKey=falsee.altGraphKey=undefinede.metaKey=truee.shiftKey=false e.location=1e.keyLocation=undefined and from Firefox: keydown 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 keyup 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 keyCode is 91 for both, but Chrome sets e.metaKey=true, Firefox does not. -Nick
Re: Super key not working in Remote RDP
Thanks Mike. On Fri, Mar 30, 2018 at 12:16 AM, Mike Jumperwrote: > On Thu, Mar 29, 2018, 09:41 Amarjeet Singh wrote: > >> Hi Team, >> >> While I am pressing Super key ( as if user is clicking start menu icon ) >> in RDP. Chrome recognize it as *Meta key* and there is no scan code of >> Meta key in base.keymap. >> > > If Chrome is recognizing key X as key Y, that would be a bug in Chrome. > The "Super" key should not be recognized by the browser as "Meta". > > You can verify whether the browser is providing buggy key information by > using the JS key event tester: > > http://guacamole.apache.org/pub/tests/key-event-test.html > > >> If I use the On Screen keyboard Super key is working just fine as if user >> is clicking on start menu icon. >> > > Sounds like Guacamole is working correctly. > > If Chrome wishes to insist that a particular key is actually a different > key, there's nothing to be done on the Guacamole side. Garbage in, garbage > out. I suggest opening a bug report with Chrome / Chromium. > > - Mike > >
Re: Super key not working in Remote RDP
On Thu, Mar 29, 2018, 09:41 Amarjeet Singhwrote: > Hi Team, > > While I am pressing Super key ( as if user is clicking start menu icon ) > in RDP. Chrome recognize it as *Meta key* and there is no scan code of > Meta key in base.keymap. > If Chrome is recognizing key X as key Y, that would be a bug in Chrome. The "Super" key should not be recognized by the browser as "Meta". You can verify whether the browser is providing buggy key information by using the JS key event tester: http://guacamole.apache.org/pub/tests/key-event-test.html > If I use the On Screen keyboard Super key is working just fine as if user > is clicking on start menu icon. > Sounds like Guacamole is working correctly. If Chrome wishes to insist that a particular key is actually a different key, there's nothing to be done on the Guacamole side. Garbage in, garbage out. I suggest opening a bug report with Chrome / Chromium. - Mike
Super key not working in Remote RDP
Hi Team, While I am pressing Super key ( as if user is clicking start menu icon ) in RDP. Chrome recognize it as *Meta key* and there is no scan code of Meta key in base.keymap. Remote OS : Windows 10 Local OS : Windows 10 If I use the On Screen keyboard Super key is working just fine as if user is clicking on start menu icon. I mean to say that when I press the start menu key ( which has windows logo in it ) it does not have any effect in the Remote RDP. Am I missing anything ? Thanks and Regards, Amarjeet Singh