[
https://issues.apache.org/jira/browse/GUACAMOLE-2133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18018482#comment-18018482
]
Carl Anderson commented on GUACAMOLE-2133:
------------------------------------------
Yeah, I was just coming back to update the issue. Our desktop environment is
xfce4, and it seems that when users are selecting text they wish to replace -
the process of selecting text is overwriting their clipboard content.
What is odd, though, is that when they then paste - I would expect nothing to
happen since the clipboard matches the selected content. However, what we see
is as described above.
I would like to disable the 'selecting text updates the clipboard' feature,
which I think will improve the user experience - but I'm still at a loss to
understand what's happening that causes the paste keyboard shortcut to delete
the selection after a brief delay.
If you can point me towards tools to troubleshoot this, I'll see if I can learn
more about what's happening. Thanks!
> 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)