Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main window should be displayed when all connection windows are closed. #76

Closed
virl opened this issue Apr 26, 2013 · 3 comments
Closed

Comments

@virl
Copy link

virl commented Apr 26, 2013

Reproduction:

  1. Open Main window, create and open connection.
  2. Connection window opens with DB collections, etc.
  3. Close Main window.
  4. 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
Copy link
Author

virl commented Apr 26, 2013

Also, if main window is closed and there is no other windows - it must reopen by clicking on app's dock icon.

@joprice
Copy link

joprice commented Jan 22, 2014

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.

@jeromelebel
Copy link
Owner

It should be fixed with 3.0.7. I let you close this issue if it works for you.

@virl virl closed this as completed Nov 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants