| Summary: | [Compatibility] IWorkbenchWindowConfigurer's coolbar-visibility property ignored | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Meng Xin Zhu <kane.zhu> | ||||||
| Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | bsd, eclipse, kane.mx | ||||||
| Version: | 4.2 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 378835 | ||||||||
| Attachments: |
|
||||||||
|
Description
Meng Xin Zhu
Created attachment 216383 [details]
No coolbar is shown via disabling it in workbench window advisor
Created attachment 216384 [details]
coolbar is shown even if it's disable
Running the same application in Juno
There's a disconnect between the configurer and the window's coolbar and perspective bar, discovered too late for 4.2.
One possible workaround is to disable the top-trim, used to host the coolbar and perspective switcher, using something like the following in your window advisor:
public void postWindowOpen() {
WorkbenchWindow win = (WorkbenchWindow) getWindowConfigurer().getWindow();
win.getTopTrim().setToBeRendered(false);
}
You'll need to include the org.eclipse.e4.ui.model.workbench bundle.
*** This bug has been marked as a duplicate of bug 378835 *** |