[
https://issues.apache.org/jira/browse/GUACAMOLE-2133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18018575#comment-18018575
]
Nick Couchman commented on GUACAMOLE-2133:
------------------------------------------
[~barabo] Ah, okay, that makes a little more sense, as XFCE has the option for
copying to clipboard on select. I use XFCE on my laptop (the client I use for
accessing Guacamole) and rely heavily on that feature, so I know what you're
talking about.
I'll have to play around with connecting to a couple of different XFCE systems
via RDP that I have running and see what happens and if I can reproduce the
issue. Ultimately I'm not entirely sure that this is a Guacamole issue - it
sounds like maybe XFCE or xrdp (I assume that's what you're using?) may be
handling the clipboard sync incorrectly, but hard to say.
> 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.5.3, 1.6.0
> Reporter: Carl Anderson
> Priority: Minor
>
> 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)