You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Vieri <re...@yahoo.com.INVALID> on 2020/03/07 23:20:11 UTC

Apache Guacamole and keypress issues on Microsoft Edge browser

Hi,

I'm getting feedback from remote users saying that when they access Guacamole with Microsoft Edge and enter an RDP session, they lose around half of what they type. Other browsers such as Firefox or Chrome work fine.

 I've only tested Edge on Win10 in a LAN environment, and I've been unable to reproduce this issue (no key strikes lost).

Just two questions:

1) Has anyone seen this behavior with Edge? Is it a known bug?

2) I've tried a keyboard test with Firefox (which works fine), but I don't quite understand if the result is "OK". Suppose I type "Another day another dollar" and get this:

Keyboard tester git: master API: 1.2.0
Please press some keys...
guacamole keydown 0xffe2 Right shift
guacamole keydown 0x41 U+0041 LATIN CAPITAL LETTER A
guacamole keyup 0xffe2 Right shift
guacamole keyup 0x41 U+0041 LATIN CAPITAL LETTER A
guacamole keydown 0x6e U+006E LATIN SMALL LETTER N
guacamole keydown 0x6f U+006F LATIN SMALL LETTER O
guacamole keyup 0x6e U+006E LATIN SMALL LETTER N
guacamole keyup 0x6f U+006F LATIN SMALL LETTER O
guacamole keydown 0x74 U+0074 LATIN SMALL LETTER T
guacamole keyup 0x74 U+0074 LATIN SMALL LETTER T
guacamole keydown 0x68 U+0068 LATIN SMALL LETTER H
guacamole keyup 0x68 U+0068 LATIN SMALL LETTER H
guacamole keydown 0x65 U+0065 LATIN SMALL LETTER E
guacamole keyup 0x65 U+0065 LATIN SMALL LETTER E
guacamole keydown 0x72 U+0072 LATIN SMALL LETTER R
guacamole keyup 0x72 U+0072 LATIN SMALL LETTER R
guacamole keydown 0x20 U+0020 SPACE
guacamole keyup 0x20 U+0020 SPACE
guacamole keydown 0x64 U+0064 LATIN SMALL LETTER D
guacamole keyup 0x64 U+0064 LATIN SMALL LETTER D
guacamole keydown 0x61 U+0061 LATIN SMALL LETTER A
guacamole keyup 0x61 U+0061 LATIN SMALL LETTER A
guacamole keydown 0x79 U+0079 LATIN SMALL LETTER Y
guacamole keyup 0x79 U+0079 LATIN SMALL LETTER Y
guacamole keydown 0x20 U+0020 SPACE
guacamole keyup 0x20 U+0020 SPACE
guacamole keydown 0x61 U+0061 LATIN SMALL LETTER A
guacamole keyup 0x61 U+0061 LATIN SMALL LETTER A
guacamole keydown 0x6e U+006E LATIN SMALL LETTER N
guacamole keydown 0x6f U+006F LATIN SMALL LETTER O
guacamole keyup 0x6e U+006E LATIN SMALL LETTER N
guacamole keyup 0x6f U+006F LATIN SMALL LETTER O
guacamole keydown 0x74 U+0074 LATIN SMALL LETTER T
guacamole keyup 0x74 U+0074 LATIN SMALL LETTER T
guacamole keydown 0x68 U+0068 LATIN SMALL LETTER H
guacamole keyup 0x68 U+0068 LATIN SMALL LETTER H
guacamole keydown 0x65 U+0065 LATIN SMALL LETTER E
guacamole keyup 0x65 U+0065 LATIN SMALL LETTER E
guacamole keydown 0x72 U+0072 LATIN SMALL LETTER R
guacamole keyup 0x72 U+0072 LATIN SMALL LETTER R
guacamole keydown 0x20 U+0020 SPACE
guacamole keyup 0x20 U+0020 SPACE
guacamole keydown 0x64 U+0064 LATIN SMALL LETTER D
guacamole keyup 0x64 U+0064 LATIN SMALL LETTER D
guacamole keydown 0x6f U+006F LATIN SMALL LETTER O
guacamole keyup 0x6f U+006F LATIN SMALL LETTER O
guacamole keydown 0x6c U+006C LATIN SMALL LETTER L
guacamole keyup 0x6c U+006C LATIN SMALL LETTER L
guacamole keydown 0x6c U+006C LATIN SMALL LETTER L
guacamole keyup 0x6c U+006C LATIN SMALL LETTER L
guacamole keydown 0x61 U+0061 LATIN SMALL LETTER A
guacamole keyup 0x61 U+0061 LATIN SMALL LETTER A
guacamole keydown 0x72 U+0072 LATIN SMALL LETTER R
guacamole keyup 0x72 U+0072 LATIN SMALL LETTER R

