[jbosstools-issues] [JBoss JIRA] (JBIDE-17544) CLONE: GTK and BrowserSim web engine issue on Fedora

Vlado Pakan (JIRA) issues at jboss.org
Tue Jun 10 10:27:16 EDT 2014


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

Vlado Pakan commented on JBIDE-17544:
-------------------------------------

Tested JDK and GTK combinations with Beta2-v20140608-1040-B121 and Fedora 20 64bit

|| GTK 2 / GTK 3 || Open JDK 1.7.0_55 || Open JDK 1.8.0_05 || Oracle JDK 1.7.0_13 || Oracle JDK 1.8.0_05 ||
| GTK 2| Proper message displayed. After webkitgtk installation SWT Browser OK  / JavaFX N/A| SWT Browser OK  / JavaFX N/A | SWT Browser OK / JavaFX OK | SWT Browser OK / JavaFX OK |
| GTK 3|   SWT Browser OK  / JavaFX N/A | SWT Browser OK  / JavaFX N/A | SWT Browser OK / JavaFX N/A | SWT Browser OK / JavaFX N/A |

While testing it there where some small problem with layout of BrowserSim when switching between engines which were fixed by skin reswitching. Back and Forward buttons were wrongly placed for example.

With JavaFX engine and Oracle JDK 1.7.0_13 there were no context menu displayed for BrowserSim but when using Oracle JDK 1.7.0_60 context menu was present.

Should I create separeted Jiras for these issues or is it ok like it is?

Are results in this table aligned with what we support?

> CLONE: GTK and BrowserSim web engine issue on Fedora
> ----------------------------------------------------
>
>                 Key: JBIDE-17544
>                 URL: https://issues.jboss.org/browse/JBIDE-17544
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: browsersim
>    Affects Versions: 4.2.0.Beta1
>            Reporter: Konstantin Marmalyukov
>            Assignee: Konstantin Marmalyukov
>              Labels: respin-b
>             Fix For: 4.2.0.Beta2
>
>
> Here's my bad user experience:
> I'm running Fedora19. I've seen GTK3 issues so I always set 'export SWT_GTK3=0' before starting JBDS.
> I make a HTML5 app, deploy to EAP 6.2 and then try to view on BrowserSim. But when I start BrowserSim I see an error message stating "WebKitGTK 1.2.0 or newer must be installed and in library load path". I've got libwebkit2gtk 2.0.4 installed so don't know how to resolve this.
> After much head scratching I finally remember about BrowserSim GTK preferences and web engine options. Within Window>Preferences>JBoss Tools>BrowserSim/CordovaSim, I see that GTK2 is selected. The GTK2 button label states that this will allow me to use JavaFX which needs Oracle JDK. I don't have Oracle JDK installed as this isn't supported by RH for use with Fedora. Perhaps this is why I see the earlier error message? So I try selecting GTK3. I run BrowserSim again and it starts but then I start to see GTK3 UI issues in BrowserSim.
> So I want to use GTK2 and SWT WebKit for BrowserSim on Fedora. Is there a specific reason I can't (other than the IDE won't let me)?
> Issues:
> 1) Can the first error message be more helpful?
> 2) Can the info on the error message wiki link be updated to detail why this error is being seen on Linux? (current info about similar message related to Windows and JRE7 issue - needs updating anyway as suggests using Java 6 as fallback for Windows but JBDS 8 doesn't support Java 6 for running IDE)
> 2) Can selecting GTK2 set BrowserSim to use SWT WebKit and then users change web engine preference to JavaFX if they want?



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


More information about the jbosstools-issues mailing list