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

Jimmy commented on GUACAMOLE-1106:
----------------------------------

[~vnick], [~mjumper], Thanks for your reply.

I ensure that I have an only single session.

Also, I ensure that I'm not copying anything.

For this, I added the debug code in the guac_rdp_clipboard_end_handler() 
function and tested it.

As you can see the below image, you can know that I'm not copying anything.

!image-2020-06-18-01-11-42-736.png!

 

The length of the clipboard is 1 and this value is set by the following code in 
the guac_rdp_clipboard_end_handler() function:

!image-2020-06-18-01-16-53-510.png!

The guac_common_clipboard_append() function appends the empty string and 
updates the length as 1.

!image-2020-06-18-01-18-35-544.png!

I think that this log message has to be displayed only if the clipboard has the 
text to be copied.

 

Thanks.

 

> Improper log message when there is no clipboard data
> ----------------------------------------------------
>
>                 Key: GUACAMOLE-1106
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1106
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole-server, RDP
>    Affects Versions: 1.1.0
>            Reporter: Jimmy
>            Priority: Minor
>              Labels: log
>         Attachments: image-2020-06-17-21-23-56-419.png, 
> image-2020-06-18-01-11-42-736.png, image-2020-06-18-01-16-53-510.png, 
> image-2020-06-18-01-18-35-544.png
>
>
> I can see the following log message on the console of the guacamole server 
> whenever I select another application other than the browser:
> !image-2020-06-17-21-23-56-419.png!
> Especially, I didn't copy any text to the clipboard, but this log message is 
> displayed.
> I think that we need to decide whether the guacamole server shows this log 
> message or not based on certain criteria such as the length of the clipboard.
> If this issue is accepted by you, I want to fix it myself.
>  Thanks.



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

Reply via email to