Xpra: Ticket #1601: Clipboard sync broken

I upgraded xpra yesterday from the previous version on the official xpra repository for Debian Stretch. Yesterday (and before that), clipboard syncronization worked perfectly well. However, after yesterday's update, clipboard sync is broken. When I select some text to be copied from the main X server, I verify that it has indeed been copied into the primary clipboard buffer using xclip -o -selection primary . I then try to paste it in a Xpra window (e.g. firefox), which results in nothing being pasted. Looking at the log, I get client 1: Warning: sanitizing NULL gtk selection data to avoid crash . I am running xpra version 2.1-r16505.

Wed, 26 Jul 2017 16:14:55 GMT - Antoine Martin: status changed

Sounds like the fix for #1579 may be catching cases where the data is still valid.

Wed, 26 Jul 2017 17:04:36 GMT - Antoine Martin: status changed; resolution set

Well, that's very odd: the crash from #1579 doesn't happen any more and it was very easy to reproduce previously, but the clipboard does fail instead... So r16524 disables this workaround code in older branches, and I'm re-spinning 2.1-2 packages with this change only. (MS Windows and Mac OS were not affected)

@chaanakya: this should fix the problem, works for me.

Will follow up in #1579.

Sun, 28 Oct 2018 05:09:53 GMT - Antoine Martin:

Similar to #2009

Sat, 23 Jan 2021 05:28:49 GMT - migration script:

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