Bug 385367 - [Contributions] Toolbar items do not appear in expected location.
Summary: [Contributions] Toolbar items do not appear in expected location.
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: ui
Depends on:
Blocks:
 
Reported: 2012-07-18 01:45 EDT by Saket Sinha CLA
Modified: 2020-02-25 13:56 EST (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 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.