We now use a single process for the launcher and the client, which means that we have to close the windows when we return to the launcher UI or they will just stay there showing the spinner since the server is no longer connected!
Problem is that closing the windows normally triggers a message to the server and we don't want that, so we have to add a "soft-close" flag to make the windows disappear (and also remove them from the client list of id_to_windows
).
r3087 implements a much more simple fix: we close the windows *after* closing the network connection during cleanup, so all the packets just go to /dev/null
Here's how to test:
^Z
the server process
At this point the client should go back to the launcher and the window should have disappeared
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/315