You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by "Michael Jumper (JIRA)" <ji...@apache.org> on 2018/12/15 18:57:00 UTC

[jira] [Commented] (GUACAMOLE-676) Can't update remote clipboard while sidebar is still open.

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

Michael Jumper commented on GUACAMOLE-676:
------------------------------------------

This is intentional behavior, not a bug. Updating the remote clipboard while the clipboard is being edited would result in O(N^2) data being sent over the course of the edit. For example, while typing "Hello" in the clipboard editor, the following clipboard updates would be sent:

# H
# He
# Hel
# Hell
# Hello

For small amounts of text, this is negligible, but if the content of the clipboard is already relatively large performance takes a noticeable hit.

The user needs to take some action to indicate that they are no longer editing the clipboard and the current contents can be safely sent to the remote side. Currently, that action is closing the menu. I can imagine this being modified to including a certain amount of time elapsing since the last edit or mouse events within the display, though whether that actually works in practice will depend on how quickly the remote desktop responds to updated clipboard contents. If the remote desktop handles mouse interaction before finishing its update of the clipboard, the user will unexpectedly paste the old clipboard contents.

Assuming doing so doesn't result in inconsistent behavior or performance issues, it's worth making the change. That said, this still seems a bit of a corner case, and with direct clipboard integration continuing to improve (see GUACAMOLE-559), I doubt the clipboard editor in the Guacamole menu will remain a significant part of most users' workflows.

> Can't update remote clipboard while sidebar is still open.
> ----------------------------------------------------------
>
>                 Key: GUACAMOLE-676
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-676
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole-client
>    Affects Versions: 0.9.14
>         Environment: Ubuntu 16.04
> vnc4server 4.1.1+xorg4.3.0-37.3ubuntu2
>            Reporter: Matt Travers
>            Priority: Minor
>
> When using the copy-and-paste feature, when text is entered into the sidebar text area it is not copied into the remote clipboard until the sidebar is closed. Only then can the text in the sidebar be pasted into the remote environment.
> It would be nice to be able to paste into the remote environment without having to close the sidebar. Is it possible to get the remote clipboard updated without having to press cntrl-alt-shift to close the sidebar?
> The remote I am using is Ubuntu 16.04 with vnc4server running.
> Thanks!
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)