xpra icon
Bug tracker and wiki

Opened 2 years ago

Closed 9 months ago

Last modified 9 months ago

#1844 closed enhancement (fixed)

async clipboard api

Reported by: Antoine Martin Owned by: alas
Priority: critical Milestone: 3.0
Component: html5 Version: 2.3.x
Keywords: Cc:

Description (last modified by Antoine Martin)

See Unblocking Clipboard Access: It's a replacement for execCommand-based copy & paste that has a well-defined permissions model and doesn't block the page.

MDN: Navigator clipboard.

Original html5 clipboard tickets: #842, #1461

Attachments (1)

multiple-clipboard-sync-events.txt (150.5 KB) - added by Antoine Martin 9 months ago.
moving to an attachment: multiple clipboard sync events

Download all attachments as: .zip

Change History (22)

comment:1 Changed 16 months ago by Antoine Martin

See also related work in #812

comment:2 Changed 15 months ago by Antoine Martin

Status: newassigned

For images, see #2312

comment:3 Changed 15 months ago by Antoine Martin

Priority: majorcritical

Blocker for #2312

comment:4 Changed 15 months ago by Antoine Martin

Description: modified (diff)

Updates:

  • r22834 new async api calls
  • r22837 answer clipboard requests
  • r22838 workaround PRIMARY + CLIPBOARD overwriting values
  • r22839 don't bother synchronizing PRIMARY if we have the new async API
  • r22840 stricter test for navigator.clipboard API availability

Important: just found information on clipboardchange event in w3c: Async Clipboard API. This is not supported in any browser yet.
This means we would not necessarily have to claim the clipboard every time we get a token, we could rely on those events to notify the server.
For chrome: onClipboardDataChanged.

Maybe we should query the Permissions API rather than just checking if the method exists?
See Asynchronous Clipboard API Sample

Tested:

  • Chrome 75.0.3770.51 (Official Build) beta (64-bit) Linux: OK (connecting to localhost using websocket)
  • Chrome 74 MS Windows: OK via https, otherwise legacy mode
  • Firefox 67 Linux: legacy mode
  • Firefox 67 MS Windows: legacy mode

The Firefox results are surprising since they claim to support the async API since V63, but this matches the results from this test.
The spec says: Firefox only supports reading the clipboard in browser extensions, using the "clipboardRead" extension permission.

Then there are also issues with "secure contexts": works for localhost, otherwise https is required, etc..

Last edited 15 months ago by Antoine Martin (previous) (diff)

comment:5 Changed 14 months ago by Antoine Martin

IE fixes in r22862. (no arrow functions)

The problem with the permissions API is that if the user denies the request, we cannot ask again and we're left with a non-functional API..
To restore things, one has to visit chrome://settings/content/siteDetails?site=https%3A%2F%2Fgooglechrome.github.io%2F (chrome), or follow steps similar to How do I make Chrome forget a “no” to geolocation on a site?

Last edited 14 months ago by Antoine Martin (previous) (diff)

comment:6 Changed 14 months ago by Antoine Martin

Also fixes #2292

comment:7 Changed 14 months ago by Antoine Martin

Owner: changed from Antoine Martin to zaveri
Status: assignednew

For testing: the html5 client will print a message to the console indicating if it's using the old or new (async) clipboard code. (message actually fixed in r22911)

Tweaks and better compatibility for legacy mode in r22918.
IE compatibility fixes in r22919 + r22920.

The new code saves having to synchronize the PRIMARY selection constantly, we do that with the old code just in case we get a clipboard copy request from the browser so that we can provide a response instantly. (this is the synchronous clipboard)
With the new async code, we populate the clipboard only when needed.

comment:8 Changed 12 months ago by Antoine Martin

Owner: changed from zaveri to alas

@afarr: can you take over zaveri?
This ticket goes with #2312.

comment:9 Changed 11 months ago by alas

Well, as a start I did a test of the clipboard with the windows client (3.0r23707) against a 3.0-r23689 server on Fedora 30 - and none of my old tricks was able to find a problem.
Will update with results from html5 client tests.

comment:10 Changed 11 months ago by alas

Testing with the same 3.0-r23689 server on Fedora 30 with Chrome html5 client, it looks like nothing copied from a local application can be pasted into the html5 client session with a right-click menu paste option (not into a browser input field, or a gedit field) - but the contents are being sync'd with the server in some way, because immediately following a right-click paste (which will paste the last contents copied/pasted server-side) failure an immediate use of keyboard shortcut (control-v in this case) will paste the contents last copied locally.

Repro (that got confusing just writing it).

  • Copy something in a session.
  • Paste inside the session (right-click menu or keyboard shortcut) just to be sure what's there (should succeed).
  • Paste into a local application (should succeed, right-click of keyboard shortcut).
  • Copy something else in local application (right-click or keyboard shortcut). (Optionally then paste it again locally just to be sure nothing super-weird is happening.)
  • Return to application in the session (browser, gedit or other editor, not xterm - they behave uniquely) & use right-click to paste (should fail, pasting whatever was copied inside the session last, rather than what was copied from local application).
  • Immediately use keyboard shortcut to paste same contents into session application (now it should work, pasting different contents than what was just pasted with the right-click).

As an added bonus, the issue of #2403 (more than 30 clipboard requests per second easily triggered with gedit) is equally easy to trigger with the Chrome html5 client (and equally easy to disable clipboard entirely, requiring a disconnect and reconnect of the session to re-enable the clipboard).

