xpra-html5: Copy and Paste does not work properly via Xpra, it just copies plain text instead of the formatted text
Describe the bug Copy and Paste does not work properly via Xpra, it just copies plain text instead of the formatted text
System Information:
Server OS: Rocky Linux release 8.8 (Green Obsidian) Client OS: Windows 10 Home 22H2 Xpra Client Version: 9.0 Xpra Server Version…
[company@iqlr8vm ~]$ rpm -qa | grep xpra
xpra-codecs-5.0.2-10.r0.el8.x86_64
xpra-common-5.0.2-10.r0.el8.x86_64
xpra-audio-5.0.2-10.r0.el8.x86_64
xpra-server-5.0.2-10.r0.el8.x86_64
xpra-html5-9.0-1.r1481.el8.noarch
xpra-client-5.0.2-10.r0.el8.x86_64
xorg-x11-drv-dummy-0.4.1-1.xpra1.el8.x86_64
xpra-codecs-nvidia-5.0.2-10.r0.el8.x86_64
xpra-client-gtk3-5.0.2-10.r0.el8.x86_64
xpra-x11-5.0.2-10.r0.el8.x86_64
xpra-5.0.2-10.r0.el8.x86_64
I have a Rocky 8 VM where our software is sitting and we can access it via Xpra, it works well. My problem is that it seems Xpra ruins somehow the formatted text what I would like to copy from the server (Xpra) to my notebook (windows client) to Excel.
This is the table what I would like to copy…
…and it looks as follows if I copy this straight from the Virtual Machine to my Excel sheet…
As you can see above, it kept the formatting. And this is how it looks if I copy the same info from a browser from Xpra…
As you can see it just copies the plain text, however I would need the formatted text.
Could you please let me know if there is any solution for my problem?
Many thanks in advance, Mike
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 68
Commits related to this issue
- #273 prefer 'text/html', if available — committed to Xpra-org/xpra-html5 by totaam 3 years ago
- #273 prefer 'text/html', if available — committed to Xpra-org/xpra-html5 by totaam 3 years ago
- #273 copy 'text/html' to the server — committed to Xpra-org/xpra-html5 by totaam 3 years ago
- allow 'xpra/html' as a 'text' target — committed to Xpra-org/xpra by totaam 3 years ago
- #273 #298 add clipboard test page — committed to Xpra-org/xpra-html5 by totaam 3 years ago
FYI: the upcoming release will default to
text/plainagain to fix #283, you can keep usingtext/htmlby selecting it as the “preferred format” on the advanced connection options. See https://github.com/Xpra-org/xpra-html5/issues/283#issuecomment-2109842591 The parameter is namedclipboard_preferred_format.Longer term, a better solution is #305