Is the result actually "OK"? There seems to be some kind of echo here...

However, as I said, I've been typing the same sentence over and over again in an RDP session, and it displays just fine with Firefox.

Regards,

Vieri

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Apache Guacamole and keypress issues on Microsoft Edge browser

Posted by Vieri <re...@yahoo.com.INVALID>.
I have reproduced the issue that some users reported. There are keyboard issues with Edge.

Here's the test output when trying to type "Another day another dollar" with Edge:

Guacamole.Keyboard testergit: masterAPI: 1.2.0
Please press some keys...
guacamolekeydown0xffe2Right shift
guacamolekeydown0x41U+0041 LATIN CAPITAL LETTER A
guacamolekeyup0x41U+0041 LATIN CAPITAL LETTER A
guacamolekeyup0xffe2Right shift
guacamolekeydown0x6eU+006E LATIN SMALL LETTER N
guacamolekeydown0x6fU+006F LATIN SMALL LETTER O
guacamolekeyup0x6fU+006F LATIN SMALL LETTER O
guacamolekeydown0x74U+0074 LATIN SMALL LETTER T
guacamolekeyup0x74U+0074 LATIN SMALL LETTER T
guacamolekeydown0x68U+0068 LATIN SMALL LETTER H
guacamolekeyup0x68U+0068 LATIN SMALL LETTER H
guacamolekeydown0x65U+0065 LATIN SMALL LETTER E
guacamolekeyup0x65U+0065 LATIN SMALL LETTER E
guacamolekeydown0x72U+0072 LATIN SMALL LETTER R
guacamolekeyup0x72U+0072 LATIN SMALL LETTER R
guacamolekeydown0x20U+0020 SPACE
guacamolekeyup0x20U+0020 SPACE
guacamolekeydown0x64U+0064 LATIN SMALL LETTER D
guacamolekeyup0x64U+0064 LATIN SMALL LETTER D
guacamolekeydown0x61U+0061 LATIN SMALL LETTER A
guacamolekeyup0x61U+0061 LATIN SMALL LETTER A
guacamolekeydown0x79U+0079 LATIN SMALL LETTER Y
guacamolekeydown0x20U+0020 SPACE
guacamolekeyup0x20U+0020 SPACE
guacamolekeydown0x61U+0061 LATIN SMALL LETTER A
guacamolekeyup0x61U+0061 LATIN SMALL LETTER A
guacamolekeydown0x6fU+006F LATIN SMALL LETTER O
guacamolekeyup0x6fU+006F LATIN SMALL LETTER O
guacamolekeydown0x74U+0074 LATIN SMALL LETTER T
guacamolekeyup0x74U+0074 LATIN SMALL LETTER T
guacamolekeydown0x68U+0068 LATIN SMALL LETTER H
guacamolekeyup0x68U+0068 LATIN SMALL LETTER H
guacamolekeydown0x65U+0065 LATIN SMALL LETTER E
guacamolekeyup0x65U+0065 LATIN SMALL LETTER E
guacamolekeydown0x72U+0072 LATIN SMALL LETTER R
guacamolekeyup0x72U+0072 LATIN SMALL LETTER R
guacamolekeydown0x20U+0020 SPACE
guacamolekeyup0x20U+0020 SPACE
guacamolekeydown0x64U+0064 LATIN SMALL LETTER D
guacamolekeyup0x64U+0064 LATIN SMALL LETTER D
guacamolekeydown0x6fU+006F LATIN SMALL LETTER O
guacamolekeyup0x6fU+006F LATIN SMALL LETTER O
guacamolekeydown0x6cU+006C LATIN SMALL LETTER L
guacamolekeyup0x6cU+006C LATIN SMALL LETTER L
guacamolekeydown0x6cU+006C LATIN SMALL LETTER L
guacamolekeyup0x6cU+006C LATIN SMALL LETTER L
guacamolekeydown0x61U+0061 LATIN SMALL LETTER A
guacamolekeyup0x61U+0061 LATIN SMALL LETTER A
guacamolekeydown0x72U+0072 LATIN SMALL LETTER R
guacamolekeyup0x72U+0072 LATIN SMALL LETTER R

The system is Windows 10, and Firefox on the same machine Works fine. Please let me know if you need any more info.

Regards,

Vieri

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Apache Guacamole and keypress issues on Microsoft Edge browser