Additionally (and I'm not sure if this should be a separate ticket), after triggering the warning for about 544 ms I somehow triggered a keyboard layout error?

2019-09-05 13:35:36,696 client   2 broadway decoder initialized
2019-09-05 13:35:43,892 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:43,909 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:43,909 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:43,925 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:43,942 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:43,958 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:43,978 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:43,992 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:44,009 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:44,025 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:44,042 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:44,074 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:44,074 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:44,103 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:44,109 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:44,159 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:44,160 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:44,247 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:44,264 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:44,335 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:44,351 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:44,369 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:44,384 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:44,402 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:44,436 Warning: more than 30 clipboard requests per second!
2019-09-05 13:35:46,720 setting keyboard layout to 'us'
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Internal error:   Could not resolve keysym XF86MonBrightnessCycle
> Internal error:   Could not resolve keysym XF86RotationLockToggle
Errors from xkbcomp are not fatal to the X server

Will check with another html5 client when next I get a chance.

comment:11 Changed 11 months ago by Antoine Martin

Owner: changed from alas to Antoine Martin
Status: newassigned

... looks like nothing copied from a local application can be pasted into the html5 client session with a right-click menu paste option ...

Here's what's happening here: when you copy something using a local application, we currently have no way of knowing that something has happened to the local clipboard and that some new data is available.. (unless we use some sort of polling)
So when you right click in the server side application and use the popup menu to do something with the clipboard, we're still using the old value.
Control-V on the keyboard is handled differently: we detect this specific key combination (and some others, Shift+Insert, macos ones) and proactively query the local clipboard to send the new clipboard contents before sending the key event, so the server will have the latest clipboard contents before handling the clipboard shortcut.
I don't think we can use a similar strategy for clicks as there is no way of knowing what the click is meant to do: the click could be on a "cut" or "copy" button or menu entry, just as well as a "paste" button. There's no way to tell.
And proactively copying the data might just override the application's intended action for this event.

I'm experimenting with a polling solution, which is tricky.

As an added bonus, the issue of #2403 (more than 30 clipboard requests per second easily triggered with gedit) is equally easy to trigger with the Chrome html5 client

It shouldn't be. We're not supposed to synchronize the PRIMARY selection at all when the async clipboard code is used. And the CLIPBOARD selection shouldn't be changing that often.
I'll look into it.

(and equally easy to disable clipboard entirely, requiring a disconnect and reconnect of the session to re-enable the clipboard).

That's no longer an issue: r23723, ticket:2403#comment:1.

comment:12 Changed 11 months ago by Antoine Martin

Owner: changed from Antoine Martin to alas
Status: assignednew

Try r23724: whenever we get a click event, we now poll the local clipboard for changes.

Notes and caveats:

  • may trigger clipboard warnings with some browser versions and security settings - so maybe this new feature should be made optional?
  • tested on Chrome only for now - Firefox isn't working (will look into it - maybe not allowed from click events?)
  • ideally the code should be modified to use an asynchronous call, to guarantee that the clipboard contents are sent before the click - meh: difficult to read, and may delay the clicks too much
  • if this approach works well enough, maybe we should use it more so that we can catch weird keyboard shortcuts? (ie: fire the clipboard polling code on every key event? probably not with Firefox..)
  • I still need to look into the PRIMARY 30 requests per second issue
Last edited 11 months ago by Antoine Martin (previous) (diff)

comment:13 Changed 11 months ago by Antoine Martin

Updates:

  • Firefox is unlikely to work: readText: Firefox only supports reading the clipboard in browser extensions, using the "clipboardRead" extension permission.
  • MS Edge and IE11 don't have any support for the new clipboard API, but using the legacy API seems to work for polling (needed fixes from r23726 + r23727) - tested various combinations downloaded from microsoft.com : Download virtual machines
  • I am unable to reproduce any problems with the PRIMARY selection: although I do see events firing on the server-side with -d clipboard, those events never get sent to the browser as it doesn't enable this selection:
    $ xpra info | grep PRIMARY.enabled
    clipboard.PRIMARY.enabled=False
    
Last edited 11 months ago by Antoine Martin (previous) (diff)

comment:14 Changed 9 months ago by alas

Owner: changed from alas to Antoine Martin

Testing again with a newly updated Fedora 30 3.0.2-r24387, launching the server with my usual command:

... then connect with a Windows 7 Chrome 77 html5 client.

It looks like I'm still very easily able to trigger the more than 30 requests per second error when testing with gedit... but with the -d clipboard flag on, it looks like there are some tracebacks happening whenever I try to copy from a gedit window, regardless of whether I trigger the more than 30 requests! message.

Testing by very simply using one of the two xterms to launch gedit, typing 'test' into a local application (Word in this case), I see the following output when I use control-v to paste into the server-side gedit (which works as expected).

2019-11-05 11:56:47,890 process clipboard token selection=CLIPBOARD, local clipboard name=CLIPBOARD, proxy=X11ClipboardProxy(CLIPBOARD)
2019-11-05 11:56:47,890 wire selection to raw, encoding=bytes, type=UTF8_STRING, format=8, len(data)=4
2019-11-05 11:56:47,891 got token, selection=CLIPBOARD, targets=[b'UTF8_STRING', b'text/plain'], target data={'UTF8_STRING': ('UTF8_STRING', 8, b'test')}, claim=True, can-receive=True
2019-11-05 11:56:47,891 got_contents('TARGETS', 'ATOM', 32, '"b\'\\\\xe7\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\xaf\\\\x01\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\'"') pending=
2019-11-05 11:56:47,892 got_contents('UTF8_STRING', 'UTF8_STRING', 8, '"b\'test\'"') pending=
2019-11-05 11:56:47,892 claim_selection: set selection owner returned 1, owner=0x400008
2019-11-05 11:56:47,892 claim_selection: sending message to root window
2019-11-05 11:56:47,892 claim_selection: done, owned=True
2019-11-05 11:56:47,893 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x1289', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0x400008', 'selection': 'CLIPBOARD', 'timestamp': '1503780738', 'selection_timestamp': '1503780738'}>)
2019-11-05 11:56:47,893 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x1289', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0x400008', 'selection': 'CLIPBOARD', 'timestamp': '1503780738', 'selection_timestamp': '1503780738'}>) owned=True, was True, enabled=True, can-send=True
2019-11-05 11:56:47,893 do_xpra_selection_request(<X11:SelectionRequest {'send_event': '0', 'serial': '0x128a', 'delivered_to': '0x400008', 'window': '0x400008', 'requestor': '0xa00124', 'selection': 'CLIPBOARD', 'target': 'TARGETS', 'property': 'GDK_SELECTION', 'time': '1503780738'}>)
2019-11-05 11:56:47,893 do_selection_request_event(<X11:SelectionRequest {'send_event': '0', 'serial': '0x128a', 'delivered_to': '0x400008', 'window': '0x400008', 'requestor': '0xa00124', 'selection': 'CLIPBOARD', 'target': 'TARGETS', 'property': 'GDK_SELECTION', 'time': '1503780738'}>)
2019-11-05 11:56:47,894 clipboard request for CLIPBOARD from window 0xa00124: 'gedit', target=TARGETS, prop=GDK_SELECTION
2019-11-05 11:56:47,894 using existing TARGETS value as response: ('UTF8_STRING', 'text/plain')
2019-11-05 11:56:47,894 set_selection_response(<GdkX11.X11Window object at 0x7f97ac529a00 (GdkX11Window at 0x55fa573d5450)>, TARGETS, GDK_SELECTION, ATOM, 32, "'ç\\x00\\x00\\x00\\x00\\x00\\x00\\x00¯\\x01\\x00\\x00\\x00\\x00\\x00\\x00'", 1503780738)
2019-11-05 11:56:47,896 do_xpra_selection_request(<X11:SelectionRequest {'send_event': '0', 'serial': '0x129b', 'delivered_to': '0x400008', 'window': '0x400008', 'requestor': '0xa00124', 'selection': 'CLIPBOARD', 'target': 'GTK_TEXT_BUFFER_CONTENTS', 'property': 'GDK_SELECTION', 'time': '1503780742'}>)
2019-11-05 11:56:47,896 do_selection_request_event(<X11:SelectionRequest {'send_event': '0', 'serial': '0x129b', 'delivered_to': '0x400008', 'window': '0x400008', 'requestor': '0xa00124', 'selection': 'CLIPBOARD', 'target': 'GTK_TEXT_BUFFER_CONTENTS', 'property': 'GDK_SELECTION', 'time': '1503780742'}>)
2019-11-05 11:56:47,897 clipboard request for CLIPBOARD from window 0xa00124: 'gedit', target=GTK_TEXT_BUFFER_CONTENTS, prop=GDK_SELECTION
2019-11-05 11:56:47,897 client is requesting an unknown target: 'GTK_TEXT_BUFFER_CONTENTS'
2019-11-05 11:56:47,897  valid targets: UTF8_STRING, text/plain
2019-11-05 11:56:47,897  dropping the request
2019-11-05 11:56:47,897 set_selection_response(<GdkX11.X11Window object at 0x7f97ac52ba00 (GdkX11Window at 0x55fa573d5450)>, GTK_TEXT_BUFFER_CONTENTS, GDK_SELECTION, STRING, 8, "''", 1503780742)
2019-11-05 11:56:47,898 do_xpra_selection_request(<X11:SelectionRequest {'send_event': '0', 'serial': '0x12a1', 'delivered_to': '0x400008', 'window': '0x400008', 'requestor': '0xa00124', 'selection': 'CLIPBOARD', 'target': 'TARGETS', 'property': 'GDK_SELECTION', 'time': '1503780742'}>)
2019-11-05 11:56:47,898 do_selection_request_event(<X11:SelectionRequest {'send_event': '0', 'serial': '0x12a1', 'delivered_to': '0x400008', 'window': '0x400008', 'requestor': '0xa00124', 'selection': 'CLIPBOARD', 'target': 'TARGETS', 'property': 'GDK_SELECTION', 'time': '1503780742'}>)
2019-11-05 11:56:47,898 clipboard request for CLIPBOARD from window 0xa00124: 'gedit', target=TARGETS, prop=GDK_SELECTION
2019-11-05 11:56:47,898 using existing TARGETS value as response: ('UTF8_STRING', 'text/plain')
2019-11-05 11:56:47,899 set_selection_response(<GdkX11.X11Window object at 0x7f97ac52ba00 (GdkX11Window at 0x55fa573d5450)>, TARGETS, GDK_SELECTION, ATOM, 32, "'ç\\x00\\x00\\x00\\x00\\x00\\x00\\x00¯\\x01\\x00\\x00\\x00\\x00\\x00\\x00'", 1503780742)
2019-11-05 11:56:47,899 do_xpra_selection_request(<X11:SelectionRequest {'send_event': '0', 'serial': '0x12a7', 'delivered_to': '0x400008', 'window': '0x400008', 'requestor': '0xa00124', 'selection': 'CLIPBOARD', 'target': 'text/plain;charset=utf-8', 'property': 'GDK_SELECTION', 'time': '1503780742'}>)
2019-11-05 11:56:47,899 do_selection_request_event(<X11:SelectionRequest {'send_event': '0', 'serial': '0x12a7', 'delivered_to': '0x400008', 'window': '0x400008', 'requestor': '0xa00124', 'selection': 'CLIPBOARD', 'target': 'text/plain;charset=utf-8', 'property': 'GDK_SELECTION', 'time': '1503780742'}>)
2019-11-05 11:56:47,900 clipboard request for CLIPBOARD from window 0xa00124: 'gedit', target=text/plain;charset=utf-8, prop=GDK_SELECTION
2019-11-05 11:56:47,900 client is requesting an unknown target: 'text/plain;charset=utf-8'
2019-11-05 11:56:47,900  valid targets: UTF8_STRING, text/plain
2019-11-05 11:56:47,900  dropping the request
2019-11-05 11:56:47,900 set_selection_response(<GdkX11.X11Window object at 0x7f97ac52ba00 (GdkX11Window at 0x55fa573d5450)>, text/plain;charset=utf-8, GDK_SELECTION, STRING, 8, "''", 1503780742)
2019-11-05 11:56:47,901 do_xpra_selection_request(<X11:SelectionRequest {'send_event': '0', 'serial': '0x12ad', 'delivered_to': '0x400008', 'window': '0x400008', 'requestor': '0xa00124', 'selection': 'CLIPBOARD', 'target': 'UTF8_STRING', 'property': 'GDK_SELECTION', 'time': '1503780742'}>)
2019-11-05 11:56:47,901 do_selection_request_event(<X11:SelectionRequest {'send_event': '0', 'serial': '0x12ad', 'delivered_to': '0x400008', 'window': '0x400008', 'requestor': '0xa00124', 'selection': 'CLIPBOARD', 'target': 'UTF8_STRING', 'property': 'GDK_SELECTION', 'time': '1503780742'}>)
2019-11-05 11:56:47,901 clipboard request for CLIPBOARD from window 0xa00124: 'gedit', target=UTF8_STRING, prop=GDK_SELECTION
2019-11-05 11:56:47,901 send_clipboard_request_handler(X11ClipboardProxy(CLIPBOARD), 'CLIPBOARD', 'UTF8_STRING')
2019-11-05 11:56:47,902 send_clipboard_request id=4
2019-11-05 11:56:47,912 process clipboard contents, selection=CLIPBOARD, type=UTF8_STRING, format=8
2019-11-05 11:56:47,912 wire selection to raw, encoding=bytes, type=UTF8_STRING, format=8, len(data)=4
2019-11-05 11:56:47,912 clipboard wire -> raw: ('UTF8_STRING', 8, 'bytes', '"b\'test\'"') -> "b'test'"
2019-11-05 11:56:47,913 clipboard got contents(4, 'UTF8_STRING', 8, '"b\'test\'"'): proxy=X11ClipboardProxy(CLIPBOARD) for selection=CLIPBOARD
2019-11-05 11:56:47,913 got_contents('UTF8_STRING', 'UTF8_STRING', 8, '"b\'test\'"') pending=(<GdkX11.X11Window object at 0x7f97ac52ba00 (GdkX11Window at 0x55fa573d5450)>, 'GDK_SELECTION', 1503780742)
2019-11-05 11:56:47,913 setting response 'test' to property GDK_SELECTION of window 'gedit' as UTF8_STRING
2019-11-05 11:56:47,913 set_selection_response(<GdkX11.X11Window object at 0x7f97ac52ba00 (GdkX11Window at 0x55fa573d5450)>, UTF8_STRING, GDK_SELECTION, UTF8_STRING, 8, "'test'", 1503780742)
2019-11-05 11:56:47,914 do_xpra_selection_request(<X11:SelectionRequest {'send_event': '0', 'serial': '0x12b4', 'delivered_to': '0x400008', 'window': '0x400008', 'requestor': '0xa00124', 'selection': 'CLIPBOARD', 'target': 'TARGETS', 'property': 'GDK_SELECTION', 'time': '1503780742'}>)
2019-11-05 11:56:47,914 do_selection_request_event(<X11:SelectionRequest {'send_event': '0', 'serial': '0x12b4', 'delivered_to': '0x400008', 'window': '0x400008', 'requestor': '0xa00124', 'selection': 'CLIPBOARD', 'target': 'TARGETS', 'property': 'GDK_SELECTION', 'time': '1503780742'}>)
2019-11-05 11:56:47,915 clipboard request for CLIPBOARD from window 0xa00124: 'gedit', target=TARGETS, prop=GDK_SELECTION
2019-11-05 11:56:47,915 using existing TARGETS value as response: ('UTF8_STRING', 'text/plain')
2019-11-05 11:56:47,916 set_selection_response(<GdkX11.X11Window object at 0x7f97ac52ba00 (GdkX11Window at 0x55fa573d5450)>, TARGETS, GDK_SELECTION, ATOM, 32, "'ç\\x00\\x00\\x00\\x00\\x00\\x00\\x00¯\\x01\\x00\\x00\\x00\\x00\\x00\\x00'", 1503780742)
2019-11-05 11:56:47,916 do_xpra_selection_request(<X11:SelectionRequest {'send_event': '0', 'serial': '0x12b5', 'delivered_to': '0x400008', 'window': '0x400008', 'requestor': '0xa0078a', 'selection': 'CLIPBOARD', 'target': 'TARGETS', 'property': 'GDK_SELECTION', 'time': '1503780742'}>)
2019-11-05 11:56:47,916 do_selection_request_event(<X11:SelectionRequest {'send_event': '0', 'serial': '0x12b5', 'delivered_to': '0x400008', 'window': '0x400008', 'requestor': '0xa0078a', 'selection': 'CLIPBOARD', 'target': 'TARGETS', 'property': 'GDK_SELECTION', 'time': '1503780742'}>)
2019-11-05 11:56:47,917 clipboard request for CLIPBOARD from window 0xa0078a: 'gedit', target=TARGETS, prop=GDK_SELECTION
2019-11-05 11:56:47,917 using existing TARGETS value as response: ('UTF8_STRING', 'text/plain')
2019-11-05 11:56:47,917 set_selection_response(<GdkX11.X11Window object at 0x7f97ac52ba00 (GdkX11Window at 0x55fa573d5c70)>, TARGETS, GDK_SELECTION, ATOM, 32, "'ç\\x00\\x00\\x00\\x00\\x00\\x00\\x00¯\\x01\\x00\\x00\\x00\\x00\\x00\\x00'", 1503780742)

... and you can see that the text (test) is sync'd -
2019-11-05 11:56:47,913 clipboard got contents(4, 'UTF8_STRING', 8, '"b\'test\'"'): proxy=X11ClipboardProxy(CLIPBOARD) for selection=CLIPBOARD

When I then try to highlight and copy that text that was just pasted though, I get this... and from this point on the clipboard server side doesn't seem to be able to sync with anything.

