Main window should be displayed when all connection windows are closed.
virl opened this issue · comments
Virl commented
Reproduction:
- Open Main window, create and open connection.
- Connection window opens with DB collections, etc.
- Close Main window.
- Close connection window - app quits.
Instead on step 4 Main window must be auto-reopened as per Mountain Lion/Lion UI design guidelines - apps in OSX generally closed when user presses cmd+q, not when all of their windows are closed (for example: XCode, Mail, Safari).
Virl commented
Also, if main window is closed and there is no other windows - it must reopen by clicking on app's dock icon.
Joseph Price commented
Not closing the application on window closing is easy. It's actually being overridden to give the current behavior:
-(BOOL) applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication
{
return YES;
}
Making the expected window show up when the application becomes active might be a little more involved.
Jérôme Lebel commented
It should be fixed with 3.0.7. I let you close this issue if it works for you.