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

Bug 318425

Summary: [Perspectives] Empty Submenus combo in Customize Perspective Dialog
Product: [Eclipse Project] Platform Reporter: vidhvan <vidhvan.g>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: RESOLVED WORKSFORME QA Contact: Paul Webster <pwebster>
Severity: normal    
Priority: P3 CC: remy.suen, vidhvan.g
Version: 3.5.2   
Target Milestone: 3.7   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
stack trace none

Description vidhvan CLA 2010-06-30 05:13:20 EDT
Build Identifier: 

In a custom RCP application, there are no entries in the submenus combo(Shortcuts Tab) of customize perspective dialog.

Reproducible: Always

Steps to Reproduce:
1. Create an RCP Application using "RCP Application with a view" template.
2. In ApplicationWorkbenchWindowAdvisor-> preWindowOpen(), add the line "configurer.setShowPerspectiveBar(true);" 
3. Launch the application and open customize perspective dialog(right-click on Perspective button-> Customize).
4. In the shortcuts tab, there are no entries in the submenus combo, pressing "Ok" button throws NPE and the dialog won't close.
Comment 1 vidhvan CLA 2010-06-30 05:18:59 EDT
Created attachment 173072 [details]
stack trace
Comment 2 vidhvan CLA 2010-06-30 05:20:01 EDT
Build id: 20100218-1602
Comment 3 Remy Suen CLA 2010-06-30 05:30:05 EDT
I'm pretty sure we fixed this. See bug 284558.

Please try with 3.6.
http://download.eclipse.org/eclipse/downloads/drops/R-3.6-201006080911/index.php
Comment 4 vidhvan CLA 2010-06-30 05:37:43 EDT
Tested with "Build id: 20100617-1415". NPE is gone but the entries are still missing.
Comment 5 Paul Webster CLA 2011-01-31 08:49:18 EST
(In reply to comment #4)
> Tested with "Build id: 20100617-1415". NPE is gone but the entries are still
> missing.

Which entries are missing?  That combo will only contain entries if the corresponding menu actions are instantiated in the ActionBarAdvisor.

PW