2019-11-05 11:56:59,679 do_xpra_selection_clear(<X11:SelectionClear {'send_event': '0', 'serial': '0x1776', 'delivered_to': '0x400008', 'window': '0x400008', 'selection': 'PRIMARY', 'time': '1503792521'}>)
2019-11-05 11:56:59,679 do_xpra_selection_clear(<X11:SelectionClear {'send_event': '0', 'serial': '0x1776', 'delivered_to': '0x400008', 'window': '0x400008', 'selection': 'PRIMARY', 'time': '1503792521'}>) was owned=True
2019-11-05 11:56:59,679 do_owner_changed()
2019-11-05 11:56:59,679 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x1776', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1503792525', 'selection_timestamp': '1503792521'}>)
2019-11-05 11:56:59,679 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x1776', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1503792525', 'selection_timestamp': '1503792521'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 11:56:59,679 get_contents(TARGETS, <function ClipboardProxy.schedule_emit_token.<locals>.got_targets at 0x7f97ac53a680>, 0) owned=False, have-token=False
2019-11-05 11:56:59,680 requesting local XConvertSelection from 'gedit' as 'TARGETS' into 'PRIMARY-TARGETS'
2019-11-05 11:56:59,680 do_xpra_selection_request(<X11:SelectionRequest {'send_event': '0', 'serial': '0x1779', 'delivered_to': '0x400008', 'window': '0x400008', 'requestor': '0xa00124', 'selection': 'CLIPBOARD', 'target': 'TARGETS', 'property': 'GDK_SELECTION', 'time': '1503792521'}>)
2019-11-05 11:56:59,680 do_selection_request_event(<X11:SelectionRequest {'send_event': '0', 'serial': '0x1779', 'delivered_to': '0x400008', 'window': '0x400008', 'requestor': '0xa00124', 'selection': 'CLIPBOARD', 'target': 'TARGETS', 'property': 'GDK_SELECTION', 'time': '1503792521'}>)
2019-11-05 11:56:59,681 clipboard request for CLIPBOARD from window 0xa00124: 'gedit', target=TARGETS, prop=GDK_SELECTION
2019-11-05 11:56:59,681 using existing TARGETS value as response: ('UTF8_STRING', 'text/plain')
2019-11-05 11:56:59,681 set_selection_response(<GdkX11.X11Window object at 0x7f97ac539c80 (GdkX11Window at 0x55fa573d5450)>, TARGETS, GDK_SELECTION, ATOM, 32, "'ç\\x00\\x00\\x00\\x00\\x00\\x00\\x00¯\\x01\\x00\\x00\\x00\\x00\\x00\\x00'", 1503792521)
2019-11-05 11:56:59,682 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x177e', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-TARGETS', 'time': '1503792527'}>)
2019-11-05 11:56:59,682 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x177e', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-TARGETS', 'time': '1503792527'}>)
2019-11-05 11:56:59,683 PRIMARY-TARGETS='´\x01\x00\x00\x00\x00\x00\x00¬\x01\x00\x00\x00\x00\x00\x00µ\x01\x00\x00\x00\x00\x00\x00°\x01\x00\x00\x00\x00\x00\x00¶\x01\x00\x00\x00\x00\x00\x00ç\x00\x00\x00\x00\x00\x00\x00·\x01\x00\x00\x00\x00\x00\x00¸\x01\x00\x00\x00\x00\x00\x00\x1f\x00\x00\x00\x00\x00\x00\x00²\x01\x00\x00\x00\x00\x00\x00¯\x01\x00\x00\x00\x00\x00\x00' (ATOM : 32)
2019-11-05 11:56:59,683 filter_data(TARGETS, ATOM, 32, ..)
2019-11-05 11:56:59,683 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.got_targets at 0x7f97ac53a680>('ATOM', 32, '"b\'\\\\xb4\\\\x01\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\xac .. 0\\\\x00\\\\xaf\\\\x01\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\'"'), time=0
2019-11-05 11:56:59,683 got_targets: ('TIMESTAMP', 'TARGETS', 'MULTIPLE', 'GTK_TEXT_BUFFER_CONTENTS', 'application/x-gtk-text-buffer-rich-text', 'UTF8_STRING', 'COMPOUND_TEXT', 'TEXT', 'STRING', 'text/plain;charset=utf-8', 'text/plain')
2019-11-05 11:56:59,683 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f97ac53ab00>, 0) owned=False, have-token=False
2019-11-05 11:56:59,684 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 11:56:59,684 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x178a', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-TARGETS', 'time': '1503792529'}>)
2019-11-05 11:56:59,684 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x178a', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-TARGETS', 'time': '1503792529'}>)
2019-11-05 11:56:59,684 do_property_notify() property 'PRIMARY-TARGETS' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type

Trying to repeat the behavior though, I saw this long string of debug output, which seems to show multiple clipboard sync events as I try to highlight 'test3' ... with multiple events with just the 't' being sync'd, then multiple with 'te', etc... which seems to explain the more than 30 calls per second message - but oddly in this case the copy succeeded and I was able to paste it into a local application.

