Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Duplicate toolbars(Toolbars duplicated after upgrading from 3.x to 4.x compatibility layer.)
Duplicate toolbars [message #1790239] Thu, 07 June 2018 06:48 Go to next message
Eclipse UserFriend
Just been through the process of upgrading our platform to the latest eclipse version from 3.x to 4.x with compatibility mode enabled (there's no pure e4 stuff).

Custom toolbars that were declared within the Extensions org.eclipse.ui.menu are duplicated when rendered. So if there was 1 toolbar containing 3 buttons declared in the extentions, there are now 2 toolbars containing 3 buttons rendered on screen. The duplication is sequential; So one full set of all toolbars, followed by all the duplicates.

Any thoughts on what could cause this duplication when migrating?

[Updated on: Thu, 07 June 2018 08:18] by Moderator

Re: Duplicate toolbars [message #1790252 is a reply to message #1790239] Thu, 07 June 2018 09:37 Go to previous messageGo to next message
Eclipse UserFriend
It sounds like bug 413492, which can occur when the app is killed or crashes. You can run with `-clearPersistedData` to throw away the .../.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi file.
Re: Duplicate toolbars [message #1843751 is a reply to message #1790252] Mon, 16 August 2021 13:34 Go to previous message
Eclipse UserFriend
Thanks for the quick reply and link to information!

I tried the -clearPersistedData, I may have done it incorrectly, but ultimately I wiped the runtime workspace I was working in and now things are back to normal.

For a second there my entire concept of EMF came crashing down all around me. Yikes! :-)
Previous Topic:dirty parts sometimes not shown for saving on application closing
Next Topic:How to use maven with RCP applications
Goto Forum:
  


Current Time: Wed Jun 18 15:15:54 EDT 2025

Powered by FUDForum. Page generated in 0.04125 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top