As reported in ticket:2524#comment:3.
Easily reproducible, also affects version 3 with both python2 and python3. Odd because I'm pretty sure I had tested this when I added the "upgrade-desktop" and "upgrade-shadow" subcommands.
Bisecting:
So the problem is r20757 and it's a big changeset...
Isn't CC how you watch a ticket in Trac?
I hope it's okay to track when this is fixed - especially since it seems it will be a bit long time. :/
Starting from r20757 and reverting the changes to selection.py
fixes the problem.
Narrowing it further points to this specific change:
self.clipboard.set_with_data([("VERSION", 0, 0)], self._get, self._clear, None)
changed to:
set_clipboard_data(self.clipboard, "VERSION")
That's because although the documentation does refer to it, set_with_data
is no longer exposed with GTK3: gtk_clipboard_set_with_data/set_with_owner is binding-unfriendly.
So we need to change two things:
outdata.set("INTEGER", 32, pack("@ii", 2, 0))
selection-lost
Working fix in r24834 + r24835.
Still TODO:
VERSION
- GTK3 lacks the feature which GTK2 has always had
Updates:
VERSION
fix moved to #2535 - things work without, but we should be spec compliant (GTK2 was...)
exit_codes.TIMEOUT
if the current owner does not give up the selection
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2533