| Summary: | [Compatibility] Unable to close the SDK when all perspectives are closed | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Susan McCourt <susan> | ||||
| Component: | UI | Assignee: | Remy Suen <remy.suen> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Remy Suen <remy.suen> | ||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | remy.suen | ||||
| Version: | 1.0 | ||||||
| Target Milestone: | 1.0 RC2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Susan McCourt
Here's a scenario. I'm sure I can simplify it further. - fresh workspace - open CVS perspective - add a repo connection - close CVS persp from switcher - close Java persp from switcher - part stacks go empty, followed by a total cleanup. - when I reopen the CVS persp, the connection is still there - check out the org.eclipse.e4.core.commands bundle - back to Java perspective - Team->Synchronize, yes to go to team perspective - Window->Close all - get a widget disposed error - now I can't switch workspaces or otherwise close the SDK, getting NPE's This is on XP using I20100713-2016 pointing at a new workspace. 1. Window > Open Perspective > Debug 2. Window > Close Perspective 3. Window > Close Perspective 4. Window > Open Perspective > Other... > Java 5. Note that a new workbench window has been spawned. 6. Alt+F4 on the new one. 7. Alt+F4 on the original, confirm and so on. 8. You will not be able to close this due to some NPE loop. variation of above,
Win7, I20100713-2016 pointing at a new workspace.
1. Window > Open Perspective > Debug
>>2. Window > Close All perspectives
>>3. Note you get one large empty part stack rather than having no stacks
4. Window > Open Perspective > Other... > Java
5. Note that a new workbench window has been spawned.
6. Alt+F4 on the new one.
7. Alt+F4 on the original, confirm and so on.
8. You will not be able to close this due to some NPE loop.
Even more basic. Win7, I20100713-2016 pointing at a new workspace. 1. Window->Close all perspectives 2. Note you get one large empty part stack rather than having no stacks 3. You cannot exit the workbench There are a lot of problems here. The main one being that closing the last perspective completely hoses the workbench window. The steps in comment 4 are now working. The extra workbench window spawning problem is now under investigation. Comment 2 now works. Comment 3 is a little iffy. I've seen it get into the NPE case and if it doesn't, the editor area is still there despite the fact that (all) the perspectives have been closed. |