<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>It looks like I missed some discussion here. So, I'm repeating my
      question, why would we like to remove Xulrunner and/or deprecate
      VPE? Just want to understand if there is some real problem and our
      Xulrunner stuff blocks us to solve it or this is just for
      cleanness sake.<br>
    </p>
    Thanks.<br>
    <br>
    <div class="moz-cite-prefix">On 09/29/2016 03:28 AM, Ilya Buziuk
      wrote:<br>
    </div>
    <blockquote
cite="mid:CACrcdnfAZ9FYr4Za6912n8sj0Qxfzy1ZKVUCpShFtCqztWv4=Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi, Aleksandr
        <div>Alexey has already moved this discussion to jbosstools-dev.</div>
        <div><br>
        </div>
        <div>Unfortunately, I do not have Webkit POC ready to hand, but
          I think I remember the approach. Basically, the WebKit based
          transformation was done via SWT BrowserFunction[1] and the
          performance was much worse in comparison with the DOM API. If
          you want to figure out how the current Xulrunner based
          implementation work, you should probably start with tests[2]
          that cover things like mapping between source jsf / jsp tags
          and visual part via DOM API. However, I still want to put my 2
          cents in this discussion.</div>
        <div><br>
        </div>
        <div>Let's face the bullet - JSF is dying technology, and
          spending any time on new development is simply nonsensical
          IMO. Even if eventually a better WebKit based VPE  will be
          created (which is doubtful because it was developed by big
          team ~ 10 developers for a couple of years) it will have very
          little value for both community and business. For now the only
          request from the community was - "please, leave it as is". </div>
        <div><br>
        </div>
        <div>If SWT will drop GTK 2 support than we will have to
          deprecate it on this Linux. But it worth mentioning that all
          Linux distros are just a couple of percents of the tools user
          base and our target audience ~ 85 - 90 % is Windows
          developers. For me it is also not clear why it is important to
          deprecate it right now ?  We already had this discussion and
          decided not to do it in 2015, so I can not come up with a
          reason why should it be done in 2016. Just to be clear, I am
          not against deprecation, I am just saying that we should think
          twice before doing it and get some agreement about Xulrunner
          future, so that we will not be returning to this discussion
          again and again.</div>
        <div> </div>
        <div>[1] <a moz-do-not-send="true"
href="http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fapi%2Forg%2Feclipse%2Fswt%2Fbrowser%2FBrowserFunction.html"
            target="_blank">http://help.eclipse.org/<wbr>kepler/index.jsp?topic=%2Forg.<wbr>eclipse.platform.doc.isv%<wbr>2Freference%2Fapi%2Forg%<wbr>2Feclipse%2Fswt%2Fbrowser%<wbr>2FBrowserFunction.html</a></div>
        <div>[2] <a moz-do-not-send="true"
