-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CLOSED] Mac: Brackets won't quit in subsequent sessions after using Dev Tools #5473
Comments
I'm seeing this too on 10.7. But in step 2 I don't open the unit test window, I just go straight to Debug > Show Developer Tools. |
|
N/M |
|
|
|
Doh! I forgot to rebuild. That branch does fix it if Chrome is not running, but Dev Tools fail to launch if Chrome is already running. I'll play around with it. |
Updated title to clarify that this only occurs in dev tools related workflows. |
I can also hit problem with this scenario:
So, opening Dev Tools in Chrome with default profile may not be enough to fix this problem because you can manually open Dev Tools in Chrome window with live-dev profile. |
Note that this only happens on Mac. When I try to reproduce on Windows, when Brackets is shutdown, I see a message in Chrome Dev Tools window: "Detached from Target. Remote Debugging has been terminated with reason target_closed. Please re-attach to new target". I don't see that message in Chrome window on Mac. |
|
Based on the symptoms and behavior, I believe the problem is most likely that the native app is for some reason not closing the main window. I'm not sure if this is the proper place to force quit the app on exit, but if seems to fix the problem. see (https://github.com/fungl164/brackets-shell/tree/devtools-close) |
|
Unfortunately your suggestion won't work in the case where there are unsaved documents at shutdown. Instead of prompting user to save documents, it shuts down immediately so unsaved changes are lost. |
|
|
|
Do we need to go so far as specifically opening Chrome for dev tools? Looking at the old sprint 33 code, we don't need any of the flags that we used to pass:
And in sprint 34, we certainly don't need
It seems like overkill for Only brackets devs and extension authors will use dev tools. Given that assumption, it's not a terrible experience for those targeted users to end up in the wrong browser if they happen to not use Chrome or Safari as their default browser. |
The problem comes down to how the shared workspace chooses the browser instance to open the URL arg. It basically picks the last active window, so if the LiveDev instance had the last focus, we still have the same problem. |
|
Changed this to High Priority and Sprint 34 Milestone. |
|
|
Plan B is in place, reverting the 3 pull requests related to the chrome profile changes: adobe/brackets-shell#381. Testing the build now. |
|
For Sprint 35, hopefully we get Dev Tools working in a Brackets window so we don't have to worry about this. Otherwise, we'll need to fix this bug. |
Might be too late for the party, but check out https://github.com/fungl164/brackets-shell/compare/fungl164;chrome-live-osx-2 for a possible fix. Can safely ignore https://github.com/fungl164/brackets-shell/tree/devtools-close |
Closing. |
Thursday Nov 14, 2013 at 00:56 GMT
Originally opened as adobe/brackets#5989
results:
At step 3 I'd expect my chrome dev tools to close. But they stay open
At step 5 I'd expect brackets to quit via CMD-Q or via Quit from menu
Env OSX 10.7, 10.8, 10.9
Slightly simplified steps:
Results:
Bracket won't quit
The text was updated successfully, but these errors were encountered: