[jbosstools-issues] [JBoss JIRA] (JBDS-2900) Empty window is displayed in welcome view with JBDS8.alpha2 on RHEL6

Snjezana Peco (JIRA) issues at jboss.org
Wed Feb 12 14:33:28 EST 2014


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

Snjezana Peco commented on JBDS-2900:
-------------------------------------

The XULRunnerInitializer class initializes XULRunner on a platform.
When the SWT team set the default browser type to webkit, we introduced the BrowserInitializer class that set the default type to "mozilla" on Linux to provide the VPE editor to work properly.
Since there isn't XULRunner on GTK3, we have suspended the initialization of XULRunner in XULRunnrInitializer (JBIDE-16280), but haven't changed the default browser type.
This PR sets the default browser type to webkit on GTK3.
This way, the VPE Editor (as well as the Eclipse internal browser) works on GTK2, i.e., the default browser type is "mozilla" so that XULRunner is initialized correctly. As to GTK3, the VPE editor doesn't work, but the Eclipse internal browser works because the browser of the type "webkit" is supported by GTK3.
A user can change the default browser type.
If you call JBDS with the "-Dorg.eclipse.swt.browser.DefaultType=webkit" option, the Welcome view will be shown on GTK3 even without the patch. 

The issue isn't JBDS specific. The Welcome view, JBoss Central tooltips, Eclipse internal browser (the Welcome view) also won't work properly in JBT on GTK3.
                
> Empty window is displayed in welcome view with JBDS8.alpha2 on RHEL6
> --------------------------------------------------------------------
>
>                 Key: JBDS-2900
>                 URL: https://issues.jboss.org/browse/JBDS-2900
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: welcome
>    Affects Versions: 8.0.0.Alpha2
>         Environment: RHEL6
> OpenJDK 1.7
> JBDS 8.alpha2
>            Reporter: Len DiMaggio
>            Assignee: Nick Boldt
>             Fix For: 8.0.0.Beta1
>
>         Attachments: jbds8b2-linux64-welcome-screen-empty.png, mac_welcome.png, rhel_welcome.png
>
>
> See attached screenshots for comparison between Mac OS 10.9 and RHEL6.

--
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