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

Michael Jumper commented on GUACAMOLE-478:
------------------------------------------

{quote}
I have copied 4000 line in Clipboard Menu and tried to copy it in Remote 
Clipboard.

but it only copied 3500 lines of data. I can see the data in Clipboard Menu but 
it stripped the data.
{quote}

Line count is not a very useful measurement of size. What really matters here 
is the total number of bytes.

Guacamole does impose an upper limit on the size of the clipboard. In the case 
of RDP, [this is currently set at 262144 
bytes|https://github.com/apache/guacamole-server/blob/5295886f68bceb5fcf2a7260b2b65c4705d0250a/src/protocols/rdp/client.h#L67-L70]
 (256K):

{code:none}
/**
 * The maximum number of bytes to allow within the clipboard.
 */
#define GUAC_RDP_CLIPBOARD_MAX_LENGTH 262144
{code}

> Clipboard is not copying complete data from Local to Remote 
> ------------------------------------------------------------
>
>                 Key: GUACAMOLE-478
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-478
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole
>    Affects Versions: 0.9.14
>         Environment: Chrome Browser
>            Reporter: Amarjeet Singh
>
> I have build a war from the latest  code [ forking master branch and fetch 
> upstream ] .
> I am copying from local to remote clipboard using Ctrl+Alt+Shift [ Menu of 
> Guacamole ].
> I have copied  4000 line in Clipboard Menu and tried to copy it in Remote 
> Clipboard.
> but it only copied 3500 lines of data. I can see the data in Clipboard Menu 
> but it stripped the data.
> it is not stripping the next line character [ which was a bug earlier ] .



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to