2019-11-05 12:14:47,420 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3938', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860266', 'selection_timestamp': '1504860262'}>)
2019-11-05 12:14:47,420 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3938', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860266', 'selection_timestamp': '1504860262'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,421 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f605c9e0>, 0) owned=False, have-token=False
2019-11-05 12:14:47,421 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,422 do_xpra_selection_request(<X11:SelectionRequest {'send_event': '0', 'serial': '0x3938', 'delivered_to': '0x400008', 'window': '0x400008', 'requestor': '0xa00124', 'selection': 'CLIPBOARD', 'target': 'TARGETS', 'property': 'GDK_SELECTION', 'time': '1504860262'}>)
2019-11-05 12:14:47,422 do_selection_request_event(<X11:SelectionRequest {'send_event': '0', 'serial': '0x3938', 'delivered_to': '0x400008', 'window': '0x400008', 'requestor': '0xa00124', 'selection': 'CLIPBOARD', 'target': 'TARGETS', 'property': 'GDK_SELECTION', 'time': '1504860262'}>)
2019-11-05 12:14:47,423 clipboard request for CLIPBOARD from window 0xa00124: 'gedit', target=TARGETS, prop=GDK_SELECTION
2019-11-05 12:14:47,423 using existing TARGETS value as response: ('UTF8_STRING', 'text/plain')
2019-11-05 12:14:47,424 set_selection_response(<GdkX11.X11Window object at 0x7f42f6392cd0 (GdkX11Window at 0x55bf0eb83440)>, TARGETS, GDK_SELECTION, ATOM, 32, "'ç\\x00\\x00\\x00\\x00\\x00\\x00\\x00¯\\x01\\x00\\x00\\x00\\x00\\x00\\x00'", 1504860262)
2019-11-05 12:14:47,427 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x393f', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860268'}>)
2019-11-05 12:14:47,427 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x393f', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860268'}>)
2019-11-05 12:14:47,427 PRIMARY-UTF8_STRING='t' (UTF8_STRING : 8)
2019-11-05 12:14:47,428 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,428 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f605c9e0>('UTF8_STRING', 8, '"b\'t\'"'), time=0
2019-11-05 12:14:47,428 got_text_target(UTF8_STRING, 8, "b't'")
2019-11-05 12:14:47,428 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b't'))")
2019-11-05 12:14:47,428 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'t'")
2019-11-05 12:14:47,429 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:1)
2019-11-05 12:14:47,429 send_clipboard(..) elapsed=137.87, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906], maxlen=90)
2019-11-05 12:14:47,430 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x394b', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860274'}>)
2019-11-05 12:14:47,430 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x394b', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860274'}>)
2019-11-05 12:14:47,431 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,438 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3960', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860282', 'selection_timestamp': '1504860278'}>)
2019-11-05 12:14:47,438 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3960', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860282', 'selection_timestamp': '1504860278'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,438 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f605c9e0>, 0) owned=False, have-token=False
2019-11-05 12:14:47,438 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,440 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3967', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860285'}>)
2019-11-05 12:14:47,441 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3967', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860285'}>)
2019-11-05 12:14:47,441 PRIMARY-UTF8_STRING='t' (UTF8_STRING : 8)
2019-11-05 12:14:47,441 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,441 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f605c9e0>('UTF8_STRING', 8, '"b\'t\'"'), time=0
2019-11-05 12:14:47,441 got_text_target(UTF8_STRING, 8, "b't'")
2019-11-05 12:14:47,441 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b't'))")
2019-11-05 12:14:47,441 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'t'")
2019-11-05 12:14:47,442 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:1)
2019-11-05 12:14:47,442 send_clipboard(..) elapsed=137.87, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712], maxlen=90)
2019-11-05 12:14:47,442 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x396c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860287'}>)
2019-11-05 12:14:47,442 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x396c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860287'}>)
2019-11-05 12:14:47,443 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,453 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3981', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860300', 'selection_timestamp': '1504860290'}>)
2019-11-05 12:14:47,453 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3981', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860300', 'selection_timestamp': '1504860290'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,453 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a680>, 0) owned=False, have-token=False
2019-11-05 12:14:47,454 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,456 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3987', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860301'}>)
2019-11-05 12:14:47,456 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3987', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860301'}>)
2019-11-05 12:14:47,456 PRIMARY-UTF8_STRING='t' (UTF8_STRING : 8)
2019-11-05 12:14:47,456 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,457 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a680>('UTF8_STRING', 8, '"b\'t\'"'), time=0
2019-11-05 12:14:47,457 got_text_target(UTF8_STRING, 8, "b't'")
2019-11-05 12:14:47,457 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b't'))")
2019-11-05 12:14:47,457 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'t'")
2019-11-05 12:14:47,457 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:1)
2019-11-05 12:14:47,457 send_clipboard(..) elapsed=137.87, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177], maxlen=90)
2019-11-05 12:14:47,458 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x398c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860303'}>)
2019-11-05 12:14:47,458 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x398c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860303'}>)
2019-11-05 12:14:47,458 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,469 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x399b', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860316', 'selection_timestamp': '1504860312'}>)
2019-11-05 12:14:47,469 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x399b', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860316', 'selection_timestamp': '1504860312'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,469 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a3b0>, 0) owned=False, have-token=False
2019-11-05 12:14:47,470 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,472 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x39a1', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860317'}>)
2019-11-05 12:14:47,472 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x39a1', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860317'}>)
2019-11-05 12:14:47,472 PRIMARY-UTF8_STRING='t' (UTF8_STRING : 8)
2019-11-05 12:14:47,472 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,472 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a3b0>('UTF8_STRING', 8, '"b\'t\'"'), time=0
2019-11-05 12:14:47,473 got_text_target(UTF8_STRING, 8, "b't'")
2019-11-05 12:14:47,473 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b't'))")
2019-11-05 12:14:47,473 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'t'")
2019-11-05 12:14:47,473 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:1)
2019-11-05 12:14:47,473 send_clipboard(..) elapsed=137.87, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204], maxlen=90)
2019-11-05 12:14:47,474 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x39a6', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860319'}>)
2019-11-05 12:14:47,474 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x39a6', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860319'}>)
2019-11-05 12:14:47,474 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,486 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x39c1', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860333', 'selection_timestamp': '1504860324'}>)
2019-11-05 12:14:47,486 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x39c1', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860333', 'selection_timestamp': '1504860324'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,486 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a4d0>, 0) owned=False, have-token=False
2019-11-05 12:14:47,486 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,488 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x39c7', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860333'}>)
2019-11-05 12:14:47,488 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x39c7', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860333'}>)
2019-11-05 12:14:47,488 PRIMARY-UTF8_STRING='t' (UTF8_STRING : 8)
2019-11-05 12:14:47,489 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,489 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a4d0>('UTF8_STRING', 8, '"b\'t\'"'), time=0
2019-11-05 12:14:47,489 got_text_target(UTF8_STRING, 8, "b't'")
2019-11-05 12:14:47,489 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b't'))")
2019-11-05 12:14:47,489 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'t'")
2019-11-05 12:14:47,489 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:1)
2019-11-05 12:14:47,489 send_clipboard(..) elapsed=137.87, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169], maxlen=90)
2019-11-05 12:14:47,490 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x39cc', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860335'}>)
2019-11-05 12:14:47,490 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x39cc', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860335'}>)
2019-11-05 12:14:47,490 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,503 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x39e1', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860350', 'selection_timestamp': '1504860341'}>)
2019-11-05 12:14:47,503 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x39e1', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860350', 'selection_timestamp': '1504860341'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,503 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a680>, 0) owned=False, have-token=False
2019-11-05 12:14:47,504 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,507 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x39e7', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860351'}>)
2019-11-05 12:14:47,507 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x39e7', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860351'}>)
2019-11-05 12:14:47,508 PRIMARY-UTF8_STRING='te' (UTF8_STRING : 8)
2019-11-05 12:14:47,508 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,508 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a680>('UTF8_STRING', 8, '"b\'te\'"'), time=0
2019-11-05 12:14:47,508 got_text_target(UTF8_STRING, 8, "b'te'")
2019-11-05 12:14:47,508 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'te'))")
2019-11-05 12:14:47,509 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'te'")
2019-11-05 12:14:47,509 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:2)
2019-11-05 12:14:47,509 send_clipboard(..) elapsed=137.87, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015], maxlen=90)
2019-11-05 12:14:47,510 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x39ec', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860354'}>)
2019-11-05 12:14:47,510 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x39ec', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860354'}>)
2019-11-05 12:14:47,511 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,519 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3a01', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860366', 'selection_timestamp': '1504860360'}>)
2019-11-05 12:14:47,520 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3a01', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860366', 'selection_timestamp': '1504860360'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,520 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a3b0>, 0) owned=False, have-token=False
2019-11-05 12:14:47,520 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,522 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3a07', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860367'}>)
2019-11-05 12:14:47,522 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3a07', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860367'}>)
2019-11-05 12:14:47,522 PRIMARY-UTF8_STRING='te' (UTF8_STRING : 8)
2019-11-05 12:14:47,522 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,523 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a3b0>('UTF8_STRING', 8, '"b\'te\'"'), time=0
2019-11-05 12:14:47,523 got_text_target(UTF8_STRING, 8, "b'te'")
2019-11-05 12:14:47,523 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'te'))")
2019-11-05 12:14:47,523 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'te'")
2019-11-05 12:14:47,523 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:2)
2019-11-05 12:14:47,523 send_clipboard(..) elapsed=137.87, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407], maxlen=90)
2019-11-05 12:14:47,524 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3a0c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860369'}>)
2019-11-05 12:14:47,524 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3a0c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860369'}>)
2019-11-05 12:14:47,524 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,536 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3a21', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860383', 'selection_timestamp': '1504860373'}>)
2019-11-05 12:14:47,536 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3a21', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860383', 'selection_timestamp': '1504860373'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,536 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a290>, 0) owned=False, have-token=False
2019-11-05 12:14:47,537 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,539 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3a27', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860384'}>)
2019-11-05 12:14:47,539 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3a27', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860384'}>)
2019-11-05 12:14:47,539 PRIMARY-UTF8_STRING='te' (UTF8_STRING : 8)
2019-11-05 12:14:47,539 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,539 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a290>('UTF8_STRING', 8, '"b\'te\'"'), time=0
2019-11-05 12:14:47,539 got_text_target(UTF8_STRING, 8, "b'te'")
2019-11-05 12:14:47,540 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'te'))")
2019-11-05 12:14:47,540 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'te'")
2019-11-05 12:14:47,540 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:2)
2019-11-05 12:14:47,540 send_clipboard(..) elapsed=137.83, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257], maxlen=90)
2019-11-05 12:14:47,540 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3a2c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860386'}>)
2019-11-05 12:14:47,541 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3a2c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860386'}>)
2019-11-05 12:14:47,541 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,553 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3a41', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860400', 'selection_timestamp': '1504860391'}>)
2019-11-05 12:14:47,553 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3a41', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860400', 'selection_timestamp': '1504860391'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,554 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a170>, 0) owned=False, have-token=False
2019-11-05 12:14:47,555 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,557 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3a47', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860401'}>)
2019-11-05 12:14:47,557 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3a47', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860401'}>)
2019-11-05 12:14:47,558 PRIMARY-UTF8_STRING='te' (UTF8_STRING : 8)
2019-11-05 12:14:47,558 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,558 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a170>('UTF8_STRING', 8, '"b\'te\'"'), time=0
2019-11-05 12:14:47,558 got_text_target(UTF8_STRING, 8, "b'te'")
2019-11-05 12:14:47,559 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'te'))")
2019-11-05 12:14:47,559 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'te'")
2019-11-05 12:14:47,559 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:2)
2019-11-05 12:14:47,559 send_clipboard(..) elapsed=137.83, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146], maxlen=90)
2019-11-05 12:14:47,560 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3a4c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860404'}>)
2019-11-05 12:14:47,560 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3a4c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860404'}>)
2019-11-05 12:14:47,561 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,569 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3a61', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860416', 'selection_timestamp': '1504860413'}>)
2019-11-05 12:14:47,570 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3a61', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860416', 'selection_timestamp': '1504860413'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,570 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a3b0>, 0) owned=False, have-token=False
2019-11-05 12:14:47,570 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,572 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3a67', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860417'}>)
2019-11-05 12:14:47,572 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3a67', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860417'}>)
2019-11-05 12:14:47,573 PRIMARY-UTF8_STRING='tes' (UTF8_STRING : 8)
2019-11-05 12:14:47,573 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,573 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a3b0>('UTF8_STRING', 8, '"b\'tes\'"'), time=0
2019-11-05 12:14:47,573 got_text_target(UTF8_STRING, 8, "b'tes'")
2019-11-05 12:14:47,573 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'tes'))")
2019-11-05 12:14:47,573 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'tes'")
2019-11-05 12:14:47,573 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:3)
2019-11-05 12:14:47,573 send_clipboard(..) elapsed=137.83, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323], maxlen=90)
2019-11-05 12:14:47,574 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3a6c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860419'}>)
2019-11-05 12:14:47,574 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3a6c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860419'}>)
2019-11-05 12:14:47,575 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,586 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3a81', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860433', 'selection_timestamp': '1504860424'}>)
2019-11-05 12:14:47,586 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3a81', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860433', 'selection_timestamp': '1504860424'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,587 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a290>, 0) owned=False, have-token=False
2019-11-05 12:14:47,587 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,589 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3a87', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860434'}>)
2019-11-05 12:14:47,589 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3a87', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860434'}>)
2019-11-05 12:14:47,589 PRIMARY-UTF8_STRING='tes' (UTF8_STRING : 8)
2019-11-05 12:14:47,589 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,589 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a290>('UTF8_STRING', 8, '"b\'tes\'"'), time=0
2019-11-05 12:14:47,590 got_text_target(UTF8_STRING, 8, "b'tes'")
2019-11-05 12:14:47,590 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'tes'))")
2019-11-05 12:14:47,590 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'tes'")
2019-11-05 12:14:47,590 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:3)
2019-11-05 12:14:47,590 send_clipboard(..) elapsed=137.83, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323, 5799827.734172219], maxlen=90)
2019-11-05 12:14:47,591 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3a8c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860436'}>)
2019-11-05 12:14:47,591 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3a8c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860436'}>)
2019-11-05 12:14:47,591 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,603 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3aa1', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860450', 'selection_timestamp': '1504860440'}>)
2019-11-05 12:14:47,603 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3aa1', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860450', 'selection_timestamp': '1504860440'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,603 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a5f0>, 0) owned=False, have-token=False
2019-11-05 12:14:47,604 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,606 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3aa7', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860451'}>)
2019-11-05 12:14:47,607 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3aa7', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860451'}>)
2019-11-05 12:14:47,607 PRIMARY-UTF8_STRING='tes' (UTF8_STRING : 8)
2019-11-05 12:14:47,607 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,607 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a5f0>('UTF8_STRING', 8, '"b\'tes\'"'), time=0
2019-11-05 12:14:47,607 got_text_target(UTF8_STRING, 8, "b'tes'")
2019-11-05 12:14:47,608 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'tes'))")
2019-11-05 12:14:47,608 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'tes'")
2019-11-05 12:14:47,608 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:3)
2019-11-05 12:14:47,608 send_clipboard(..) elapsed=137.83, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323, 5799827.734172219, 5799827.752217333], maxlen=90)
2019-11-05 12:14:47,609 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3aac', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860453'}>)
2019-11-05 12:14:47,609 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3aac', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860453'}>)
2019-11-05 12:14:47,610 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,620 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3ac1', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860467', 'selection_timestamp': '1504860459'}>)
2019-11-05 12:14:47,620 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3ac1', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860467', 'selection_timestamp': '1504860459'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,620 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a290>, 0) owned=False, have-token=False
2019-11-05 12:14:47,620 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,623 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3ac7', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860468'}>)
2019-11-05 12:14:47,623 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3ac7', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860468'}>)
2019-11-05 12:14:47,623 PRIMARY-UTF8_STRING='tes' (UTF8_STRING : 8)
2019-11-05 12:14:47,623 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,624 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a290>('UTF8_STRING', 8, '"b\'tes\'"'), time=0
2019-11-05 12:14:47,624 got_text_target(UTF8_STRING, 8, "b'tes'")
2019-11-05 12:14:47,624 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'tes'))")
2019-11-05 12:14:47,624 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'tes'")
2019-11-05 12:14:47,624 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:3)
2019-11-05 12:14:47,624 send_clipboard(..) elapsed=137.83, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323, 5799827.734172219, 5799827.752217333, 5799827.768446144], maxlen=90)
2019-11-05 12:14:47,625 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3acc', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860470'}>)
2019-11-05 12:14:47,625 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3acc', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860470'}>)
2019-11-05 12:14:47,626 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,636 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3ae1', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860483', 'selection_timestamp': '1504860478'}>)
2019-11-05 12:14:47,636 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3ae1', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860483', 'selection_timestamp': '1504860478'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,636 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a680>, 0) owned=False, have-token=False
2019-11-05 12:14:47,637 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,639 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3ae7', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860484'}>)
2019-11-05 12:14:47,639 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3ae7', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860484'}>)
2019-11-05 12:14:47,639 PRIMARY-UTF8_STRING='tes' (UTF8_STRING : 8)
2019-11-05 12:14:47,639 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,639 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a680>('UTF8_STRING', 8, '"b\'tes\'"'), time=0
2019-11-05 12:14:47,639 got_text_target(UTF8_STRING, 8, "b'tes'")
2019-11-05 12:14:47,639 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'tes'))")
2019-11-05 12:14:47,640 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'tes'")
2019-11-05 12:14:47,640 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:3)
2019-11-05 12:14:47,640 send_clipboard(..) elapsed=137.82, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323, 5799827.734172219, 5799827.752217333, 5799827.768446144, 5799827.783940641], maxlen=90)
2019-11-05 12:14:47,640 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3aec', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860485'}>)
2019-11-05 12:14:47,641 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3aec', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860485'}>)
2019-11-05 12:14:47,641 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,653 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3b01', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860499', 'selection_timestamp': '1504860490'}>)
2019-11-05 12:14:47,653 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3b01', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860499', 'selection_timestamp': '1504860490'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,653 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a5f0>, 0) owned=False, have-token=False
2019-11-05 12:14:47,653 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,656 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3b07', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860501'}>)
2019-11-05 12:14:47,656 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3b07', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860501'}>)
2019-11-05 12:14:47,656 PRIMARY-UTF8_STRING='test' (UTF8_STRING : 8)
2019-11-05 12:14:47,657 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,657 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a5f0>('UTF8_STRING', 8, '"b\'test\'"'), time=0
2019-11-05 12:14:47,657 got_text_target(UTF8_STRING, 8, "b'test'")
2019-11-05 12:14:47,657 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'test'))")
2019-11-05 12:14:47,657 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'test'")
2019-11-05 12:14:47,657 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:4)
2019-11-05 12:14:47,657 send_clipboard(..) elapsed=137.83, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323, 5799827.734172219, 5799827.752217333, 5799827.768446144, 5799827.783940641, 5799827.801525466], maxlen=90)
2019-11-05 12:14:47,658 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3b0c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860503'}>)
2019-11-05 12:14:47,658 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3b0c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860503'}>)
2019-11-05 12:14:47,659 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,670 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3b21', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860517', 'selection_timestamp': '1504860508'}>)
2019-11-05 12:14:47,670 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3b21', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860517', 'selection_timestamp': '1504860508'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,670 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a290>, 0) owned=False, have-token=False
2019-11-05 12:14:47,670 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,672 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3b27', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860517'}>)
2019-11-05 12:14:47,672 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3b27', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860517'}>)
2019-11-05 12:14:47,673 PRIMARY-UTF8_STRING='test' (UTF8_STRING : 8)
2019-11-05 12:14:47,673 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,673 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a290>('UTF8_STRING', 8, '"b\'test\'"'), time=0
2019-11-05 12:14:47,673 got_text_target(UTF8_STRING, 8, "b'test'")
2019-11-05 12:14:47,673 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'test'))")
2019-11-05 12:14:47,673 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'test'")
2019-11-05 12:14:47,673 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:4)
2019-11-05 12:14:47,673 send_clipboard(..) elapsed=137.83, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323, 5799827.734172219, 5799827.752217333, 5799827.768446144, 5799827.783940641, 5799827.801525466, 5799827.817619056], maxlen=90)
2019-11-05 12:14:47,674 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3b2c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860519'}>)
2019-11-05 12:14:47,674 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3b2c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860519'}>)
2019-11-05 12:14:47,674 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,686 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3b41', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860533', 'selection_timestamp': '1504860524'}>)
2019-11-05 12:14:47,686 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3b41', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860533', 'selection_timestamp': '1504860524'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,686 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a170>, 0) owned=False, have-token=False
2019-11-05 12:14:47,687 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,688 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3b47', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860534'}>)
2019-11-05 12:14:47,689 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3b47', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860534'}>)
2019-11-05 12:14:47,689 PRIMARY-UTF8_STRING='test' (UTF8_STRING : 8)
2019-11-05 12:14:47,689 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,689 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a170>('UTF8_STRING', 8, '"b\'test\'"'), time=0
2019-11-05 12:14:47,689 got_text_target(UTF8_STRING, 8, "b'test'")
2019-11-05 12:14:47,689 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'test'))")
2019-11-05 12:14:47,689 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'test'")
2019-11-05 12:14:47,689 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:4)
2019-11-05 12:14:47,690 send_clipboard(..) elapsed=137.82, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323, 5799827.734172219, 5799827.752217333, 5799827.768446144, 5799827.783940641, 5799827.801525466, 5799827.817619056, 5799827.833770741], maxlen=90)
2019-11-05 12:14:47,690 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3b4c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860535'}>)
2019-11-05 12:14:47,690 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3b4c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860535'}>)
2019-11-05 12:14:47,691 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,703 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3b61', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860550', 'selection_timestamp': '1504860540'}>)
2019-11-05 12:14:47,703 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3b61', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860550', 'selection_timestamp': '1504860540'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,703 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f605c9e0>, 0) owned=False, have-token=False
2019-11-05 12:14:47,703 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,705 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3b67', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860550'}>)
2019-11-05 12:14:47,705 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3b67', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860550'}>)
2019-11-05 12:14:47,706 PRIMARY-UTF8_STRING='test' (UTF8_STRING : 8)
2019-11-05 12:14:47,706 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,706 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f605c9e0>('UTF8_STRING', 8, '"b\'test\'"'), time=0
2019-11-05 12:14:47,706 got_text_target(UTF8_STRING, 8, "b'test'")
2019-11-05 12:14:47,706 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'test'))")
2019-11-05 12:14:47,706 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'test'")
2019-11-05 12:14:47,706 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:4)
2019-11-05 12:14:47,706 send_clipboard(..) elapsed=137.83, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323, 5799827.734172219, 5799827.752217333, 5799827.768446144, 5799827.783940641, 5799827.801525466, 5799827.817619056, 5799827.833770741, 5799827.850450852], maxlen=90)
2019-11-05 12:14:47,707 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3b6c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860552'}>)
2019-11-05 12:14:47,707 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3b6c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860552'}>)
2019-11-05 12:14:47,707 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,720 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3b81', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860567', 'selection_timestamp': '1504860557'}>)
2019-11-05 12:14:47,720 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3b81', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860567', 'selection_timestamp': '1504860557'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,720 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a4d0>, 0) owned=False, have-token=False
2019-11-05 12:14:47,720 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,722 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3b87', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860567'}>)
2019-11-05 12:14:47,722 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3b87', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860567'}>)
2019-11-05 12:14:47,723 PRIMARY-UTF8_STRING='test' (UTF8_STRING : 8)
2019-11-05 12:14:47,723 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,723 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a4d0>('UTF8_STRING', 8, '"b\'test\'"'), time=0
2019-11-05 12:14:47,723 got_text_target(UTF8_STRING, 8, "b'test'")
2019-11-05 12:14:47,723 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'test'))")
2019-11-05 12:14:47,723 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'test'")
2019-11-05 12:14:47,723 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:4)
2019-11-05 12:14:47,723 send_clipboard(..) elapsed=137.82, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323, 5799827.734172219, 5799827.752217333, 5799827.768446144, 5799827.783940641, 5799827.801525466, 5799827.817619056, 5799827.833770741, 5799827.850450852, 5799827.867439656], maxlen=90)
2019-11-05 12:14:47,724 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3b8c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860569'}>)
2019-11-05 12:14:47,724 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3b8c', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860569'}>)
2019-11-05 12:14:47,724 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,737 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3ba1', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860584', 'selection_timestamp': '1504860574'}>)
2019-11-05 12:14:47,737 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3ba1', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860584', 'selection_timestamp': '1504860574'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,737 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a290>, 0) owned=False, have-token=False
2019-11-05 12:14:47,737 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,739 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3ba7', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860584'}>)
2019-11-05 12:14:47,739 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3ba7', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860584'}>)
2019-11-05 12:14:47,739 PRIMARY-UTF8_STRING='test3' (UTF8_STRING : 8)
2019-11-05 12:14:47,739 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,740 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a290>('UTF8_STRING', 8, '"b\'test3\'"'), time=0
2019-11-05 12:14:47,740 got_text_target(UTF8_STRING, 8, "b'test3'")
2019-11-05 12:14:47,740 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'test3'))")
2019-11-05 12:14:47,740 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'test3'")
2019-11-05 12:14:47,740 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:5)
2019-11-05 12:14:47,740 send_clipboard(..) elapsed=137.83, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323, 5799827.734172219, 5799827.752217333, 5799827.768446144, 5799827.783940641, 5799827.801525466, 5799827.817619056, 5799827.833770741, 5799827.850450852, 5799827.867439656, 5799827.884227154], maxlen=90)
2019-11-05 12:14:47,741 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3bac', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860586'}>)
2019-11-05 12:14:47,741 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3bac', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860586'}>)
2019-11-05 12:14:47,741 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,752 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3bc1', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860599', 'selection_timestamp': '1504860591'}>)
2019-11-05 12:14:47,753 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3bc1', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860599', 'selection_timestamp': '1504860591'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,753 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a170>, 0) owned=False, have-token=False
2019-11-05 12:14:47,753 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,755 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3bc7', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860600'}>)
2019-11-05 12:14:47,755 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3bc7', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860600'}>)
2019-11-05 12:14:47,755 PRIMARY-UTF8_STRING='test3' (UTF8_STRING : 8)
2019-11-05 12:14:47,755 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,755 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a170>('UTF8_STRING', 8, '"b\'test3\'"'), time=0
2019-11-05 12:14:47,756 got_text_target(UTF8_STRING, 8, "b'test3'")
2019-11-05 12:14:47,756 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'test3'))")
2019-11-05 12:14:47,756 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'test3'")
2019-11-05 12:14:47,756 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:5)
2019-11-05 12:14:47,756 send_clipboard(..) elapsed=137.75, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323, 5799827.734172219, 5799827.752217333, 5799827.768446144, 5799827.783940641, 5799827.801525466, 5799827.817619056, 5799827.833770741, 5799827.850450852, 5799827.867439656, 5799827.884227154, 5799827.900184075], maxlen=90)
2019-11-05 12:14:47,757 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3bcc', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860602'}>)
2019-11-05 12:14:47,757 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3bcc', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860602'}>)
2019-11-05 12:14:47,757 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,770 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3be1', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860617', 'selection_timestamp': '1504860607'}>)
2019-11-05 12:14:47,770 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3be1', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860617', 'selection_timestamp': '1504860607'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,770 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f605c680>, 0) owned=False, have-token=False
2019-11-05 12:14:47,770 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,772 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3be7', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860617'}>)
2019-11-05 12:14:47,772 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3be7', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860617'}>)
2019-11-05 12:14:47,772 PRIMARY-UTF8_STRING='test3' (UTF8_STRING : 8)
2019-11-05 12:14:47,773 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,773 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f605c680>('UTF8_STRING', 8, '"b\'test3\'"'), time=0
2019-11-05 12:14:47,773 got_text_target(UTF8_STRING, 8, "b'test3'")
2019-11-05 12:14:47,773 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'test3'))")
2019-11-05 12:14:47,773 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'test3'")
2019-11-05 12:14:47,773 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:5)
2019-11-05 12:14:47,773 send_clipboard(..) elapsed=137.75, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323, 5799827.734172219, 5799827.752217333, 5799827.768446144, 5799827.783940641, 5799827.801525466, 5799827.817619056, 5799827.833770741, 5799827.850450852, 5799827.867439656, 5799827.884227154, 5799827.900184075, 5799827.917356927], maxlen=90)
2019-11-05 12:14:47,774 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3bec', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860619'}>)
2019-11-05 12:14:47,774 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3bec', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860619'}>)
2019-11-05 12:14:47,774 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,787 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3bfa', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860634', 'selection_timestamp': '1504860634'}>)
2019-11-05 12:14:47,788 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3bfa', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860634', 'selection_timestamp': '1504860634'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,788 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a680>, 0) owned=False, have-token=False
2019-11-05 12:14:47,788 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,790 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c01', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860635'}>)
2019-11-05 12:14:47,790 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c01', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860635'}>)
2019-11-05 12:14:47,790 PRIMARY-UTF8_STRING='test3' (UTF8_STRING : 8)
2019-11-05 12:14:47,790 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,791 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a680>('UTF8_STRING', 8, '"b\'test3\'"'), time=0
2019-11-05 12:14:47,791 got_text_target(UTF8_STRING, 8, "b'test3'")
2019-11-05 12:14:47,791 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'test3'))")
2019-11-05 12:14:47,791 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'test3'")
2019-11-05 12:14:47,791 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:5)
2019-11-05 12:14:47,791 send_clipboard(..) elapsed=137.74, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323, 5799827.734172219, 5799827.752217333, 5799827.768446144, 5799827.783940641, 5799827.801525466, 5799827.817619056, 5799827.833770741, 5799827.850450852, 5799827.867439656, 5799827.884227154, 5799827.900184075, 5799827.917356927, 5799827.935254904], maxlen=90)
2019-11-05 12:14:47,792 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c06', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860637'}>)
2019-11-05 12:14:47,792 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c06', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860637'}>)
2019-11-05 12:14:47,792 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,803 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3c15', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860650', 'selection_timestamp': '1504860641'}>)
2019-11-05 12:14:47,803 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3c15', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860650', 'selection_timestamp': '1504860641'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,803 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a170>, 0) owned=False, have-token=False
2019-11-05 12:14:47,804 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,805 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c1b', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860651'}>)
2019-11-05 12:14:47,805 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c1b', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860651'}>)
2019-11-05 12:14:47,806 PRIMARY-UTF8_STRING='test3' (UTF8_STRING : 8)
2019-11-05 12:14:47,806 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,806 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a170>('UTF8_STRING', 8, '"b\'test3\'"'), time=0
2019-11-05 12:14:47,806 got_text_target(UTF8_STRING, 8, "b'test3'")
2019-11-05 12:14:47,806 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'test3'))")
2019-11-05 12:14:47,806 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'test3'")
2019-11-05 12:14:47,806 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:5)
2019-11-05 12:14:47,806 send_clipboard(..) elapsed=137.75, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323, 5799827.734172219, 5799827.752217333, 5799827.768446144, 5799827.783940641, 5799827.801525466, 5799827.817619056, 5799827.833770741, 5799827.850450852, 5799827.867439656, 5799827.884227154, 5799827.900184075, 5799827.917356927, 5799827.935254904, 5799827.950651963], maxlen=90)
2019-11-05 12:14:47,807 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c20', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860652'}>)
2019-11-05 12:14:47,807 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c20', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860652'}>)
2019-11-05 12:14:47,807 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,819 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3c35', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860666', 'selection_timestamp': '1504860656'}>)
2019-11-05 12:14:47,819 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3c35', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860666', 'selection_timestamp': '1504860656'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,820 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a3b0>, 0) owned=False, have-token=False
2019-11-05 12:14:47,820 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,822 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c3b', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860667'}>)
2019-11-05 12:14:47,822 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c3b', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860667'}>)
2019-11-05 12:14:47,822 PRIMARY-UTF8_STRING='test3' (UTF8_STRING : 8)
2019-11-05 12:14:47,822 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,822 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a3b0>('UTF8_STRING', 8, '"b\'test3\'"'), time=0
2019-11-05 12:14:47,822 got_text_target(UTF8_STRING, 8, "b'test3'")
2019-11-05 12:14:47,823 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'test3'))")
2019-11-05 12:14:47,823 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'test3'")
2019-11-05 12:14:47,823 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:5)
2019-11-05 12:14:47,823 send_clipboard(..) elapsed=137.37, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323, 5799827.734172219, 5799827.752217333, 5799827.768446144, 5799827.783940641, 5799827.801525466, 5799827.817619056, 5799827.833770741, 5799827.850450852, 5799827.867439656, 5799827.884227154, 5799827.900184075, 5799827.917356927, 5799827.935254904, 5799827.950651963, 5799827.966992852], maxlen=90)
2019-11-05 12:14:47,823 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c40', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860669'}>)
2019-11-05 12:14:47,824 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c40', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860669'}>)
2019-11-05 12:14:47,824 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,845 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3c4e', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860691', 'selection_timestamp': '1504860691'}>)
2019-11-05 12:14:47,845 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3c4e', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860691', 'selection_timestamp': '1504860691'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,845 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a680>, 0) owned=False, have-token=False
2019-11-05 12:14:47,846 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,849 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c55', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860693'}>)
2019-11-05 12:14:47,850 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c55', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860693'}>)
2019-11-05 12:14:47,850 PRIMARY-UTF8_STRING='test3' (UTF8_STRING : 8)
2019-11-05 12:14:47,850 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,850 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a680>('UTF8_STRING', 8, '"b\'test3\'"'), time=0
2019-11-05 12:14:47,851 got_text_target(UTF8_STRING, 8, "b'test3'")
2019-11-05 12:14:47,851 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'test3'))")
2019-11-05 12:14:47,851 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'test3'")
2019-11-05 12:14:47,851 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:5)
2019-11-05 12:14:47,851 send_clipboard(..) elapsed=137.40, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323, 5799827.734172219, 5799827.752217333, 5799827.768446144, 5799827.783940641, 5799827.801525466, 5799827.817619056, 5799827.833770741, 5799827.850450852, 5799827.867439656, 5799827.884227154, 5799827.900184075, 5799827.917356927, 5799827.935254904, 5799827.950651963, 5799827.966992852, 5799827.995153606], maxlen=90)
2019-11-05 12:14:47,852 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c5a', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860696'}>)
2019-11-05 12:14:47,852 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c5a', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860696'}>)
2019-11-05 12:14:47,852 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,855 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3c63', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860701', 'selection_timestamp': '1504860701'}>)
2019-11-05 12:14:47,855 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3c63', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860701', 'selection_timestamp': '1504860701'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,855 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a680>, 0) owned=False, have-token=False
2019-11-05 12:14:47,855 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,856 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c6a', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860702'}>)
2019-11-05 12:14:47,856 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c6a', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860702'}>)
2019-11-05 12:14:47,857 PRIMARY-UTF8_STRING='test3' (UTF8_STRING : 8)
2019-11-05 12:14:47,857 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,857 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a680>('UTF8_STRING', 8, '"b\'test3\'"'), time=0
2019-11-05 12:14:47,857 got_text_target(UTF8_STRING, 8, "b'test3'")
2019-11-05 12:14:47,857 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'test3'))")
2019-11-05 12:14:47,857 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'test3'")
2019-11-05 12:14:47,857 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:5)
2019-11-05 12:14:47,857 send_clipboard(..) elapsed=133.92, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323, 5799827.734172219, 5799827.752217333, 5799827.768446144, 5799827.783940641, 5799827.801525466, 5799827.817619056, 5799827.833770741, 5799827.850450852, 5799827.867439656, 5799827.884227154, 5799827.900184075, 5799827.917356927, 5799827.935254904, 5799827.950651963, 5799827.966992852, 5799827.995153606, 5799828.001617547], maxlen=90)
2019-11-05 12:14:47,861 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c6f', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860703'}>)
2019-11-05 12:14:47,861 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c6f', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860703'}>)
2019-11-05 12:14:47,861 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,917 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3c7c', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860762', 'selection_timestamp': '1504860761'}>)
2019-11-05 12:14:47,917 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3c7c', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860762', 'selection_timestamp': '1504860761'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,917 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f605c9e0>, 0) owned=False, have-token=False
2019-11-05 12:14:47,918 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,921 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3c8a', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860765', 'selection_timestamp': '1504860762'}>)
2019-11-05 12:14:47,921 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3c8a', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860765', 'selection_timestamp': '1504860762'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,921 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a3b0>, 0) owned=False, have-token=False
2019-11-05 12:14:47,921 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,922 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c8a', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860765'}>)
2019-11-05 12:14:47,922 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c8a', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860765'}>)
2019-11-05 12:14:47,922 PRIMARY-UTF8_STRING='test3' (UTF8_STRING : 8)
2019-11-05 12:14:47,922 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,922 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f605c9e0>('UTF8_STRING', 8, '"b\'test3\'"'), time=0
2019-11-05 12:14:47,922 got_text_target(UTF8_STRING, 8, "b'test3'")
2019-11-05 12:14:47,922 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'test3'))")
2019-11-05 12:14:47,923 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'test3'")
2019-11-05 12:14:47,923 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:5)
2019-11-05 12:14:47,923 send_clipboard(..) elapsed=77.54, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323, 5799827.734172219, 5799827.752217333, 5799827.768446144, 5799827.783940641, 5799827.801525466, 5799827.817619056, 5799827.833770741, 5799827.850450852, 5799827.867439656, 5799827.884227154, 5799827.900184075, 5799827.917356927, 5799827.935254904, 5799827.950651963, 5799827.966992852, 5799827.995153606, 5799828.001617547, 5799828.066961195], maxlen=90)
2019-11-05 12:14:47,923 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a3b0>('UTF8_STRING', 8, '"b\'test3\'"'), time=0
2019-11-05 12:14:47,923 got_text_target(UTF8_STRING, 8, "b'test3'")
2019-11-05 12:14:47,923 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'test3'))")
2019-11-05 12:14:47,924 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'test3'")
2019-11-05 12:14:47,924 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:5)
2019-11-05 12:14:47,924 send_clipboard(..) elapsed=61.36, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323, 5799827.734172219, 5799827.752217333, 5799827.768446144, 5799827.783940641, 5799827.801525466, 5799827.817619056, 5799827.833770741, 5799827.850450852, 5799827.867439656, 5799827.884227154, 5799827.900184075, 5799827.917356927, 5799827.935254904, 5799827.950651963, 5799827.966992852, 5799827.995153606, 5799828.001617547, 5799828.066961195, 5799828.067971684], maxlen=90)
2019-11-05 12:14:47,924 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c92', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860768'}>)
2019-11-05 12:14:47,925 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c92', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860768'}>)
2019-11-05 12:14:47,925 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,925 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c95', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860769'}>)
2019-11-05 12:14:47,925 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3c95', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860769'}>)
2019-11-05 12:14:47,926 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:47,933 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3cad', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860780', 'selection_timestamp': '1504860773'}>)
2019-11-05 12:14:47,933 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3cad', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504860780', 'selection_timestamp': '1504860773'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:47,933 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f605ca70>, 0) owned=False, have-token=False
2019-11-05 12:14:47,934 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:47,935 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3cb3', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860781'}>)
2019-11-05 12:14:47,935 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3cb3', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860781'}>)
2019-11-05 12:14:47,936 PRIMARY-UTF8_STRING='test3' (UTF8_STRING : 8)
2019-11-05 12:14:47,936 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:47,936 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f605ca70>('UTF8_STRING', 8, '"b\'test3\'"'), time=0
2019-11-05 12:14:47,936 got_text_target(UTF8_STRING, 8, "b'test3'")
2019-11-05 12:14:47,936 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'test3'))")
2019-11-05 12:14:47,936 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'test3'")
2019-11-05 12:14:47,936 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:5)
2019-11-05 12:14:47,936 send_clipboard(..) elapsed=0.51, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323, 5799827.734172219, 5799827.752217333, 5799827.768446144, 5799827.783940641, 5799827.801525466, 5799827.817619056, 5799827.833770741, 5799827.850450852, 5799827.867439656, 5799827.884227154, 5799827.900184075, 5799827.917356927, 5799827.935254904, 5799827.950651963, 5799827.966992852, 5799827.995153606, 5799828.001617547, 5799828.066961195, 5799828.067971684, 5799828.080660701], maxlen=90)
2019-11-05 12:14:47,937 Warning: more than 30 clipboard requests per second!
2019-11-05 12:14:47,937 30 events in the last 3 seconds: [5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323, 5799827.734172219, 5799827.752217333, 5799827.768446144, 5799827.783940641, 5799827.801525466, 5799827.817619056, 5799827.833770741, 5799827.850450852, 5799827.867439656, 5799827.884227154, 5799827.900184075, 5799827.917356927, 5799827.935254904, 5799827.950651963, 5799827.966992852, 5799827.995153606, 5799828.001617547, 5799828.066961195, 5799828.067971684, 5799828.080660701]
2019-11-05 12:14:47,937 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3cb8', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860782'}>)
2019-11-05 12:14:47,937 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3cb8', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504860782'}>)
2019-11-05 12:14:47,937 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:14:48,191 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3cc9', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504861037', 'selection_timestamp': '1504861037'}>)
2019-11-05 12:14:48,191 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0x3cc9', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1504861037', 'selection_timestamp': '1504861037'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:14:48,191 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a4d0>, 0) owned=False, have-token=False
2019-11-05 12:14:48,191 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:14:48,194 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3cd8', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504861039'}>)
2019-11-05 12:14:48,195 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3cd8', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504861039'}>)
2019-11-05 12:14:48,195 PRIMARY-UTF8_STRING='test3' (UTF8_STRING : 8)
2019-11-05 12:14:48,195 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:14:48,195 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f600a4d0>('UTF8_STRING', 8, '"b\'test3\'"'), time=0
2019-11-05 12:14:48,195 got_text_target(UTF8_STRING, 8, "b'test3'")
2019-11-05 12:14:48,196 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain'), ('UTF8_STRING', 'UTF8_STRING', 8, b'test3'))")
2019-11-05 12:14:48,196 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'test3'")
2019-11-05 12:14:48,196 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:5)
2019-11-05 12:14:48,196 send_clipboard(..) elapsed=0.75, clipboard_stats=deque([5799636.798991944, 5799647.883471079, 5799665.285702066, 5799689.405273507, 5799689.419546129, 5799689.429970322, 5799689.448064103, 5799689.46340493, 5799689.497919482, 5799689.513858218, 5799689.532620726, 5799689.548452487, 5799689.565037104, 5799689.602017358, 5799689.61825719, 5799689.635447756, 5799689.650337151, 5799689.681003906, 5799689.684622832, 5799689.700699185, 5799689.717987183, 5799689.735107064, 5799689.751696034, 5799689.767819987, 5799689.784582419, 5799689.801266884, 5799689.858087953, 5799689.874924485, 5799689.892520256, 5799689.908649136, 5799689.925303101, 5799689.942352501, 5799689.959064963, 5799689.975157622, 5799689.99178733, 5799690.015417691, 5799690.024673784, 5799690.043866642, 5799690.057774331, 5799690.14978236, 5799690.164002229, 5799690.199372669, 5799690.205115665, 5799690.592043502, 5799690.597572247, 5799694.07664805, 5799750.529867839, 5799766.704930857, 5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323, 5799827.734172219, 5799827.752217333, 5799827.768446144, 5799827.783940641, 5799827.801525466, 5799827.817619056, 5799827.833770741, 5799827.850450852, 5799827.867439656, 5799827.884227154, 5799827.900184075, 5799827.917356927, 5799827.935254904, 5799827.950651963, 5799827.966992852, 5799827.995153606, 5799828.001617547, 5799828.066961195, 5799828.067971684, 5799828.080660701, 5799828.340070702], maxlen=90)
2019-11-05 12:14:48,196 Warning: more than 30 clipboard requests per second!
2019-11-05 12:14:48,196 31 events in the last 3 seconds: [5799827.572912906, 5799827.58578712, 5799827.601339177, 5799827.617215204, 5799827.633403169, 5799827.653059015, 5799827.667266407, 5799827.684003257, 5799827.703173146, 5799827.717618323, 5799827.734172219, 5799827.752217333, 5799827.768446144, 5799827.783940641, 5799827.801525466, 5799827.817619056, 5799827.833770741, 5799827.850450852, 5799827.867439656, 5799827.884227154, 5799827.900184075, 5799827.917356927, 5799827.935254904, 5799827.950651963, 5799827.966992852, 5799827.995153606, 5799828.001617547, 5799828.066961195, 5799828.067971684, 5799828.080660701, 5799828.340070702]
2019-11-05 12:14:48,197 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3ce4', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504861041'}>)
2019-11-05 12:14:48,197 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0x3ce4', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1504861041'}>)
2019-11-05 12:14:48,197 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type

