I have a floating window that the user can open under the main window - it's a help panel that the user can leave open and move out of the way - pretty much standard stuff. The main window is of the frame type document.
It works all fine if the user minimises the main window, AND the floating window is open, then both windows will minimise. On maximising the app, both windows are displayed as they should be.
However, IF the floating (help) window is then closed, and the main app window is minimised, then maximised again, the floating (help) window will never open again (when the button is pressed to activate it) until the app is restarted.
The floating window is activated by a canvas button:
On minimising the Main Window, I have in the App, Event Handler, Deactivate:
Apart from that, I'm not sure what other code is relevant.