cogent icon indicating copy to clipboard operation
cogent copied to clipboard

Closing Gide should close all open windows

Open rohrlich opened this issue 5 years ago • 4 comments

rohrlich avatar Mar 04 '20 17:03 rohrlich

I noticed that prefs windows aren't closed either so the problem is not specific to debug.

rohrlich avatar Mar 04 '20 18:03 rohrlich

Yeah we don't really track "main window" vs. "other windows" wrt closing -- need to add some logic to check if when window closes it is the last "main window" and then it should close all the others.

rcoreilly avatar Mar 05 '20 12:03 rcoreilly

If you just want to quit completely, you should use Quit, not close window.

But I think the key issue here is that you want to close all the "associated" windows for a given main window, while keeping other gide project windows open.

To do that we need to have some way of tracking the original parent through the window creation process which is definitely not in place currently.

rcoreilly avatar Mar 21 '20 09:03 rcoreilly

Yes, I think that analysis is good. I often have multiple projects open so having the associated close when I close the main window would be just right.

rohrlich avatar Mar 21 '20 16:03 rohrlich