And then... to make things truly mystifying... I started trying to copy/paste longer strings, to see if I could figure out anything about the impact of the more than 30 requests! message, and I copied a line from the server-side gedit consisting of: test5 test6 test3 UTF8 test1 test3 test5, which seemed to be clearly reflected in the logs... but when I pasted it locally, I got (with the leading spaces) test1 test3 test5.
The logs (near the end of the copy event) showed:

2019-11-05 12:31:32,834 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0xaecd', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1505865680', 'selection_timestamp': '1505865680'}>)
2019-11-05 12:31:32,834 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0xaecd', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'PRIMARY', 'timestamp': '1505865680', 'selection_timestamp': '1505865680'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:31:32,834 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f6c39560>, 0) owned=False, have-token=False
2019-11-05 12:31:32,835 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'PRIMARY-UTF8_STRING'
2019-11-05 12:31:32,835 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0xaed3', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1505865682'}>)
2019-11-05 12:31:32,835 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0xaed3', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1505865682'}>)
2019-11-05 12:31:32,836 PRIMARY-UTF8_STRING='test5 test6  test3   UTF8   test1  test3  test5' (UTF8_STRING : 8)
2019-11-05 12:31:32,836 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:31:32,836 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f6c39560>('UTF8_STRING', 8, '"b\'test5 test6  test3   UTF8   test1  test3  test5\'"'), time=0
2019-11-05 12:31:32,836 got_text_target(UTF8_STRING, 8, "b'test5 test6  test3   UTF8   test1  test3  test5'")
2019-11-05 12:31:32,837 _send_clipboard_token_handler(X11ClipboardProxy(PRIMARY), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain' .. t5 test6  test3   UTF8   test1  test3  test5'))")
2019-11-05 12:31:32,837 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'test5 test6  test3   UTF8   test1  test3  test5'")
2019-11-05 12:31:32,837 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:47)
2019-11-05 12:31:32,837 send_clipboard(..) elapsed=0.89, clipboard_stats=deque([5800767.422446365, 5800767.438574257, 5800767.49638443, 5800767.497771122, 5800768.010850032, 5800769.355120065, 5800789.515197107, 5800798.577681078, 5800831.197755775, 5800831.210885748, 5800831.228902797, 5800831.245026318, 5800831.263226457, 5800831.278686966, 5800831.293888195, 5800831.315859706, 5800831.327458534, 5800831.34467002, 5800831.360924662, 5800831.416693373, 5800831.417767052, 5800831.447915697, 5800831.480654878, 5800831.499477345, 5800831.513653541, 5800831.535342211, 5800831.536325978, 5800831.547924988, 5800831.56465186, 5800831.58526537, 5800831.585910443, 5800831.59830934, 5800831.63447726, 5800831.650428917, 5800831.712189214, 5800831.713584994, 5800831.724016595, 5800831.746489415, 5800831.757379975, 5800831.775337825, 5800831.791579851, 5800831.808046931, 5800831.824837584, 5800831.843562851, 5800831.844487662, 5800831.874431411, 5800831.904418962, 5800831.905391279, 5800831.924233213, 5800831.925159444, 5800831.941057979, 5800831.958306335, 5800831.972217701, 5800832.013169662, 5800832.014419488, 5800832.025646899, 5800832.041401853, 5800832.059282506, 5800832.060071574, 5800832.074530539, 5800832.091113997, 5800832.108642222, 5800832.152083456, 5800832.152896334, 5800832.16779665, 5800832.184762674, 5800832.201274238, 5800832.217419326, 5800832.235907175, 5800832.285271786, 5800832.301913411, 5800832.321668505, 5800832.334794976, 5800832.354635673, 5800832.370214622, 5800832.385727822, 5800832.402862713, 5800832.444588872, 5800832.460498705, 5800832.478254788, 5800832.492907369, 5800832.511165032, 5800832.525623856, 5800832.542080347, 5800832.576299126, 5800832.577746197, 5800832.592770754, 5800832.66965918, 5800832.967562822, 5800832.981259961], maxlen=90)
2019-11-05 12:31:32,837 Warning: more than 30 clipboard requests per second!
2019-11-05 12:31:32,837 82 events in the last 3 seconds: [5800831.197755775, 5800831.210885748, 5800831.228902797, 5800831.245026318, 5800831.263226457, 5800831.278686966, 5800831.293888195, 5800831.315859706, 5800831.327458534, 5800831.34467002, 5800831.360924662, 5800831.416693373, 5800831.417767052, 5800831.447915697, 5800831.480654878, 5800831.499477345, 5800831.513653541, 5800831.535342211, 5800831.536325978, 5800831.547924988, 5800831.56465186, 5800831.58526537, 5800831.585910443, 5800831.59830934, 5800831.63447726, 5800831.650428917, 5800831.712189214, 5800831.713584994, 5800831.724016595, 5800831.746489415, 5800831.757379975, 5800831.775337825, 5800831.791579851, 5800831.808046931, 5800831.824837584, 5800831.843562851, 5800831.844487662, 5800831.874431411, 5800831.904418962, 5800831.905391279, 5800831.924233213, 5800831.925159444, 5800831.941057979, 5800831.958306335, 5800831.972217701, 5800832.013169662, 5800832.014419488, 5800832.025646899, 5800832.041401853, 5800832.059282506, 5800832.060071574, 5800832.074530539, 5800832.091113997, 5800832.108642222, 5800832.152083456, 5800832.152896334, 5800832.16779665, 5800832.184762674, 5800832.201274238, 5800832.217419326, 5800832.235907175, 5800832.285271786, 5800832.301913411, 5800832.321668505, 5800832.334794976, 5800832.354635673, 5800832.370214622, 5800832.385727822, 5800832.402862713, 5800832.444588872, 5800832.460498705, 5800832.478254788, 5800832.492907369, 5800832.511165032, 5800832.525623856, 5800832.542080347, 5800832.576299126, 5800832.577746197, 5800832.592770754, 5800832.66965918, 5800832.967562822, 5800832.981259961]
2019-11-05 12:31:32,838 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0xaed6', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1505865682'}>)
2019-11-05 12:31:32,838 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0xaed6', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'PRIMARY-UTF8_STRING', 'time': '1505865682'}>)
2019-11-05 12:31:32,838 do_property_notify() property 'PRIMARY-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:31:38,197 do_xpra_selection_clear(<X11:SelectionClear {'send_event': '0', 'serial': '0xb0f3', 'delivered_to': '0x400008', 'window': '0x400008', 'selection': 'CLIPBOARD', 'time': '1505871043'}>)
2019-11-05 12:31:38,197 do_xpra_selection_clear(<X11:SelectionClear {'send_event': '0', 'serial': '0xb0f3', 'delivered_to': '0x400008', 'window': '0x400008', 'selection': 'CLIPBOARD', 'time': '1505871043'}>) was owned=True
2019-11-05 12:31:38,198 do_owner_changed()
2019-11-05 12:31:38,198 do_xpra_xfixes_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0xb0f3', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'CLIPBOARD', 'timestamp': '1505871044', 'selection_timestamp': '1505871043'}>)
2019-11-05 12:31:38,198 do_selection_notify_event(<X11:XFSelectionNotify {'send_event': '0', 'serial': '0xb0f3', 'delivered_to': '0x400008', 'window': '0x400008', 'subtype': '0', 'owner': '0xa00124', 'selection': 'CLIPBOARD', 'timestamp': '1505871044', 'selection_timestamp': '1505871043'}>) owned=False, was False, enabled=True, can-send=True
2019-11-05 12:31:38,198 get_contents(TARGETS, <function ClipboardProxy.schedule_emit_token.<locals>.got_targets at 0x7f42f6c39440>, 0) owned=False, have-token=True
2019-11-05 12:31:38,199 requesting local XConvertSelection from 'gedit' as 'TARGETS' into 'CLIPBOARD-TARGETS'
2019-11-05 12:31:38,199 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0xb0f9', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'CLIPBOARD-TARGETS', 'time': '1505871046'}>)
2019-11-05 12:31:38,199 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0xb0f9', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'CLIPBOARD-TARGETS', 'time': '1505871046'}>)
2019-11-05 12:31:38,200 CLIPBOARD-TARGETS='´\x01\x00\x00\x00\x00\x00\x00¬\x01\x00\x00\x00\x00\x00\x00µ\x01\x00\x00\x00\x00\x00\x00»\x01\x00\x00\x00\x00\x00\x00°\x01\x00\x00\x00\x00\x00\x00¶\x01\x00\x00\x00\x00\x00\x00ç\x00\x00\x00\x00\x00\x00\x00·\x01\x00\x00\x00\x00\x00\x00¸\x01\x00\x00\x00\x00\x00\x00\x1f\x00\x00\x00\x00\x00\x00\x00²\x01\x00\x00\x00\x00\x00\x00¯\x01\x00\x00\x00\x00\x00\x00' (ATOM : 32)
2019-11-05 12:31:38,200 filter_data(TARGETS, ATOM, 32, ..)
2019-11-05 12:31:38,200 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.got_targets at 0x7f42f6c39440>('ATOM', 32, '"b\'\\\\xb4\\\\x01\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\xac .. 0\\\\x00\\\\xaf\\\\x01\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\'"'), time=0
2019-11-05 12:31:38,201 got_targets: ('TIMESTAMP', 'TARGETS', 'MULTIPLE', 'SAVE_TARGETS', 'GTK_TEXT_BUFFER_CONTENTS', 'application/x-gtk-text-buffer-rich-text', 'UTF8_STRING', 'COMPOUND_TEXT', 'TEXT', 'STRING', 'text/plain;charset=utf-8', 'text/plain')
2019-11-05 12:31:38,201 get_contents(UTF8_STRING, <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f6c395f0>, 0) owned=False, have-token=True
2019-11-05 12:31:38,201 requesting local XConvertSelection from 'gedit' as 'UTF8_STRING' into 'CLIPBOARD-UTF8_STRING'
2019-11-05 12:31:38,202 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0xb0fc', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'CLIPBOARD-TARGETS', 'time': '1505871046'}>)
2019-11-05 12:31:38,202 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0xb0fc', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'CLIPBOARD-TARGETS', 'time': '1505871046'}>)
2019-11-05 12:31:38,202 do_property_notify() property 'CLIPBOARD-TARGETS' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type
2019-11-05 12:31:38,203 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0xb109', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'CLIPBOARD-UTF8_STRING', 'time': '1505871048'}>)
2019-11-05 12:31:38,203 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0xb109', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'CLIPBOARD-UTF8_STRING', 'time': '1505871048'}>)
2019-11-05 12:31:38,203 CLIPBOARD-UTF8_STRING='test5 test6  test3   UTF8   test1  test3  test5' (UTF8_STRING : 8)
2019-11-05 12:31:38,203 filter_data(UTF8_STRING, UTF8_STRING, 8, ..)
2019-11-05 12:31:38,203 got_local_contents: calling <function ClipboardProxy.schedule_emit_token.<locals>.with_targets.<locals>.got_text_target at 0x7f42f6c395f0>('UTF8_STRING', 8, '"b\'test5 test6  test3   UTF8   test1  test3  test5\'"'), time=0
2019-11-05 12:31:38,204 got_text_target(UTF8_STRING, 8, "b'test5 test6  test3   UTF8   test1  test3  test5'")
2019-11-05 12:31:38,204 _send_clipboard_token_handler(X11ClipboardProxy(CLIPBOARD), "(('UTF8_STRING', 'TEXT', 'STRING', 'text/plain' .. t5 test6  test3   UTF8   test1  test3  test5'))")
2019-11-05 12:31:38,204 _munge_raw_selection_to_wire('UTF8_STRING', 'UTF8_STRING', 8, "'test5 test6  test3   UTF8   test1  test3  test5'")
2019-11-05 12:31:38,204 _do_munge_raw_selection_to_wire(UTF8_STRING, UTF8_STRING, 8, <class 'bytes'>:47)
2019-11-05 12:31:38,204 send_clipboard(..) elapsed=6.24, clipboard_stats=deque([5800767.438574257, 5800767.49638443, 5800767.497771122, 5800768.010850032, 5800769.355120065, 5800789.515197107, 5800798.577681078, 5800831.197755775, 5800831.210885748, 5800831.228902797, 5800831.245026318, 5800831.263226457, 5800831.278686966, 5800831.293888195, 5800831.315859706, 5800831.327458534, 5800831.34467002, 5800831.360924662, 5800831.416693373, 5800831.417767052, 5800831.447915697, 5800831.480654878, 5800831.499477345, 5800831.513653541, 5800831.535342211, 5800831.536325978, 5800831.547924988, 5800831.56465186, 5800831.58526537, 5800831.585910443, 5800831.59830934, 5800831.63447726, 5800831.650428917, 5800831.712189214, 5800831.713584994, 5800831.724016595, 5800831.746489415, 5800831.757379975, 5800831.775337825, 5800831.791579851, 5800831.808046931, 5800831.824837584, 5800831.843562851, 5800831.844487662, 5800831.874431411, 5800831.904418962, 5800831.905391279, 5800831.924233213, 5800831.925159444, 5800831.941057979, 5800831.958306335, 5800831.972217701, 5800832.013169662, 5800832.014419488, 5800832.025646899, 5800832.041401853, 5800832.059282506, 5800832.060071574, 5800832.074530539, 5800832.091113997, 5800832.108642222, 5800832.152083456, 5800832.152896334, 5800832.16779665, 5800832.184762674, 5800832.201274238, 5800832.217419326, 5800832.235907175, 5800832.285271786, 5800832.301913411, 5800832.321668505, 5800832.334794976, 5800832.354635673, 5800832.370214622, 5800832.385727822, 5800832.402862713, 5800832.444588872, 5800832.460498705, 5800832.478254788, 5800832.492907369, 5800832.511165032, 5800832.525623856, 5800832.542080347, 5800832.576299126, 5800832.577746197, 5800832.592770754, 5800832.66965918, 5800832.967562822, 5800832.981259961, 5800838.348301645], maxlen=90)
2019-11-05 12:31:38,205 do_xpra_property_notify_event(<X11:PropertyNotify {'send_event': '0', 'serial': '0xb110', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'CLIPBOARD-UTF8_STRING', 'time': '1505871050'}>)
2019-11-05 12:31:38,205 do_property_notify(<X11:PropertyNotify {'send_event': '0', 'serial': '0xb110', 'delivered_to': '0x400008', 'window': '0x400008', 'atom': 'CLIPBOARD-UTF8_STRING', 'time': '1505871050'}>)
2019-11-05 12:31:38,205 do_property_notify() property 'CLIPBOARD-UTF8_STRING' is gone?
Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/clipboard.py", line 578, in do_property_notify
    dtype, dformat = X11Window.GetWindowPropertyType(self.xid, event.atom, True)
  File "xpra/x11/bindings/window_bindings.pyx", line 1173, in xpra.x11.bindings.window_bindings.X11WindowBindingsInstance.GetWindowPropertyType
