| Summary: | [EditorMgmt] No part listener notifications sent for some views | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Jared Burns <jared_burns> |
| Component: | UI | Assignee: | Stefan Xenos <sxenos> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | major | ||
| Priority: | P2 | CC: | douglas.pollock, for.work.things, n.a.edgar |
| Version: | 3.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Jared Burns
Nick, Not sure if this is the right assignment for this PR. Please reassign if necessary. Tod, could you have a look at this please? I have just added the following printlns to NavigationHistory and it works
fine for me so there appears to be no current problem.
Please reopen if you have a steps for it
public void partOpened(IWorkbenchPart part) {
System.out.println("Opened");}
public void partClosed(IWorkbenchPart part) {
System.out.println("Closed");
After testing a bit more, I see that notifications are sent for some views, but not others. If I open and close the Display view, I get notifications at both ends. If I open and close the Package Exporer, I get none. I closed all views, then opened them all at once with a breakpoint in my partOpened method. The method was correctly called for all views except the Console, Navigator, Outline, Tasks, Hierarchy, and Package Explorer. No notifications are sent for these views. Do you get the same behaviour if you do this in a new window with only one perspective opened? Sounds like it may be related to views being shared across perspectives in the same window. |