Xcode4 lacks concept of main window, loses window settings on project close
| Originator: | m.hanauska | ||
| Number: | rdar://9759488 | Date Originated: | 12-Jul-2011 |
| Status: | Duplicate of 9010433 (Closed) | Resolved: | 15-Jul-2011 |
| Product: | Developer Tools | Product Version: | 4.0.2 |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: Xcode3 had the concept of a main window, you could also call it a project window. Closing this window closed all aux windows and further re-opening a project window restores this window exactly as it used to be. Xcode4 lacks support of this concept and this leads to the issue, that when you are not closing you "designated project window" as the last window of a project, you lost it and have to restore everything from scratch next time you open the project. See Steps to Reproduce and you'll get a better impression of what I really mean by that. Steps to Reproduce: 1. Create a new, empty project 2. You'll see window that shows the project navigator to the left, a source code editor to the right, and the toolbar on top. We call this one "project window". 3. Add a source code file to that project; any file will do. 4. Double click this source code file. 5. The source code file opens in a new window, which only has an editor inside by default. We call this "aux window". 6. Close the "project window"; the "aux window" is still there since Xcode4 has no concept of a main window that would close the entire project when being closed. 7. Close the "aux window"; the project is closed as a whole. 8. Re-open the project by double clicking the project file. Expected Results: I get back the "project window" or the "project window" and the "aux window". Actual Results: I only get back the "aux window", the project window is gone forever, there is no way to get it back other than "turning" the "aux window" into a project window, that means re-sizing it, make the toolbar show, make the project navigator show. That way I have lost my "aux window" forever and have to create a new one. Notes: A possible fix to this issue, other than re-adding the concept of a project window, could be a Behavior named "Project opens", which can be configured accordingly to make Xcode restore a project window the way I would like to see it each time I re-open an existing project.
Comments
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!