Bug 385367

Summary: [Contributions] Toolbar items do not appear in expected location.
Product: [Eclipse Project] Platform Reporter: Saket Sinha <saket.rokx>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: curtis.windatt.public, saket.rokx, walderik
Version: 4.2Keywords: ui
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Saket Sinha CLA 2012-07-18 01:45:37 EDT
Build Identifier: Version: Juno Release Build id: 20120606-2254

In my RCP application I am trying to add toolbar and commands into the same using:
org.eclipse.ui.menus -> menuContribution ->URI:toolbar:org.eclipse.ui.main.toolbar
and further adding commands to the same in the usual method.

The problem is that the toolbar items are getting displayed BUT on the Right end of the screen after Quick Access textbox (which I beleive has been hard coded in Juno and till now there is no option to hide it)

The expected location is the normal left end, Where the elements of coolbar appear or even the toolbar options of eclipse are present.


Note: There is another way of adding toolbar items using ActionBarAdvisor.java file inside fillCoolBar(){..} function, Using this the icons get displayed in the expected location place i.e. Left end of the toolbar.

Reproducible: Always

Steps to Reproduce:
1.Create a Plugin Develoment project, with option of RCP selected as YES.

2.Open the manifest file, in that open Extensions Tab

3.-Add the extension org.eclipse.ui.menus
  -Add New menu contribution
  -URI: org.eclipse.ui.main.toolbar
  -Add any command to it, It will appear on the right end after quick access.
Comment 1 Curtis Windatt CLA 2012-07-18 10:54:09 EDT
Moving to platform UI as this is a problem with the workbench toolbar ordering.

Couldn't find a duplicate report, though Bug 368588 could be related.
Comment 2 Eclipse Genie CLA 2020-02-25 13:56:23 EST
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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.

--
The automated Eclipse Genie.