Xcode 4 should not consider source viewer windows as project windows
| Originator: | amorya | ||
| Number: | rdar://10440214 | Date Originated: | 14-Nov-2011 10:52 AM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | 4.2 |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: In Xcode 4, when you double click on a source file in the sidebar it opens in a new window. This is good. However, it treats that new window as a project window, and can end up saving your project's default view settings to be a single source window with no toolbar. This is not good. Steps to Reproduce: 1. Open an Xcode project in Xcode 4.2. 2. Ensure that the toolbar is showing, the left sidebar has the files list, and that the size of the window is large. 3. Double click a source file. Observe the separate window that is opened to show the file's contents. 4. Build and run your project. Make sure the project's app is running. 5. Click close on the project window (the one with the toolbar and the sidebar) 6. Click close on the source code window. 7. Once all the windows are closed, re-open the project again. Expected Results: a) Xcode should ask you whether to stop tasks after step 5, i.e. when closing the only window that has a toolbar. b) After step 7, the project window should have toolbar and sidebar shown, and be the size you set it to in step 2. Actual Results: a) Xcode asks you whether to stop tasks after step 6 b) After step 7, the only window that opens is one the size of the small source code editing window. Notes: Conceptually, a source code editing window does not seem to be a project window. I'd be happiest if such a window didn't even have the option to show a toolbar, to avoid confusion.
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!