This only affects some apps (vbox, ensight,..) and only when started from another app (a terminal is the easiest way):
VirtualBox
from xterm (or other terminal app) - the vbox window has the correct vbox icon
I've tried:
self.raw_window_icons
so the icon would be sent with the metadata rather than after (in case it was a window setup race) - no effect
pixbuf.save("window-icon%s.png" % time.time(), "png")
I'm out of ideas!
And now I can't reproduce it anymore. But before that, the prime suspect was the group-leader code.
Can reproduce like so:
The calculator will end up with the same window icon as the xterm
It was a race, which explains why only some applications showed the problem some of the time.
Fixed in r3787
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/359