| Summary: | [UI] Close / Reset Perspective with multiple perspectives closes all perspectives | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Eric Moffatt <emoffatt> | ||||
| Component: | UI | Assignee: | Eric Moffatt <emoffatt> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | bokowski, remy.suen | ||||
| Version: | unspecified | Flags: | remy.suen:
review+
bokowski: review+ |
||||
| Target Milestone: | 1.0 RC3 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Eric Moffatt
Created attachment 174657 [details]
Use the MPerspective stack's list of children rather than an internal collection
Also safes up the Perspective switcher by using the perspective's containing window's context to avoid cases where the perspective itself hasn't been rendered (so its context == null).
Eric, please also see bug 320320. Is this the same thing? I know I was resetting a perspective with multiple perspectives open. (In reply to comment #1) > Created an attachment (id=174657) [details] > Use the MPerspective stack's list of children rather than an internal > collection This patch looks safe to me, +1 for RC3. Patch looks good. Committed in >20100720. Applied the patch (after merging in a change for bug 320327). Verified on XP in I20100726-2152. |