[jbosstools-issues] [JBoss JIRA] (JBIDE-17807) index.html of HTML5 kitchensink example is not displayed in VPE visual part

Snjezana Peco (JIRA) issues at jboss.org
Wed Jul 16 12:42:29 EDT 2014


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

Snjezana Peco commented on JBIDE-17807:
---------------------------------------

I think the issue happens because XULRunner doesn't recognize HTML5/Javascript.
The following code causes a visual part to be blank:

{code}
<body>
<div id="container" style="display:none">
{code}

If you replace "display:node" with "display:block", the page will be shown, but will be different from the page shown with webkit.

-Dorg.jboss.tools.vpe.loadxulrunner=false or SWT_GTK3=1 will disable XULRunner and the page will be properly shown with webkit.

On Fedora <= 19 or some other distribution that includes GTK <= 3.8, SWT_GTK3 is 1 by default.

> index.html of HTML5 kitchensink example is not displayed in VPE visual part
> ---------------------------------------------------------------------------
>
>                 Key: JBIDE-17807
>                 URL: https://issues.jboss.org/browse/JBIDE-17807
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: visual-page-editor-core
>    Affects Versions: 4.2.0.Beta3
>         Environment: JBDS 8.0.0.Beta3-v20140706-0939-B172
> Linux
> SWT_GTK3=0
>            Reporter: Vlado Pakan
>            Assignee: Konstantin Marmalyukov
>            Priority: Critical
>             Fix For: 4.2.0.CR1
>
>         Attachments: snapshot6.png, snapshot7.png, vpepreviewblank.png
>
>
> 1. Import HTML5 kitchensink project from JBoss Central
> 2. Open index.html in VPE
> ERROR: Visual part of VPE is blank
> HTML Preview is showing page properly.
> 3. Run JBT with arguments -vmargs -Dorg.jboss.tools.vpe.loadxulrunner=false
> ASSERT: Page is displayed correctly in Visual part of VPE



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jbosstools-issues mailing list