Xpra: Ticket #1971: copy to clipboard on server -> empty on client

Hello...

Ubuntu Server 16.04 Xpra 2.3.4-r20525-1 Windows 7 Client

Clipboard directions: Both

Clipboard from Client (copy) -> Server (paste):

works

Clipboard from Server (copy) -> Client (paste):

it depends:

Xpra-x86_64_Setup_2.4-r20553.exe: works Xpra-Client_Setup_2.3.4-r20511.exe: fails Xpra-Client_Setup_2.3.4-r20510.exe: fails Xpra-Client-x86_64_Setup_2.3.3-r20115.exe: works

"fails" means: The clipboard on Windows is empty after copying something on the server.

Reproducible.

We use 2.3.3 and will upgrade to 2.4 if the clipboard works in the final 2.4 release.

Kind regards Michael



Mon, 01 Oct 2018 15:39:18 GMT - Antoine Martin: priority, status changed

All the clipboard changes for 2.3.x are here: log/xpra/tags/v2.3.x/src/xpra/clipboard. The only change in the 2.3.4 release is r20414.

This is a backport from the 2.4 branch and only triggers when we detect invalid clipboard data. (the bug should therefore also affect 2.4)


Tue, 02 Oct 2018 06:51:53 GMT - Antoine Martin: status changed; resolution set

Turns out that the bug is not in the clipboard code, it's a bug in the system tray image code which is triggered whenever we send or receive a clipboard packet.

The bug was caused by the "patch" command making a mess of a backport in r20372 (yet again..), then I tried to fix it up by hand in r20510, and missed some bits.

This is now fixed correctly in r20589. (and backported clipboard sanitization code in r20590)

I am still investigating a clipboard related hang with MS Windows clients, this one affects both 2.4 and 2.3.

@michael: there is an updated 2.3.4 installer with this fix here: https://xpra.org/beta/windows/


Tue, 02 Oct 2018 07:58:09 GMT - michael:

2.3.4 Beta works - thanks!


Sat, 23 Jan 2021 05:38:41 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1971