| Summary: | Perspective bar initially does not show "open perspective" button | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Christian Brüssow <c.bruessow> | ||||
| Component: | Workbench | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | pauln | ||||
| Version: | 1.0 | ||||||
| Target Milestone: | 1.2 M5 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 259061 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
I would have placed this a greater severity. It is preventing us from moving beyond 1.1M3 This was solved with resolving bug #259061 |
Created attachment 105013 [details] Tarball of a simple eclipse project showing the behaviour described in the bug report. Hi, When using the 1.1 RC3 or RC4 my RAP application no longer shows the icon for the perspective shortcut menu in the perspective bar. It looks as there is room for the icon, but the shortcut menu is not accessible when clicking in that empty area. The same application shows the correct perspective bar (and the menu) with RAP 1.0.1. Reloading the application or changing the theme fixes the perspective bar. I have attached my sandbox project, where I can reproduce this behaviour. In short: - the perspective bar is activated with: public class ApplicationWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor { public ApplicationWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer) { super(configurer); } public ActionBarAdvisor createActionBarAdvisor(IActionBarConfigurer configurer) { return new ApplicationActionBarAdvisor(configurer); } public void preWindowOpen() { IWorkbenchWindowConfigurer configurer = getWindowConfigurer(); configurer.setTitle("RAP with Perspectives, Views and Commands"); configurer.setInitialSize(new Point(1024, 768)); configurer.setShowCoolBar(true); configurer.setShowPerspectiveBar(true); configurer.setShowStatusLine(false); } } The perspectives do add themselves with e.g.: public class OtherPerspective implements IPerspectiveFactory { public void createInitialLayout(IPageLayout layout) { String editorArea = layout.getEditorArea(); layout.setEditorAreaVisible(false); layout.setFixed(true); layout.addPerspectiveShortcut("de.cs.perspective"); layout.addPerspectiveShortcut("de.cs.otherperspective"); layout.addPerspectiveShortcut("de.cs.thirdperspective"); layout.addView(View.ID, IPageLayout.LEFT, 0.3f, editorArea); layout.addView(ViewDir.ID, IPageLayout.BOTTOM, 0.5f, editorArea); layout.addView(ViewEditor.ID, IPageLayout.RIGHT, 0.7f, editorArea); } } Greetings, Christian