In researching this further I find some interesting behavior in Firefox as
compared to Chrome.  For this example I switch to a random window and
select some text and hit Ctrl-C in my host machine, then switch to
Guacamole and hit Ctrl-V. In Chrome if I watch the websocket connection I
can see the clipboard get transferred when I shift focus back to Guacamole,
then I hit Ctrl and I see the Ctrl keypress go through, then I hit V and
see the V keypress and release go through and the clipboard contents are
pasted where I was focused, and then lastly the Ctrl key release goes
through. The clipboard is pasted as expected.

In Firefox, however, I see the Ctrl keypress go through, then as soon as I
hit the V it looks as though the text that was in my clipboard goes through
as keypresses followed by the V.  The result is a torrent of control
characters.  If I’m in a web browser on the XRDP host, for example, and I
copy the letter “p” and paste it, the print dialog comes up, or if I use
the letter “f”, the find dialog comes up and then interestingly will paste
in the XRDP host’s clipboard contents, if they’re different.  I don't see
the clipboard pass through the websocket like I do with Chrome.

Does anyone have any better visibility into the copy/paste mechanism and
what might be going wrong with Firefox as a browser interfacing with
Guacamole? I checked my Firefox settings and set
dom.event.clipboardevents.enabled and
dom.events.asyncClipboard.dataTransfer both to 'true' but that did not
change the behavior.

Brian

On Fri, May 8, 2020 at 4:48 AM Vieri <[email protected]> wrote:

>
>
> On Thursday, May 7, 2020, 2:47:38 AM GMT+2, brian dodds <[email protected]>
> wrote:
>
> > Thanks for the response.  A new data point we ran into today, trying to
> paste with a ctrl-v resulted in the application we were using on the RDP
> host bringing up the 'open file'
> > dialog, and it did it repeatably.
>
> I can confirm the same behavior here. It is not easily reproducible, but
> it usually happens with MS Office and LibreOffice/OpenOffice applications
> at least in my environment.
> Not sure what triggers this.
>
> Vieri
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to