Toolbar not visible with 4.3 legacy mode [message #1102958] |
Fri, 06 September 2013 04:40  |
Eclipse User |
|
|
|
Hi,
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.
Is that a known bug (haven't found anything relevant on bugzilla so far) ?
The issue seems like
https://bugs.eclipse.org/bugs/show_bug.cgi?id=398847 but it affects the
toolbar and not the menu bar (at least on Linux, not tested with
Windows) and the issue was closed as invalid. The LegacyIDE.e4xml file
comes directly from org.eclipse.platform so it should have the correct
declarations.
Regards,
Marco.
|
|
|
|
Re: Toolbar not visible with 4.3 legacy mode [message #1103309 is a reply to message #1103248] |
Fri, 06 September 2013 11:52  |
Eclipse User |
|
|
|
On 06/09/2013 16:35 Eric Moffatt ha scritto:
> Marco, presumably after the first exit there's a 'workbench.xmi' file
> created somewhere...could you look to see if there is a TrimBar with
> position 'TOP' in it. If so what are its 'toBeRendered' and 'visible'
> attibute values ? Alternatively you can open a new defect and attach
> it there.
There are "trimBars" elements with elementId
org.eclipse.ui.main.toolbar, org.eclipse.ui.trim.status,
org.eclipse.ui.trim.vertical1 and org.eclipse.ui.trim.vertical2, none of
which have a toBeRendered or visible attribute but as far as I can tell
all child elements have toBeRendered=false.
Opened a bug with the workbench.xmi file
https://bugs.eclipse.org/bugs/show_bug.cgi?id=416746
Regards,
Marco.
|
|
|
Powered by
FUDForum. Page generated in 0.07624 seconds