href="https://github.com/jbosstools/jbosstools-vpe/blob/master/tests/org.jboss.tools.vpe.base.test/src/org/jboss/tools/vpe/base/test/VpeTest.java#L340">https://github.com/jbosstools/jbosstools-vpe/blob/master/tests/org.jboss.tools.vpe.base.test/src/org/jboss/tools/vpe/base/test/VpeTest.java#L340</a> </div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Thu, Sep 29, 2016 at 8:07 AM,
            Aleksandar Kurtakov <span dir="ltr">&lt;<a
                moz-do-not-send="true" href="mailto:akurtako@redhat.com"
                target="_blank">akurtako@redhat.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">Adding Max and Alexey
              (maybe we should move to the mailing list?) and dropping
              Jeff to not spam him.<br>
              <span><br>
                ----- Original Message -----<br>
                &gt; From: "Aleksandar Kurtakov" &lt;<a
                  moz-do-not-send="true"
                  href="mailto:akurtako@redhat.com" target="_blank">akurtako@redhat.com</a>&gt;<br>
                &gt; To: "Ilya Buziuk" &lt;<a moz-do-not-send="true"
                  href="mailto:ibuziuk@redhat.com" target="_blank">ibuziuk@redhat.com</a>&gt;<br>
                &gt; Cc: "Nick Boldt" &lt;<a moz-do-not-send="true"
                  href="mailto:nboldt@redhat.com" target="_blank">nboldt@redhat.com</a>&gt;,
                "Leo Ufimtsev" &lt;<a moz-do-not-send="true"
                  href="mailto:lufimtse@redhat.com" target="_blank">lufimtse@redhat.com</a>&gt;,
                "Jeff Johnston" &lt;<a moz-do-not-send="true"
                  href="mailto:jjohnstn@redhat.com" target="_blank">jjohnstn@redhat.com</a>&gt;<br>
              </span>
              <div>
                <div>&gt; Sent: Thursday, 29 September, 2016 9:04:42 AM<br>
                  &gt; Subject: Re: Do we still need Xulrunner in
                  Devstudio?<br>
                  &gt;<br>
                  &gt;<br>
                  &gt;<br>
                  &gt; ----- Original Message -----<br>
                  &gt; &gt; From: "Ilya Buziuk" &lt;<a
                    moz-do-not-send="true"
                    href="mailto:ibuziuk@redhat.com" target="_blank">ibuziuk@redhat.com</a>&gt;<br>
                  &gt; &gt; To: "Aleksandar Kurtakov" &lt;<a
                    moz-do-not-send="true"
                    href="mailto:akurtako@redhat.com" target="_blank">akurtako@redhat.com</a>&gt;<br>
                  &gt; &gt; Cc: "Nick Boldt" &lt;<a
                    moz-do-not-send="true"
                    href="mailto:nboldt@redhat.com" target="_blank">nboldt@redhat.com</a>&gt;,
                  "Leo Ufimtsev" &lt;<a moz-do-not-send="true"
                    href="mailto:lufimtse@redhat.com" target="_blank">lufimtse@redhat.com</a>&gt;,<br>
                  &gt; &gt; "Jeff Johnston" &lt;<a
                    moz-do-not-send="true"
                    href="mailto:jjohnstn@redhat.com" target="_blank">jjohnstn@redhat.com</a>&gt;<br>
                  &gt; &gt; Sent: Wednesday, 28 September, 2016 8:23:47
                  PM<br>
                  &gt; &gt; Subject: Re: Do we still need Xulrunner in
                  Devstudio?<br>
                  &gt; &gt;<br>
                  &gt; &gt; Basically, jsf tags can not be displayed
                  as-is and be parsed correctly in<br>
                  &gt; &gt; browser like html, due to the fact that it
                  is server side technology. So,<br>
                  &gt; &gt; the algorithm  for VPE is the following: the
                  content is rendered and all<br>
                  &gt; &gt; jsf tags are parsed through a set of
                  templates via the native DOM API which<br>
                  &gt; &gt; is available only in particular older
                  versions of XULRunner. So, in order<br>
                  &gt; &gt; to use Webkit or other engine and migrate
                  all VPE features, reimplementing<br>
                  &gt; &gt; all of those temlpate transformations is
                  required. Plus not to forget the<br>
                  &gt; &gt; performance thing - processing might take a
                  long time (I think we had some<br>
                  &gt; &gt; WebKit POC but performance was just
                  unacceptable). This is not a trivial<br>
                  &gt; &gt; task at all and I do  believe that we have
                  no resources for doing it - VPE<br>
                  &gt; &gt; component's code base is one of the biggest
                  (if not the biggest) across<br>
                  &gt; &gt; tools.<br>
                  &gt;<br>
                  &gt; That's exactly the kind of info I was looking
                  for. Can you point me to the<br>
                  &gt; transformations used for the xulrunner? Sorry for
                  being lazy but it's<br>
                  &gt; foreing land for me so I would rather not lose
                  time lurking around.<br>
                  &gt; Do you have a pointer to the WebKit POC? It might
                  be interested to reach out<br>
                  &gt; to the desktop team (there is webkit developer
                  there) with all the info so<br>
                  &gt; maybe they can hint us how to achieve what's
                  needed if latest webkit doesn't<br>
                  &gt; fullfill the needs.<br>
                  &gt;<br>
                  &gt; &gt; In a nutshell - after reimplementing there
                  will be the same, or less<br>
                  &gt; &gt; powerful,  VPE with more bugs and poor
                  performance.<br>
                  &gt;<br>
                  &gt; That might be true now but you should think a bit
                  further in time. In the not<br>
                  &gt; so distant future (2018 release most probably, if
                  not 2019 for sure) SWT<br>
                  &gt; itself will drop support for running on GTK 2.x
                  and that would be<br>
                  &gt; effectively the end of this plugin if no action
                  taken.<br>
                  &gt;<br>
                  &gt;<br>
                  &gt; &gt;<br>
                  &gt; &gt; On Wed, Sep 28, 2016 at 6:42 PM, Aleksandar
                  Kurtakov &lt;<a moz-do-not-send="true"
                    href="mailto:akurtako@redhat.com" target="_blank">akurtako@redhat.com</a>&gt;<br>
                  &gt; &gt; wrote:<br>
                  &gt; &gt;<br>
                  &gt; &gt; &gt;<br>
                  &gt; &gt; &gt;<br>
                  &gt; &gt; &gt; ----- Original Message -----<br>
                  &gt; &gt; &gt; &gt; From: "Ilya Buziuk" &lt;<a
                    moz-do-not-send="true"
                    href="mailto:ibuziuk@redhat.com" target="_blank">ibuziuk@redhat.com</a>&gt;<br>
                  &gt; &gt; &gt; &gt; To: "Nick Boldt" &lt;<a
                    moz-do-not-send="true"
                    href="mailto:nboldt@redhat.com" target="_blank">nboldt@redhat.com</a>&gt;<br>
                  &gt; &gt; &gt; &gt; Cc: "Aleksandar Kurtakov" &lt;<a
                    moz-do-not-send="true"
                    href="mailto:akurtako@redhat.com" target="_blank">akurtako@redhat.com</a>&gt;,
                  "Leo Ufimtsev" &lt;<br>
                  &gt; &gt; &gt; <a moz-do-not-send="true"
                    href="mailto:lufimtse@redhat.com" target="_blank">lufimtse@redhat.com</a>&gt;,
                  "Jeff Johnston"<br>
                  &gt; &gt; &gt; &gt; &lt;<a moz-do-not-send="true"
                    href="mailto:jjohnstn@redhat.com" target="_blank">jjohnstn@redhat.com</a>&gt;<br>
                  &gt; &gt; &gt; &gt; Sent: Wednesday, 28 September,
                  2016 7:19:24 PM<br>
                  &gt; &gt; &gt; &gt; Subject: Re: Do we still need
                  Xulrunner in Devstudio?<br>
                  &gt; &gt; &gt; &gt;<br>
                  &gt; &gt; &gt; &gt; Actually, we planned to remove
                  xulrunner and deprecate VPE some time<br>
                  &gt; &gt; &gt; &gt; ago<br>
                  &gt; &gt; &gt; &gt; and leave only VPV as a WYSIWYG
                  html editor.<br>
                  &gt; &gt; &gt; As someone not familiar with the topic
                  I don't see xulrunner and VPE<br>
                  &gt; &gt; &gt; deprecation that closely coupled. What
                  is the reason for that? What's<br>
                  &gt; &gt; &gt; preventing to achieve it with webkit?
                  Do you extend SWT Browser API<br>
                  &gt; &gt; &gt; somehow?<br>
                  &gt; &gt; &gt; Please give all the details you can
                  think of so I can get better<br>
                  &gt; &gt; &gt; understanding of the issue/reasons.<br>
                  &gt; &gt; &gt;<br>
                  &gt; &gt; &gt; &gt; However, as soon as we gave a<br>
                  &gt; &gt; &gt; &gt; shout out about this on <a
                    moz-do-not-send="true" href="http://tools.jboss.org"
                    rel="noreferrer" target="_blank">tools.jboss.org</a>
                  the first comment was:<br>
                  &gt; &gt; &gt; &gt;<br>
                  &gt; &gt; &gt; &gt; Nice. The reason I used JBoss
                  Tools was the Visual Editor for JSF,<br>
                  &gt; &gt; &gt; &gt; &gt; especially for the Visual
                  parts, which was not perfect but was good<br>
                  &gt; &gt; &gt; enough<br>
                  &gt; &gt; &gt; &gt; &gt; to have it. Will you have
                  alternatives for that ? [1]<br>
                  &gt; &gt; &gt; &gt;<br>
                  &gt; &gt; &gt; &gt;<br>
                  &gt; &gt; &gt; &gt; It was decided that we need to
                  slow down with this process. I can not<br>
                  &gt; &gt; &gt; &gt; say<br>
                  &gt; &gt; &gt; &gt; if it is a high time for doing
                  this assuming that some people actually<br>
                  &gt; &gt; &gt; use<br>
                  &gt; &gt; &gt; &gt; it. Furthermore, some people treat
                  it as a killer feature for JSF that<br>
                  &gt; &gt; &gt; only<br>
                  &gt; &gt; &gt; &gt; one IDE is providing. So, we need
                  to think twice before doing it.<br>
                  &gt; &gt; &gt; &gt;<br>
                  &gt; &gt; &gt; &gt;  [1] <a moz-do-not-send="true"
                    href="http://tools.jboss.org/blog/2015-04-02-devstudio-8.1.0.GA-"
                    rel="noreferrer" target="_blank">http://tools.jboss.org/blog/20<wbr>15-04-02-devstudio-8.1.0.GA-</a><br>
                  &gt; &gt; &gt; for-luna.html<br>
                  &gt; &gt; &gt; &gt;<br>
                  &gt; &gt; &gt; &gt; On Wed, Sep 28, 2016 at 5:40 PM,
                  Nick Boldt &lt;<a moz-do-not-send="true"
                    href="mailto:nboldt@redhat.com" target="_blank">nboldt@redhat.com</a>&gt;
                  wrote:<br>
                  &gt; &gt; &gt; &gt;<br>
                  &gt; &gt; &gt; &gt; &gt; On the Eclipse team call
                  today, the question of why we need Xulrunner<br>
                  &gt; &gt; &gt; &gt; &gt; was brought up again.<br>
                  &gt; &gt; &gt; &gt; &gt;<br>
                  &gt; &gt; &gt; &gt; &gt; As I understand it, the only
                  reason we still include Xulrunner is for<br>
                  &gt; &gt; &gt; &gt; &gt; the Visual Page Editor. But
                  Alex pointed out today that Xulrunner<br>
                  &gt; &gt; &gt; &gt; &gt; only<br>
                  &gt; &gt; &gt; &gt; &gt; works on GTK2, which means a
                  user has to explicity disable GTK3 in<br>
                  &gt; &gt; &gt; &gt; &gt; order for Xulrunner to be
                  used, as these days GTK3 is the default<br>
                  &gt; &gt; &gt; &gt; &gt; OOTB<br>
                  &gt; &gt; &gt; &gt; &gt; implementation on the
                  platforms we support (Fedora 24/25, RHEL7,<br>
                  &gt; &gt; &gt; &gt; &gt; etc.).<br>
                  &gt; &gt; &gt; &gt; &gt;<br>
                  &gt; &gt; &gt; &gt; &gt; So... is it time to remove
                  Xulrunner from the Devstudio dependencies,<br>
                  &gt; &gt; &gt; &gt; &gt; if most people are not even
                  seeing it used?<br>
                  &gt; &gt; &gt; &gt; &gt;<br>
                  &gt; &gt; &gt; &gt; &gt; Alex suggested it might be
                  useful to set up a call to discuss this in<br>
                  &gt; &gt; &gt; &gt; &gt; more depth. Is there a good
                  time tomorrow or Friday you guys would<br>
                  &gt; &gt; &gt; &gt; &gt; like to meet to discuss this,
                  if it can't be resolved asynchronously<br>
                  &gt; &gt; &gt; &gt; &gt; via email?<br>
                  &gt; &gt; &gt; &gt; &gt;<br>
                  &gt; &gt; &gt; &gt; &gt; Whatever we decide here, we
                  should make sure we announce this on the<br>
                  &gt; &gt; &gt; &gt; &gt; jbosstools-dev@ list.<br>
                  &gt; &gt; &gt; &gt; &gt;<br>
                  &gt; &gt; &gt; &gt; &gt; --<br>
                  &gt; &gt; &gt; &gt; &gt; Nick Boldt :: JBoss by Red
                  Hat<br>
                  &gt; &gt; &gt; &gt; &gt; Productization Lead :: JBoss
                  Tools &amp; Dev Studio<br>
                  &gt; &gt; &gt; &gt; &gt; <a moz-do-not-send="true"
                    href="http://nick.divbyzero.com" rel="noreferrer"
                    target="_blank">http://nick.divbyzero.com</a><br>
                  &gt; &gt; &gt; &gt; &gt;<br>
                  &gt; &gt; &gt; &gt;<br>
                  &gt; &gt; &gt;<br>
                  &gt; &gt; &gt; --<br>
                  &gt; &gt; &gt; Alexander Kurtakov<br>
                  &gt; &gt; &gt; Red Hat Eclipse team<br>
                  &gt; &gt; &gt;<br>
                  &gt; &gt;<br>
                  &gt;<br>
                  &gt; --<br>
                  &gt; Alexander Kurtakov<br>
                  &gt; Red Hat Eclipse team<br>
                  &gt;<br>
                  <br>
                  --<br>
                  Alexander Kurtakov<br>
                  Red Hat Eclipse team<br>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>