[jbosstools-issues] [JBoss JIRA] (JBIDE-17230) Resolve GTK and BrowserSim web engine paradox

Michelle Murray (JIRA) issues at jboss.org
Mon May 5 20:40:56 EDT 2014


     [ https://issues.jboss.org/browse/JBIDE-17230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michelle Murray updated JBIDE-17230:
------------------------------------

    Description: 
Within Window>Preferences>JBoss Tools>BrowserSim/CordovaSim, selecting GTK for BrowserSim seems to be available for Linux-based OS only.

I can choose GTK2 or GTK3.

I'm running the IDE under GTK2 (export SWT_GTK3=0) to avoid UI issues. So I select to run BrowserSim also under GTK2 - seems sensible. But when I start BrowserSim I see the error message stating 

  was:
BrowserSim can be run with 2 web engines: JavaFX or SWT WebKit.

On Mac OS X, under preferences I don't see an option to change the web engine for BrowserSim. I assume it is running with JavaFX - is that right?

On Windows?? I don't have a windows system to test.

On Linux-based OS, the web engine to use depends on the GTK with which BrowserSim is run. GTK2 = JavaFX and GTK3 = SWT WebKit. There are additional restrictions based on OS with respect to this:
* JavaFX requires Oracle JDK - this JDK is only supported by Red Hat on RHEL, not Fedora or Ubuntu so this option is pointless for the majority of Linux OS we support
* On Fedora at least I have to run the IDE with GTK2 to avoid issues (export SWT_GTK3=0); running BrowserSim with GTK3 I see at least one UI issue in the BrowserSim Preferences window

The potential paradox:
* We are advising Fedora users to run IDE under GTK2 to avoid seeing UI issues but they must run BrowserSim under GTK3 so see UI issues



> Resolve GTK and BrowserSim web engine paradox
> ---------------------------------------------
>
>                 Key: JBIDE-17230
>                 URL: https://issues.jboss.org/browse/JBIDE-17230
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: browsersim
>    Affects Versions: 4.2.0.Beta1
>            Reporter: Michelle Murray
>
> Within Window>Preferences>JBoss Tools>BrowserSim/CordovaSim, selecting GTK for BrowserSim seems to be available for Linux-based OS only.
> I can choose GTK2 or GTK3.
> I'm running the IDE under GTK2 (export SWT_GTK3=0) to avoid UI issues. So I select to run BrowserSim also under GTK2 - seems sensible. But when I start BrowserSim I see the error message stating 



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jbosstools-issues mailing list