xpra.x11.bindings.window_bindings.BadPropertyType: None type

I assume the use of the test 'UTF8' didn't break the sync of the text before and including that? I'm not sure I'm seeing any other clear pattern though.

Version 0, edited 9 months ago by alas (next)

comment:15 Changed 9 months ago by Antoine Martin

Status: newassigned

It looks like I'm still very easily able to trigger the more than 30 requests per second error when testing with gedit

As of v3, this is no longer an error. It is still logged as a warning but it will no longer disable the clipboard when it happens since the new code is immune to the crashes that the old code was susceptible to.

it looks like there are some tracebacks
xpra.x11.bindings.window_bindings.BadPropertyType: None type

Those are not actual problems, that's just the way we detect that the property has been deleted.

When I then try to highlight and copy that text that was just pasted though, I get this... and from this point on the clipboard server side doesn't seem to be able to sync with anything.

Worked for me, will try again.

but when I pasted it locally, I got (with the leading spaces) test1 test3 test5.

Did you select it from right to left?
Maybe it had the previous selection instead of the whole one?

comment:16 Changed 9 months ago by alas

Ok, restested a bit - but I'm still using 3.0.2-r24387.

Launched again with same command.

xpra start :13 --no-daemon --bind-tcp=0.0.0.0:1234 --bind-ws=0.0.0.0:1237 --start-child=xterm --start-child=xterm --exit-with-children -d clipboard

