Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 370681

Summary: View disappears in one perspective if it is a fast view in another
Product: [Eclipse Project] Platform Reporter: Ken Wenzel <kenwenzel>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: emoffatt, pwebster
Version: 4.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Ken Wenzel CLA 2012-02-06 03:04:17 EST
Build Identifier: Version: 3.7.1 Build id: M20110909-1335

A view that is shared by two perspectives is defined as a normal view in one perspective P1 and as a fast view in another perspective P2.
When switching from P1 to P2 the fast view is disappearing.

The bug is also described in the forum thread

http://www.eclipse.org/forums/index.php/t/282503/

and a possible solution is provided.

Reproducible: Always

Steps to Reproduce:
1. Create two perspectives with a shared view.

public class P1 implements IPerspectiveFactory {
  public void createInitialLayout(IPageLayout layout) {
    layout.addView(IPageLayout.ID_OUTLINE, IPageLayout.LEFT, 0.3f,
        layout.getEditorArea());
  }
}

public class P2 implements IPerspectiveFactory {
  public void createInitialLayout(IPageLayout layout) {
    layout.addFastView(IPageLayout.ID_OUTLINE);
  }
}

2. Open P1 and afterwards P2.

3. The view disappears completely from P1 but is correctly handled as
   a fast view in P2.
Comment 1 Ken Wenzel CLA 2012-02-06 03:44:39 EST
This bug seems to be a duplicate of 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=336752
Comment 2 Paul Webster CLA 2012-02-06 08:40:40 EST
Eric?

PW
Comment 3 Lars Vogel CLA 2019-11-14 03:13:30 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.