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

Amarjeet Singh commented on GUACAMOLE-478:
------------------------------------------

After more debugging I have noticed that these functions take lot of time to 
process if buffer size if large ( copying or pasting large amount of data  ).

__encode_utf8
__append_utf8
array_writer.sendData(__encode_utf8(text));
__decode_utf8

There are many function in Guacamole Javascript  which are independent of  user 
interface elements, such as the DOM and common JS functions like getElementById 
where we can use Webworker  to improve the performance of Guacamole. 

Can't we send plain data so that we don't have to decode or encode the data in 
Clipboard scenario as it can increase the performance  ? 
Can't we make a ajax request to get the plain data which  is sent by  remote 
server { on copy event }  .We can save the data in guacamole server when we 
receive data from remote server and on copy event fire an ajax request )  

> RDP clipboard uses incorrect newline characters
> -----------------------------------------------
>
>                 Key: GUACAMOLE-478
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-478
>             Project: Guacamole
>          Issue Type: Bug
>          Components: RDP
>            Reporter: Amarjeet Singh
>            Priority: Minor
>
> With the RDP protocol originating from Windows, the format of text clipboard 
> contents is assumed to use Windows-style newline characters (CR+LF). 
> Guacamole currently does not attempt to translate newline characters, sending 
> the format used within the received clipboard stream. This means that 
> applications running within RDP which only support Windows-style newlines, 
> such as Notepad, fail to handle received clipboard data.
> Applications which can handle both UNIX-style and Windows-style newline 
> characters are unaffected.



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

Reply via email to