Carl Anderson created GUACAMOLE-2133:
----------------------------------------

             Summary: Paste to replace a text selection deletes selection 
without replacing contents
                 Key: GUACAMOLE-2133
                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-2133
             Project: Guacamole
          Issue Type: Bug
    Affects Versions: 1.6.0, 1.5.3
            Reporter: Carl Anderson


I've only been able to test this on our prod (1.5.3) and dev (1.6.0) 
environments, but I see it in both places when using Chrome and Firefox.  This 
issue may exist in other versions.

Steps to reproduce:
 * Outside of guacamole: copy text to clipboard
 * Inside guacamole, within a visual text editor such as vscode or jupyter: 
select text you wish to replace with the clipboard contents
 * Press Ctrl-V to paste

Expected behavior:
 * selected text is replaced with clipboard contents

Actual behavior:
 * pause of 2-3 seconds
 * selected text is deleted
 * clipboard has been updated to match the text selection that was deleted

Everything seems to work normally when the clipboard source content originates 
from within the guacamole-accessed VM.  It only seems to be problematic when 
pasting from an external source.

Also, if there is no text selected when pasting, the paste operates as 
expected.  So, the workaround is trivial.  We can select the text to replace, 
delete it by pressing 'del', and then paste normally.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to