Bug 232511 - [Perspectives] Some opening perspectives can't be found by IPerspectiveRegistry.getPerspectives()
Summary: [Perspectives] Some opening perspectives can't be found by IPerspectiveRegist...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: PC All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-16 10:51 EDT by Meng Xin Zhu CLA
Modified: 2019-09-06 16:17 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Meng Xin Zhu CLA 2008-05-16 10:51:38 EDT
Build ID: 3.4M6

Steps To Reproduce:
1.define my perspective in plugin.xml, such as named 'my.perspective'
2.launch IDE
3.open my perspective by IWorkbenchWindow.openPage("my.perspective", null) or IWorkbenchPage.setPerspective(myPers1)
4. clone my perspective by IPerspectiveRegistry.clonePerspective("my.perspective", "my.perspective:" + new Random().nextInt(), "Label"), then open it
5. call IWorkbenchPage.getOpenPerspectives() and IPerspectiveRegistry.getPerspectives(), all of my perspectives can be found in those list
6. Exit IDE
7. Relaunch the IDE with keeping workspace
8. call IWorkbenchPage.getOpenPerspectives(), all of my perspectives are in that list. It's right. 
However call IPerspectiveRegistry.getPerspectives(), you can't find the restored perspectives, which are cloned by IPerspectiveRegistry.clonePerspective


More information:
Comment 1 Raji Akella CLA 2008-11-18 15:35:40 EST
Requesting status.


Comment 2 Paul Webster CLA 2008-11-19 07:16:28 EST
I can move this into my 3.5 bucket.

PW
Comment 3 Paul Webster CLA 2009-03-02 11:41:39 EST
Updated as per http://wiki.eclipse.org/Platform_UI/Bug_Triage
PW
Comment 4 Eclipse Webmaster CLA 2019-09-06 16:17:26 EDT
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.