Gajim doesn't shut down completely, GUI is lost, new instance fights for login with old
This is under Windows XP with latest service packs.
This happens only occassionally, but when it does people on your roster get very annoyed and have to shut down their client or turn off their sound until you fix the problem.
When you go into suspend gajim looses its 'gui connection'. The GUI gets lost, but gajim continues to run in the background. When you come out of suspend and see that gajim isn't running, you run another instance of the program. The two programs then are running, but only one is showing in the system tray.
This shouldn't happen, either the old process should die, or the new process shouldn't be allowed to run. If the new process isn't allowed to run, then the old process should reinitialize its GUI elements and re-load into the system tray.
This same problem has been seen when a person logs off, and re-logs in the next day. This is slightly different than the suspend circumstance since in this case, gajim isn't terminating when a user logs off, and its server connection process continues to run in the background. When the user logs back in, a new instance of gajim is run and the problem begins. This has been seen resolved by re-logging out with both instances running, and re-logging in. Somehow the processes are killed on the second attempt at logging out.
The old process continues to attempt its connection to the server, but so does the new process. They get and loose their connection to the server by taking it away from the other. This happens on approximately on a 5 to 10 second interval.