Posted by Vieri <re...@yahoo.com.INVALID>.
 On Sunday, March 8, 2020, 3:30:08 AM GMT+1, Mike Jumper <mj...@apache.org> wrote: 


On Sat, Mar 7, 2020 at 3:20 PM Vieri <re...@yahoo.com.invalid> wrote:
>>
>> I'm getting feedback from remote users saying that when they access Guacamole with Microsoft Edge and enter an RDP session, 
>> they lose around half of what they type. Other browsers such as Firefox or Chrome work fine.
>> 
>> 1) Has anyone seen this behavior with Edge? Is it a known bug?
>
> There are no such known issues with typing in Edge or any other browser.

I've asked one of those users to connect to the guacamole keyboard test web page with Edge. Some key events are not detected. In particular, the user pressed the letter "i", the "keydown" event was detected but not "keyup". Same thing for n, r and a, but it doesn't really have anything to do with the letter because typing the n again (for instance), seems to work fine (both up/down events detected).

This happens within seconds while writing a single sentence.

Doing the same with other browsers from the same client machine (eg. Firefox and Chrome) shows no such issues.

>>  2) I've tried a keyboard test with Firefox (which works fine), but I don't quite understand if the result is "OK". Suppose I type 
>> "Another day another dollar" and get this:
>> 
>> Keyboard tester git: master API: 1.2.0
>> Please press some keys...
>> guacamole keydown 0xffe2 Right shift
>> guacamole keydown 0x41 U+0041 LATIN CAPITAL LETTER A
>> guacamole keyup 0xffe2 Right shift
>> guacamole keyup 0x41 U+0041 LATIN CAPITAL LETTER A
>> guacamole keydown 0x6e U+006E LATIN SMALL LETTER N
>> guacamole keydown 0x6f U+006F LATIN SMALL LETTER O
>> guacamole keyup 0x6e U+006E LATIN SMALL LETTER N
>> guacamole keyup 0x6f U+006F LATIN SMALL LETTER O
>> guacamole keydown 0x74 U+0074 LATIN SMALL LETTER T
>> guacamole keyup 0x74 U+0074 LATIN SMALL LETTER T
>> ...
>> 
>> Is the result actually "OK"? There seems to be some kind of echo here...
> 
> There is no echo there. As you type, pressing and releasing each key will always produce a pair of events

Sure, I get that. I guess I got confused and thought there was an echo because the events were detected out of order. I see now on Firefox that the keydown/keyup pairs work out just fine. However, with Edge as noted before there are missing keyup events.

Vieri

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Apache Guacamole and keypress issues on Microsoft Edge browser

Posted by Mike Jumper <mj...@apache.org>.
On Sat, Mar 7, 2020 at 3:20 PM Vieri <re...@yahoo.com.invalid> wrote:

> Hi,
>
> I'm getting feedback from remote users saying that when they access
> Guacamole with Microsoft Edge and enter an RDP session, they lose around
> half of what they type. Other browsers such as Firefox or Chrome work fine.
>
>  I've only tested Edge on Win10 in a LAN environment, and I've been unable
> to reproduce this issue (no key strikes lost).
>
> Just two questions:
>
> 1) Has anyone seen this behavior with Edge? Is it a known bug?
>
>
There are no such known issues with typing in Edge or any other browser.

2) I've tried a keyboard test with Firefox (which works fine), but I don't
> quite understand if the result is "OK". Suppose I type "Another day another
> dollar" and get this:
>
> Keyboard tester git: master API: 1.2.0
> Please press some keys...
> guacamole keydown 0xffe2 Right shift
> guacamole keydown 0x41 U+0041 LATIN CAPITAL LETTER A
> guacamole keyup 0xffe2 Right shift
> guacamole keyup 0x41 U+0041 LATIN CAPITAL LETTER A
> guacamole keydown 0x6e U+006E LATIN SMALL LETTER N
> guacamole keydown 0x6f U+006F LATIN SMALL LETTER O
> guacamole keyup 0x6e U+006E LATIN SMALL LETTER N
> guacamole keyup 0x6f U+006F LATIN SMALL LETTER O
> guacamole keydown 0x74 U+0074 LATIN SMALL LETTER T
> guacamole keyup 0x74 U+0074 LATIN SMALL LETTER T
> ...
>
> Is the result actually "OK"? There seems to be some kind of echo here...
>

There is no echo there. As you type, pressing and releasing each key will
always produce a pair of events - one for pressing the key (keydown) and
the other for releasing the key (keyup). This is how it's possible for
applications to know that you are holding down a key, or that you are
holding down multiple keys at once (as you did when typing the capital "A",
or while typing the "no" in "Another").

- Mike