xpra-html5 icon indicating copy to clipboard operation
xpra-html5 copied to clipboard

Clipboard usage

Open iDmple opened this issue 1 year ago • 1 comments

Hey,

I have a question regarding clipboard usage.

I want to be able to copy paste from the outside(browser/OS) to Xpra-html5 and within Xpra-html5, but not from Xpra-htlm5 to the outside.

I manage to copy paste within Xpra-html5 when clipboard is disabled. I manage to copy paste from Xpra-html5 to the outside when clipboard is enabled and clipboard direction is set to-server. However, I don't manage to have both at the same time, that is when clipboard is enabled and clipboard direction is set to-server, Xpra-html5 internal copy paste does not work anymore.

Am I missing something?

I'm running Xpra version 6.2.0-1 (.deb package) on Ubuntu 24.04 (k8s) and Xpra-html5 16.2 on Mac with Chrome Version 130.0.6723.59 (Official Build) (arm64).

iDmple avatar Oct 29 '24 12:10 iDmple

I think that there are a few issues here:

  • "clipboard direction is set to-server, Xpra-html5 internal copy paste does not work anymore" - which would be an xpra bug
  • the server sends clipboard data even when to-server is set - I believe this only happens for "greedy" clients (like MS Windows, MacOS and html5) - another xpra server bug
  • "when clipboard is enabled and clipboard direction is set to-server, Xpra-html5 internal copy paste does not work anymore" - another xpra server bug?
  • then the html5 client does not have a switch for controlling clipboard direction

Would you mind creating at least one issue at https://github.com/Xpra-org/xpra to track the xpra server issues?

totaam avatar Oct 30 '24 09:10 totaam

I don't think there are any issues with the html5 client, so closing.

totaam avatar Oct 11 '25 14:10 totaam