Thanks for all your suggestions. I created a plug-in project from the
templates with an empty workspace, and it was displayed correctly. I tried
to import that same project into the main linuxtools workspace, and then
the bug occurs. After playing a bit with the target definition, I found the
setting that makes the TMF RCP ugly:

diff --git
a/lttng/org.eclipse.linuxtools.lttng.target/lttng-eStaging.target
b/lttng/org.eclipse.linuxtools.lttng.target/lttng-eStaging.target
index 0c478fd..3662dda 100644
--- a/lttng/org.eclipse.linuxtools.lttng.target/lttng-eStaging.target
+++ b/lttng/org.eclipse.linuxtools.lttng.target/lttng-eStaging.target
@@ -10,11 +10,11 @@
 <location includeAllPlatforms="false" includeConfigurePhase="false"
includeMode="planner" includeSource="true" type="InstallableUnit">
 <unit id="org.eclipse.cdt.feature.group" version="0.0.0"/>
 <unit id="org.eclipse.sdk.ide" version="0.0.0"/>
-<repository location="http://download.eclipse.org/releases/staging"/>
+<repository location="http://download.eclipse.org/releases/kepler"/>
 </location>

The staging repo seems incompatible, while kepler is OK (as suggested by
Marc-Andre).

I was not successfull at reproducing the bug only with raw SWT
CTabFolder/Item (sorry Alexander). It seems that the bug occurs from within
the workbench only.

I tried to use gtkparasite to check the widget tree. There is only one
difference for the pane widget attribute: can-focus=FALSE in the case of
the correctly displayed widget, while can-focus is TRUE when the widget is
not displayed correctly. But this is probably not the cause of the error...

Here are some screenshots:

http://secretaire.dorsal.polymtl.ca/~fgiraldeau/eclipse/bug/20140411-swt/

Thanks for all your comments.

Francis


2014-04-11 16:20 GMT-04:00 Marc-André Laperle <
marc-andre.lape...@ericsson.com>:

>  Hi Francis,
>
> In more recents versions of Eclipse Luna, that GTK version is "black
> listed" so it falls back to GTK2. If you build the RCP yourself, you should
> probably build it for Kepler to be extra safe (-Pplatform-kepler). That
> said, there are other issues with Luna + GTK3 on 12.04 and 13.10 that are
> still being worked on in SWT.
>
> Marc-André
>
>
> On 14-04-11 04:17 PM, Francis Giraldeau wrote:
>
> I just upgraded to Ubuntu 14.04, and when using the TMF RCP product,
> widgets are crippled. I had to set the environment variable SWT_GTK3=0 to
> make it work properly. This Ubuntu release is due for next week, so I guess
> that quite a few people will get the issue. Is there a definitive solution
> to this problem?
>
>  Thanks!
>
>  Francis
>
>
> _______________________________________________
> linuxtools-dev mailing 
> listlinuxtools-dev@eclipse.orghttps://dev.eclipse.org/mailman/listinfo/linuxtools-dev
>
>
>
> _______________________________________________
> linuxtools-dev mailing list
> linuxtools-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/linuxtools-dev
>
>
_______________________________________________
linuxtools-dev mailing list
linuxtools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev

Reply via email to