Bug 22142 - [Coolbar] Reset Perspective and original order bug
Summary: [Coolbar] Reset Perspective and original order bug
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: Other All
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Nick Edgar CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-03 11:33 EDT by Lynne Kues CLA
Modified: 2002-08-05 11:42 EDT (History)
0 users

See Also:


Attachments
code snippet (992 bytes, text/plain)
2002-08-03 11:56 EDT, Lynne Kues CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lynne Kues CLA 2002-08-03 11:33:32 EDT
Build 20020730

1. Open a new Java Perspective.
2. Customize Perspective.  Remove External Tools and Search.
3. Customize Perspective. Add Search.  Move search up to its own row.
4. Reset Perspective.

The original cool item order is not restored.  Should be fixed for 2.0.1 - 
related to correctly remembering cool item positions.
Comment 1 Lynne Kues CLA 2002-08-03 11:55:35 EDT
Coolbar manager code assumes that when resetting the perspective, the creation 
order of items does not change, but it does if one uses Customize Perspective 
to remove and then add back an item.  Need to change CoolBarManager.setLayoutTo
(CoolBarLayout) for the case when layout == null.  Attaching code change 
snippet.
Comment 2 Lynne Kues CLA 2002-08-03 11:56:01 EDT
Created attachment 1788 [details]
code snippet
Comment 3 Lynne Kues CLA 2002-08-05 11:28:31 EDT
Released change into 2.1 stream.
Comment 4 Lynne Kues CLA 2002-08-05 11:42:23 EDT
Merged and released change into 2.0.1 stream.