Marko Nikolić created GUACAMOLE-150:
---------------------------------------
Summary: onclipboard event doesn't fire on non-text clipboard data
Key: GUACAMOLE-150
URL: https://issues.apache.org/jira/browse/GUACAMOLE-150
Project: Guacamole
Issue Type: Bug
Components: guacamole-client
Affects Versions: 0.9.10-incubating
Environment: Linux Mint 18 64 bit
Tomcat 8
RDP access to Win2012 server
Reporter: Marko Nikolić
Fix For: 0.9.10-incubating
When clipboard data is selected in remote client, the event onclipboard should
fire in {{Guacamole.Client}} object. However, this does not happen for non-text
clipboard data.
Previous versions explicitly supported only text in the clipboard. Starting
from 0.9.10 version there is a code in {{app/client/types/ManagedClient.js}} ,
function {{onclipboard}}, that handles both textual and binary data. However,
it still works only for textual data.
The change is introduced by commit 8c54461 , but it seems that binary clipboard
data isn't introduced in the server code also. The guacd reports the following
when non-textual data is selected:
guacd\[779\]: INFO: Ignoring unsupported clipboard data
This looks misleading to me, as it gives the wrong impression that
functionality exists. I believe it should be aligned, either by finishing
implementation in server or removing non-functional implementation from client.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)