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

Bug 15488

Summary: EditorActionBars and switching between perspectives problem
Product: [Eclipse Project] Platform Reporter: Lynne Kues <lynne_kues>
Component: UIAssignee: Randy Giffen <Randy_Giffen>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P2    
Version: 2.0   
Target Milestone: 2.0 M6   
Hardware: Other   
OS: other   
Whiteboard:

Description Lynne Kues CLA 2002-05-07 19:37:47 EDT
Build 0502 with UI dev stream.

1. Close all perspectives.
2. Open a CVS Repository perspective.  Hide editors.
3. Open a Resources perspective.  Open a *.java file.
4. Go to CVS Repository perspective by clicking on the perspective in the 
shortcut bar.
5. Go to Resources perspective by clicking on the perspective in the shortcut 
bar.  The editor action bar is there.
6. Repeat Step 4.
7. Repeat Step 5.  The editor action bar is not there.

In order to maintain the current position of the EditorActionBar when CoolBars 
are used, the cool item (i.e., for the EditorActionBar) must be on the coolbar 
when the layout is restored.  Otherwise, its position will be lost.  Why isn't 
the editor action bar present in Step 7?
Comment 1 Randy Giffen CLA 2002-05-08 11:54:18 EDT
This is as a result of there being no active part in the previous (CVS) 
perspective.
Added code to consider this case.
Comment 2 Randy Giffen CLA 2002-05-15 09:49:28 EDT
Verified in 20020514
Comment 3 Randy Giffen CLA 2002-05-15 13:56:49 EDT
fixed