Summary: | [Contributions] Toolbar order is not restored after restart (org.eclipse.ui.menus toolbar) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Robin Stocker <robin> | ||||
Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> | ||||
Status: | NEW --- | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | emoffatt, f.andolfi, pwebster, rolf.theunissen | ||||
Version: | 4.3 | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=459231 | ||||||
Whiteboard: | |||||||
Bug Depends on: | |||||||
Bug Blocks: | 414612 | ||||||
Attachments: |
|
I guess nobody has migrated away from the deprecated actionSets extension point yet? Could this be fixed for 4.3.1? (In reply to comment #1) > I guess nobody has migrated away from the deprecated actionSets extension > point yet? Half of contributors use commands, and half still use actionSets. > Could this be fixed for 4.3.1? Probably not. My guess is it's related to the fact the ContributionRecords are removed on the disposal of the MMenu as they're re-applied on startup (similar to the IMenuService populateContributionManager(*)/releaseContributions(*)) PW *** Bug 438765 has been marked as a duplicate of this bug. *** Bug 459231 is more or less the exact opposite of this bug, toolbars are not moved to their original position on the reset of a perspective. *** Bug 569015 has been marked as a duplicate of this bug. *** |
Created attachment 234171 [details] plugin with toolbar showing the problem The position of a toolbar defined using org.eclipse.ui.menus (under main toolbar) is not persisted/restored correctly - after a restart, the position is reset. 1. Import the attached example plugin 2. Run it as an application with a new workspace 3. Notice the toolbar with a single button with a [+] icon 4. Move this toolbar to another position (e.g. 1 to the right) 5. Exit the application 6. Run it again with the same workspace Expected: The position is correctly restored Actual: The position is the same as in step 3