Xpra: Ticket #907: refactor the window attributes and signal code

As it's a bit of a mess...

In particular:

List of API calls to deal with:



Fri, 03 Jul 2015 15:40:48 GMT - Antoine Martin: status, description changed


Fri, 03 Jul 2015 16:15:34 GMT - Antoine Martin: description changed


Fri, 03 Jul 2015 16:44:41 GMT - Antoine Martin: attachment set

better patch


Sat, 04 Jul 2015 05:41:56 GMT - Antoine Martin: attachment set

much cleaner patch


Sun, 05 Jul 2015 11:32:14 GMT - Antoine Martin:

Huge changeset in r9822 - see commit message. If needed, it should be possible to revert those changes easily enough for testing.. so far.

Still TODO:


Sat, 26 Sep 2015 04:51:57 GMT - Antoine Martin:

Moving the geometry bits to #990 (the rest is in pretty good shape already)


Fri, 16 Oct 2015 08:32:35 GMT - Antoine Martin:

Note: on centos 7.x, we get tons of warnings like these:

/usr/lib64/python2.7/site-packages/gobject/__init__.py:115: Warning: Attempt to add property xpra+x11+gtk2+models+or_window+OverrideRedirectWindowModel::size-hints after class was initialised
  type_register(cls, namespace.get('__gtype_name__'))
/usr/lib64/python2.7/site-packages/gobject/__init__.py:115: Warning: Attempt to add property xpra+x11+gtk2+models+or_window+OverrideRedirectWindowModel::frame after class was initialised
  type_register(cls, namespace.get('__gtype_name__'))

Which is caused by this bug: https://bugzilla.gnome.org/show_bug.cgi?id=698614 (hopefully will be backported to centos 7.x soon).

AFAICT, it is not possible to workaround this warning with pygobject (see the two attempts at subclassing attached below).


Fri, 16 Oct 2015 08:33:46 GMT - Antoine Martin: attachment set

example triggering the centos 7 warning


Fri, 16 Oct 2015 08:34:02 GMT - Antoine Martin: attachment set

another example triggering the centos 7 warning


Wed, 28 Oct 2015 03:58:50 GMT - Antoine Martin: status changed; resolution set

Lots more work on this done as part of #990 - this will do for this release.

Will follow up in #1034


Sat, 23 Jan 2021 05:09:27 GMT - migration script:

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