[jbosstools-issues] [JBoss JIRA] (JBIDE-16290) Bugs using SWT over GTK3

Snjezana Peco (JIRA) issues at jboss.org
Thu Dec 12 13:32:34 EST 2013


    [ https://issues.jboss.org/browse/JBIDE-16290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12930917#comment-12930917 ] 

Snjezana Peco commented on JBIDE-16290:
---------------------------------------

{quote}
JBIDE-16280 VPE/XulRunner crashes workbench
{quote}

We are using our own version of XULRunner compiled with GTK2. An application (JBDS, Eclipse, etc) can't load different versions of a library (GTK2 and GTK3, for instance).

These are possible solutions: 

- compiling XULRunner with GTK3 (the best solution in my opinion)
- removing/disabling XULRunner/VPE 
- using GTK2

{quote}
> the tests run with GTK2 on Jenkins
Where is this configured in tests?
{quote}

https://github.com/snjeza/jbosstools-central/commit/6526bfe6017112f573b79c0855cabbde219f211e

{quote}
Can you please give details about what's exactly failing in Central tests that made you set SWT_GTK3=0 
{quote}

I have already described the issue. See https://issues.jboss.org/browse/JBIDE-16282?focusedCommentId=12930558&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12930558

Disabling GTK3 solves the issue. I will check if it is possible to solve it without disabling GTK3.

Anyway, the main issue is related to XULRunner. Porting it to GTK3 isn't trivial. 
We could do the following:

- if a user starts Eclipse with GTK3, we would disable XULRunner (the VPE editor)
- if a user tries to open the VPE editor, we would warn him that the VPE editor requires GTK2 and would describe the way to run Eclipse with GTK2(export SWT_GTK3=0; ../eclipse)

                
> Bugs using SWT over GTK3
> ------------------------
>
>                 Key: JBIDE-16290
>                 URL: https://issues.jboss.org/browse/JBIDE-16290
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: target-platform
>            Reporter: Mickael Istria
>            Assignee: Snjezana Peco
>             Fix For: 4.2.x
>
>
> This ticket is meant to list the bugs related to GTK3 affecting JBDS:
> * JBIDE-16280 VPE/XulRunner crashes workbench
> * https://bugs.eclipse.org/bugs/show_bug.cgi?id=420581
> * Central tests uses SWT_GTK3=0 in its pom.
> We should make sure all SWT issues we met are reported upstream and that we provide the necessary assistance to SWT developers to make sure everything will be stable for Luna/GA.
> On Linux, most issues can be "hidden" by setting SWT_GTK3=0, but that's definitely not something we want to rely on for JBDS, as SWT over GTK2 will not be maintained in future.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list