Some additional testing to see what happened to the rest of the copied string - I find that I'm able to reproduce it irregularly, but I think it is me. In some cases it seems like an attempted highlighting that keeps the left-click depressed as the mouse is dragged off the edge of the html5 client browser canvass doesn't register an un-click, which seems to cause some erratic behavior when using the control-c to copy near the edge of the browser canvas... intermittently. (No logs to reflect this, but I noticed that after one attempt to paste in a local application, when the mouse was hovered back over the session canvas it highlighted as I moved the mouse as if the left-click button were depressed, despite it's not being.)

I am able to consistently trigger a mis-sync when copying something in session, then copying something locally, then pasting those contents back to the session - whether I use the right-click menu or the control-c (again on server-side gedit... I think I see this same behavior only with right-click paste events in server-side chromium-browser or firefox tabs, like a translate page).

The logs for the copy and paste events server side become long, so I'll attach a txt file with the repro steps and the logs as they are gleaned - but I'll provide the repro steps here for greater ease.

  • Launch a session.
  • Launch gedit from an xterm (obviously could start with it as a start-child instead).
  • Type something into the gedit application server-side ('test7' for example).
  • Paste the copied text into local application (Word for example) - works as expected.
  • Copy something else locally (logs from the xpra session, whatever).
  • Paste this new content into the gedit application server-side - instead of the expected content, the content copied last server-side is pasted ('test7' for example).
  • Paste again in the gedit application window without triggering any new clipboard events in the meantime (pretend you were probably just hallucinating what just happened) - this time the content copied locally pastes into the gedit application server-side.

I'm not sure if the initial copy server-side (to 'initialize' the server clipboard with some contents) is necessary or not to trigger this behavior (it wouldn't surprise me, but didn't get time to try that permutation).

I have no idea what I might have done previously to result in the server-side clipboard stopping all sync'ing with the local clipboard changes... so I'll assume I didn't and the above behaviors were just having a particularly good time at my expense.

comment:17 Changed 9 months ago by Antoine Martin

Owner: changed from Antoine Martin to alas
Status: assignednew

As usual, great catch!

it seems like an attempted highlighting that keeps the left-click depressed as the mouse is dragged off the edge of the html5 client browser canvas doesn't register an un-click, which seems to cause some erratic behavior when using the control-c to copy near the edge of the browser canvas...

Yes, that will do it. Not sure there's much we can do about this one either.
This is similar to the problems we used to have with people Alt-Tabbing away, with the Alt key remaining pressed after they switched back. Except we can query the state of the modifier keys to get things back in sync, but we can't query the buttons state (we only get button events), especially not with an html5 client.

Paste this new content into the gedit application server-side - instead of the expected content, the content copied last server-side is pasted

That worked for me (as usual!), until I used a click on the browser's top bar or used Alt-Tab to switch to the browser window instead of clicking within the browser window.. The click was polling the clipboard and syncing it. FYI: I mostly use win7 through virtualbox, so unless I lock the VM with the "host key", Alt-Tab switches away from the VM, not to another window within that VM window.

And now the fixes:

  • r24411 now polls the clipboard whenever we get a keyboard event - google chrome seems to allow that
  • r24412 now also polls the clipboard whenever we get a right click

You can test this trivial fix by hand (just one line added, the other one is just a comment) or use the latest beta 4.0 builds I've just uploaded.
I will test some more with other browsers (IE, Firefox, etc) before backporting this to the v3.0.x branch.

comment:18 Changed 9 months ago by alas

Owner: changed from alas to Antoine Martin

Had to test with 4.0-r24112 (couldn't find an html5/js/Client.js in the 3.0.2 for r24411 and the line numbers for the index.html in r24412 didn't match the 3.0.2 so I couldn't figure out where to move the code bit to...) - but the fix does the trick.

I'm still seeing the issue with the right-click pasting session-side not picking up the newly copied content locally (until after a keyboard shortcut paste, which sync's the new content)... but otherwise the clipboard stands up to all my tricks.

I'll assign this back to you to either close or re-assign back for a final re-testing when backported to the 3.x.

Last edited 9 months ago by Antoine Martin (previous) (diff)

comment:19 Changed 9 months ago by Antoine Martin

Status: newassigned

Had to test with 4.0-r24112

I am going to assume that this is a typo and that you mean r24412 instead, right? (r24112 is old!)
That's fine for testing.

couldn't find an html5/js/Client.js in the 3.0.2 for r24411 and the line numbers for the index.html in r24412 didn't match the 3.0.2

I see, the patch context if really not helpful at all here.
FYI: not sure if that's what you did here, you can always update xpra-html5 from the beta repo (manually downloading the RPM or telling dnf to use the beta repo only for upgrading this particular package) and you can keep the rest of your system on the stable branch. (but if you do that, you have to remember that the package is newer because the 3.0.x stable updates won't upgrade it... or you can tell dnf to downgrade it when you're done testing)
Another option, which is not normally that difficult, is to browse the trunk source to figure out the patch context: browser/xpra/trunk/src/html5. But in this particular case, the whole context had been moved too (converted to a new function), so not that easy.
That's all academic now really since I have merged the patches: r24419.
So now you can also just download the latest version of the files you need from the 3.0.x branch: browser/xpra/tags/v3.0.x/src/html5.

I'm still seeing the issue with the right-click pasting session-side not picking up the newly copied content locally

Tried with a Linux client and it worked every time... as usual.
But there is something wrong when using a win32 client, that's because the target is not supported by the html5 client:

clipboard request for CLIPBOARD from window 0x80012f: 'gedit', target=TARGETS, prop=GDK_SELECTION
using existing TARGETS value as response: ('UTF8_STRING', 'text/plain')
clipboard request for CLIPBOARD from window 0x80012f: 'gedit', target=GTK_TEXT_BUFFER_CONTENTS, prop=GDK_SELECTION
client is requesting an unknown target: 'GTK_TEXT_BUFFER_CONTENTS'
 valid targets: UTF8_STRING, text/plain
 dropping the request
client is requesting an unknown target: 'text/plain;charset=utf-8'
 valid targets: UTF8_STRING, text/plain
 dropping the request

The first one, we have every right to drop, GTK_TEXT_BUFFER_CONTENTS must be some kind of secret GTK magic handshake thing.
But text/plain;charset=utf-8, although it is also invalid since we never claimed to be able to handle it, we could return the UTF8_STRING value.
Will fix.

Last edited 9 months ago by Antoine Martin (previous) (diff)

comment:20 Changed 9 months ago by Antoine Martin

Owner: changed from Antoine Martin to alas
Status: assignednew

So, as of r24421 (server side fix) we now translate 'text/plain;charset=utf-8' to 'UTF8_STRING' or 'text/plain' automagically. More can be added easily.

As for the:

the right-click pasting session-side not picking up the newly copied content locally

are you certain that you are connecting to an https server? And that you accepted to grant clipboard access?
I am only seeing this problem when I connect over http, otherwise it works reliably, even on win32.
Over https, with "clipboard" debugging enabled in the html5 client, the server's debug log shows:

clipboard polling using function () { [native code] }
clipboard paste event, text= foo
clipboard clipboard contents have changed
clipboard sending clipboard token with data: foo
clipboard polling using function () { [native code] }
clipboard polling using function () { [native code] }

Whereas when connecting over http:

clipboard polling: no data available

(log message format has been improved in r24422)

Backports to v3: r24423 + r24424.
With these known caveats, I think we should close this ticket: it's as good as can be expected given the javascript / browser limitations we have to work with.

I will upload beta builds later.

See also related ticket: #2452.

Last edited 9 months ago by Antoine Martin (previous) (diff)

comment:21 Changed 9 months ago by alas

Resolution: fixed
Status: newclosed

Ahh... guilty as charged - I had forgotten and was indeed using an http connection.

Re-acquainting myself with the server flags, and process for generation of a non-localhost self-signed cert... I launched a new session of 4.0-r24425 with the new command of:

xpra start :13 --no-daemon --bind-tcp=0.0.0.0:1234 --bind-ws=0.0.0.0:1237 --bind-wss=0.0.0.0:1239 --ssl-cert=/etc/xpra/148-ssl.pem  --start-child=xterm --start-child=xterm --exit-with-children -d clipboard

Then imported the self-signed cert locally (and even set an \Windows\System32\drivers\etc\hosts entry with DNS)... and still had to click through the warning (Chrome and Firefox both).

Then I (finally) got the popup asking to give permission to access the clipboard.

Once that was done - sure enough even the right-click paste locally from a copy server-side is working consistently and on the first try.

All that said (in case I need to work through the process again for some reason) - I agree. Closing this. (I'll roll back to 3.0.2 to test backports, and re-open if I find something... though I don't expect to.)

Changed 9 months ago by Antoine Martin

moving to an attachment: multiple clipboard sync events

Note: See TracTickets for help on using tickets.