> This is similar to the fix for the same problem on the Deskbar > preferences window and for the same reason: the window gets hidden > when you close it, not actually deleted so we need to do a bit more > work to get the window to behave with workspaces. Hiding instead of > deleting the window allows us to remember where you were when you > closed the window, what tab you were on, what control had focus, etc. Wouldn't it be simpler to archive the window state into a BMessage and restore it from there when reopening ? It would save us some useless running threads, and avoid recreating the window open/close logic in every window we want to behave that way. I think you should be able to archive the window without much extra code, since most of the interface kit already implements BArchivable properly. -- Adrien.