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

Jimmy edited comment on GUACAMOLE-1106 at 6/17/20, 10:27 PM:
-------------------------------------------------------------

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

I ensure that I have only a single session.

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

When you repeat the following operations, you can see these log messages from 
the terminal.
1. First, select the browser.
2. And then select another application such as Paint and Notepad.

 

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.

 


was (Author: myjimmy):
[~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