This only affects some apps (vbox, ensight,..) and only when started from another app (a terminal is the easiest way):
VirtualBoxfrom xterm (or other terminal app) - the vbox window has the correct vbox icon
self.raw_window_iconsso 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