[Xcode] Entire project closes when closing window with Toolbar open

Originator:wirth_caesar
Number:rdar://19740396 Date Originated:06-Feb-2015
Status:Closed Resolved:
Product:Developer Tools Product Version:Xcode 6
Classification:UI/UX Reproducible:Always
 
Summary:
I often have multiple Xcode windows open when I am developing. I often hide the side bars and the Toolbar to have more space to look at code. 

Sometimes I have 1 window with a Toolbar open, and one or more without their Toolbar open. If I close the only window with a Toolbar open, it closes all the windows in that project/workspace.

Steps to Reproduce:
1. Xcode Version 6.2 (6C121) (but its been going on for a while)
2. Open some workspace
3. Command+Shift+T to open up a new window
4. Make sure one window has the Toolbar showing, and one doesn't
5. Close the window with the Toolbar showing
6. Watch in despair as your other, innocent window is also horribly killed

Expected Results:
I would hope that only the window I meant to close would close. 


Actual Results:
All the windows are closed
http://i2.kym-cdn.com/entries/icons/facebook/000/006/199/x-all-the-y.png

Version:
Xcode Version 6.2 (6C121)
Mac OS X 10.9.5 Build 13F34
Macbook Pro Retina, 15-inch, Mid 2014

Notes:
This is probably some convenience feature that someone thought was a good idea; but I don't really like it. Xcode is pretty cluttered as it is, so I try to keep things as minimal as possible, and often forget that I will close everything by closing one rogue window.

Comments

Apple Response

Apple Developer Relations 28-Feb-2015 07:37 AM

Engineering has provided the following feedback regarding this issue:

The previous implementation caused much confusion because people would reopen a workspace and not understand why they didn’t have a toolbar, because the last window they closed was opened by double-clicking a file.

Please note that if no windows have toolbars at all, the behavior remains constant. You can easily set a Behavior to hide (or show) the toolbar concurrent with many common operations.

If there are other heuristics we should consider, please let us know.

Please let us know whether the issue is resolved for you by updating your bug report.

By wirth_caesar at March 18, 2015, 9:09 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!