You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Mike Jumper (Jira)" <ji...@apache.org> on 2021/02/05 20:18:00 UTC

[jira] [Commented] (GUACAMOLE-1281) Clipboard content is incorrectly sent as keypresses within Firefox

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

Mike Jumper commented on GUACAMOLE-1281:
----------------------------------------

To clarify, the reason you are seeing an "Open File" dialog and "Print" dialog is due to the nature of the issue (clipboard contents being sent as keypresses) and the content of the clipboard. If you paste text like "#copied from local clipboard#" using Ctrl+V, the Ctrl key will be held while that content is erroneously transformed into key events. On the remote end, it would be as if you typed:

* Ctrl+#
* Ctrl+c
* Ctrl+o
* Ctrl+p
* Ctrl+i
* ... etc.



> Clipboard content is incorrectly sent as keypresses within Firefox
> ------------------------------------------------------------------
>
>                 Key: GUACAMOLE-1281
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1281
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole
>    Affects Versions: 1.3.0
>         Environment: Guacd and Guacamole running on Podman containers
> Mozilla Firefox 84.0.2 running on Fedora 33
>            Reporter: Lucio Mitsuru Seki
>            Priority: Major
>
> When I try to paste local clipboard content to a text editor in the remote machine by pressing Ctrl+V keyboard shortcut, the text editor "Open File" dialog pops up.
> *Steps to reproduce*
>  # Copy the following text to the local clipboard
> {code:java}
>  #copied from local clipboard#{code}
>  # Connect to a remote machine using Guacamole
>  # Open a text editor (e.g. gedit, notepad) in the remote machine
>  # Press Ctrl+V
> *Expected behavior*
>  Local clipboard content is pasted to the text editor in the remote machine.
> *Actual behavior*
>  "Open File" dialog pops up in the remote machine.
> *Environment*
>  * guacamole and guacd 1.3.0 running on Podman containers
>  * The issue happens with any combination of the following local and remote environments:
>  ** Local environments:
>  *** Mozilla Firefox 84.0.2 (64-bit) running on Fedora 33
>  *** Mozilla Firefox 78.7.0esr (64-bit) running on RHEL 8
>  ** Remote environments:
>  *** Fedora 33 KVM guest + QEMU VNC server + gedit
>  *** RHEL8 KVM guest + QEMU VNC server + gedit
>  *** Windows 10 (RDP) + notepad
> *Additional Notes*
>  * On RHEL8 remote, "Print" dialog also pops up in addition to the "Open File" dialog
>  * The issue happens on both Wayland and X11 window managers on RHEL8 and Fedora 33 remote machines
>  * The issue does not happen when using Google Chrome instead of Mozilla Firefox.
> *Original discussion*
> http://mail-archives.apache.org/mod_mbox/guacamole-user/202102.mbox/browser



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