Community
Participate
Working Groups
I'm trying to port an RCP application from eclipse 3.8 to 4.3. Adding the necessary elements like LegacyIDE.e4xml and default css theme the application seems to work, however after the first restart the toolbar is not visible anymore. The toolbar is visible only when clearPersistedState is set to true, which is unacceptable because it resets all customized layouts. After some more attempts I found that the toolbar is perfectly visible when running with eclipse 4.2, so it seems a regression of some kind with eclipse 4.3.
Created attachment 235249 [details] Workbench file after first run
This problem occurs in 4.2.2 too (but not in 4.2.0).
Marco / Wojciech, any chance you could attach a small example RCP app that demonstrates this ? Wojciech, thanks for testing where the issue seems to have crept in, how did you test it ?
Created attachment 235455 [details] Sample RCP application
Created attachment 235461 [details] Screenshot of the application when it is run for the first time
Created attachment 235462 [details] Screenshot of the application when it is run for the second time
Eric, I tested it using Marco's application. I attached screenshots that presents the bug. The toolbar with new, save and print buttons is not visibe when there is an entry for it in the workbench.xmi. If the entry is removed from the file, then it is visible again. I am investigating it.
Pushed http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=aad29ac0fb309642899d2e21a59ca0e43dc4197f This works but we're still trying to determine if there's a fix we can provide at a slightly deeper level...I'll mark this as fixed since it does address the specific defect scenario. We'll re-open if we want to change the solution...
Verified in I20131209-2000.