| Summary: | [WorkbenchParts] Outline view disposal order different on Windows and Mac Cocoa | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Peter Friese <peter> |
| Component: | UI | Assignee: | Paul Webster <pwebster> |
| Status: | RESOLVED WORKSFORME | QA Contact: | Paul Webster <pwebster> |
| Severity: | critical | ||
| Priority: | P3 | CC: | bokowski, cocoakevin, dan.stefanescu, daniel_megert, john.arthorne, ob1.eclipse, sebastian.zarnekow |
| Version: | 3.5 | ||
| Target Milestone: | 3.5.1 | ||
| Hardware: | Macintosh | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
|
Description
Peter Friese
Removing target milestone - this should only be set by a committer on this component. Should be investigated for 3.5.1. Oleg, could you please see if you can reproduce this behaviour on your Mac? PW (In reply to comment #0) > On Windows, Page.dispose() will be called just after closing the outline view > (which is the expected behaviour), while on Mac OS Cocoa, Page.dispose() will > only be invoked after the corresponding editor has been closed. That's not what I see. Both Mac and Windows behave the same way for me; but keep in mind that Page.dispose() is triggered when the reference counter for that view goes to 0. What you probably see is produced by the difference in the number of open perspectives. Consider two cases: A. Only one perspective is open: Java. There is only one reference to the outline view; the Page#dispose() is called when the Outline view is closed in Java perspective. B. Two perspectives are open: Java and Resources. Both perspectives contain Outline view. Closing Outline view in the Java perspective reduces its reference count from 2 to 1; the Oultine still stays open - unless you close it in the Resources perspective too. (Note that for this angle, Perspective is considered "open" if you have ever opened it in the past; you can see the list of them in the perspective chooser toolbar.) Please re-open with the specific one perspective usecase if it still occurs. PW |