<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>36318</bug_id>
          
          <creation_ts>2010-03-18 12:39:35 -0700</creation_ts>
          <short_desc>QtLauncher doesn&apos;t start when using Qt/QWS</short_desc>
          <delta_ts>2010-03-22 15:56:40 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Anders Bakken">agbakken</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>eric</cc>
    
    <cc>hausmann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>201473</commentid>
    <comment_count>0</comment_count>
    <who name="Anders Bakken">agbakken</who>
    <bug_when>2010-03-18 12:39:35 -0700</bug_when>
    <thetext>Qt/QWS apps need to run as GuiServer when running standalone. The app needs to either pass -qws or pass QApplication::GuiServer to the QApplication constructor.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201482</commentid>
    <comment_count>1</comment_count>
      <attachid>51074</attachid>
    <who name="Anders Bakken">agbakken</who>
    <bug_when>2010-03-18 12:49:31 -0700</bug_when>
    <thetext>Created attachment 51074
This patch fixes the bug #36318</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201498</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-03-18 13:02:53 -0700</bug_when>
    <thetext>No objection from me, just curious: Why not pass -qws on the commandline? Or is that a recently changing trend in qws apps to not require it anymore but instead use this flag?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201499</commentid>
    <comment_count>3</comment_count>
      <attachid>51074</attachid>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-03-18 13:03:36 -0700</bug_when>
    <thetext>Comment on attachment 51074
This patch fixes the bug #36318


&gt;  LauncherApplication::LauncherApplication(int&amp; argc, char** argv)
&gt; -    : QApplication(argc, argv)
&gt; +    : QApplication(argc, argv
&gt; +#ifdef Q_WS_QWS
&gt; +                   , QApplication::GuiServer
&gt; +#endif
&gt; +    )
&gt;      , m_isRobotized(false)
&gt;  {

Is the #ifdef worth it? Why not always pass GuiServer?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201521</commentid>
    <comment_count>4</comment_count>
    <who name="Anders Bakken">agbakken</who>
    <bug_when>2010-03-18 13:36:43 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; No objection from me, just curious: Why not pass -qws on the commandline? Or is
&gt; that a recently changing trend in qws apps to not require it anymore but
&gt; instead use this flag?

Mostly because I didn&apos;t easily understand how to add arguments to the scripts that run the launcher (webkit-tests etc). It seemed like it requires hacking perl code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201524</commentid>
    <comment_count>5</comment_count>
    <who name="Anders Bakken">agbakken</who>
    <bug_when>2010-03-18 13:37:58 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; (From update of attachment 51074 [details])
&gt; 
&gt; &gt;  LauncherApplication::LauncherApplication(int&amp; argc, char** argv)
&gt; &gt; -    : QApplication(argc, argv)
&gt; &gt; +    : QApplication(argc, argv
&gt; &gt; +#ifdef Q_WS_QWS
&gt; &gt; +                   , QApplication::GuiServer
&gt; &gt; +#endif
&gt; &gt; +    )
&gt; &gt;      , m_isRobotized(false)
&gt; &gt;  {
&gt; 
&gt; Is the #ifdef worth it? Why not always pass GuiServer?

No reason. I am fine with changing that. It&apos;s a noop on desktop anyway.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201527</commentid>
    <comment_count>6</comment_count>
      <attachid>51086</attachid>
    <who name="Anders Bakken">agbakken</who>
    <bug_when>2010-03-18 13:40:08 -0700</bug_when>
    <thetext>Created attachment 51086
Updated patch for 36318</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201546</commentid>
    <comment_count>7</comment_count>
      <attachid>51086</attachid>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-03-18 13:57:32 -0700</bug_when>
    <thetext>Comment on attachment 51086
Updated patch for 36318

Thanks Anders :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201704</commentid>
    <comment_count>8</comment_count>
      <attachid>51086</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-03-18 22:28:01 -0700</bug_when>
    <thetext>Comment on attachment 51086
Updated patch for 36318

Rejecting patch 51086 from commit-queue.

Found no modified ChangeLogs, cannot create a commit message.
All changes require a ChangeLog.  See:
http://webkit.org/coding/contributing.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201751</commentid>
    <comment_count>9</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-03-19 00:20:26 -0700</bug_when>
    <thetext>Committed r56222: &lt;http://trac.webkit.org/changeset/56222&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>202697</commentid>
    <comment_count>10</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-03-22 12:35:07 -0700</bug_when>
    <thetext>@simon:

There was a bug in the ChangeLog, which is why the queue rejected it. You didn&apos;t correct it when you landed either. :(

double &gt;&gt; in the date line.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>202813</commentid>
    <comment_count>11</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-03-22 15:56:40 -0700</bug_when>
    <thetext>(In reply to comment #10)
&gt; @simon:
&gt; 
&gt; There was a bug in the ChangeLog, which is why the queue rejected it. You
&gt; didn&apos;t correct it when you landed either. :(
&gt; 
&gt; double &gt;&gt; in the date line.

Oops! Indeed, the name appeared twice with too many angle brackets. Fixed up in r56364.

/me bows low to the bot and his/her master</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>51074</attachid>
            <date>2010-03-18 12:49:31 -0700</date>
            <delta_ts>2010-03-19 00:15:14 -0700</delta_ts>
            <desc>This patch fixes the bug #36318</desc>
            <filename>patch.36318</filename>
            <type>text/plain</type>
            <size>1159</size>
            <attacher name="Anders Bakken">agbakken</attacher>
            
              <data encoding="base64">LS0tIFdlYktpdFRvb2xzL0NoYW5nZUxvZwkocmV2aXNpb24gNTYxODApCisrKyBXZWJLaXRUb29s
cy9DaGFuZ2VMb2cJKHdvcmtpbmcgY29weSkKQEAgLTEsMyArMSwxNiBAQAorMjAxMC0wMy0xOCAg
QW5kZXJzIEJha2tlbiAgPEFuZGVycyBCYWtrZW4gPGFnYmFra2VuQGdtYWlsLmNvbT4+CisKKyAg
ICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgaHR0cHM6Ly9idWdz
LndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTM2MzE4CisKKyAgICAgICAgUXRMYXVuY2hlciBy
dW5zIGFzIGEgR3VpQ2xpZW50IGJ5IGRlZmF1bHQgaW4gUXQgRW1iZWRkZWQgd2hpY2ggd2lsbAor
ICAgICAgICBtYWtlIGl0IHRyeSB0byBjb25uZWN0IHRvIGFuIGV4aXN0aW5nIEd1aVNlcnZlci4g
VGhpcyBwYXRjaCBtYWtlcyBpdAorICAgICAgICBydW4gbGlrZSBhIHN0YW5kLWFsb25lIGFwcC4K
KworICAgICAgICAqIFF0TGF1bmNoZXIvbWFpbi5jcHA6CisgICAgICAgIChMYXVuY2hlckFwcGxp
Y2F0aW9uOjpMYXVuY2hlckFwcGxpY2F0aW9uKToKKwogMjAxMC0wMy0xOCAgQW50dGkgS29pdmlz
dG8gIDxrb2l2aXN0b0Bpa2kuZmk+CiAKICAgICAgICAgUmV2aWV3ZWQgYnkgS2VubmV0aCBSb2hk
ZSBDaHJpc3RpYW5zZW4uCkluZGV4OiBXZWJLaXRUb29scy9RdExhdW5jaGVyL21haW4uY3BwCj09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT0KLS0tIFdlYktpdFRvb2xzL1F0TGF1bmNoZXIvbWFpbi5jcHAJKHJldmlzaW9uIDU2
MTYyKQorKysgV2ViS2l0VG9vbHMvUXRMYXVuY2hlci9tYWluLmNwcAkod29ya2luZyBjb3B5KQpA
QCAtODg0LDcgKzg4NCwxMSBAQCB2b2lkIExhdW5jaGVyQXBwbGljYXRpb246OmFwcGx5RGVmYXVs
dFNlCiB9CiAKIExhdW5jaGVyQXBwbGljYXRpb246OkxhdW5jaGVyQXBwbGljYXRpb24oaW50JiBh
cmdjLCBjaGFyKiogYXJndikKLSAgICA6IFFBcHBsaWNhdGlvbihhcmdjLCBhcmd2KQorICAgIDog
UUFwcGxpY2F0aW9uKGFyZ2MsIGFyZ3YKKyNpZmRlZiBRX1dTX1FXUworICAgICAgICAgICAgICAg
ICAgICwgUUFwcGxpY2F0aW9uOjpHdWlTZXJ2ZXIKKyNlbmRpZgorICAgICkKICAgICAsIG1faXNS
b2JvdGl6ZWQoZmFsc2UpCiB7Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>51086</attachid>
            <date>2010-03-18 13:40:08 -0700</date>
            <delta_ts>2010-03-18 22:28:01 -0700</delta_ts>
            <desc>Updated patch for 36318</desc>
            <filename>patch.36318</filename>
            <type>text/plain</type>
            <size>1165</size>
            <attacher name="Anders Bakken">agbakken</attacher>
            
              <data encoding="base64">LS0tIFdlYktpdFRvb2xzL0NoYW5nZUxvZwkocmV2aXNpb24gNTYxODApCisrKyBXZWJLaXRUb29s
cy9DaGFuZ2VMb2cJKHdvcmtpbmcgY29weSkKQEAgLTEsMyArMSwxNiBAQAorMjAxMC0wMy0xOCAg
QW5kZXJzIEJha2tlbiAgPEFuZGVycyBCYWtrZW4gPGFnYmFra2VuQGdtYWlsLmNvbT4+CisKKyAg
ICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgaHR0cHM6Ly9idWdz
LndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTM2MzE4CisKKyAgICAgICAgUXRMYXVuY2hlciBy
dW5zIGFzIGEgR3VpQ2xpZW50IGJ5IGRlZmF1bHQgaW4gUXQgRW1iZWRkZWQgd2hpY2ggd2lsbAor
ICAgICAgICBtYWtlIGl0IHRyeSB0byBjb25uZWN0IHRvIGFuIGV4aXN0aW5nIEd1aVNlcnZlci4g
VGhpcyBwYXRjaCBtYWtlcyBpdAorICAgICAgICBydW4gbGlrZSBhIHN0YW5kLWFsb25lIGFwcC4K
KworICAgICAgICAqIFF0TGF1bmNoZXIvbWFpbi5jcHA6CisgICAgICAgIChMYXVuY2hlckFwcGxp
Y2F0aW9uOjpMYXVuY2hlckFwcGxpY2F0aW9uKToKKwogMjAxMC0wMy0xOCAgQW50dGkgS29pdmlz
dG8gIDxrb2l2aXN0b0Bpa2kuZmk+CiAKICAgICAgICAgUmV2aWV3ZWQgYnkgS2VubmV0aCBSb2hk
ZSBDaHJpc3RpYW5zZW4uCkluZGV4OiBXZWJLaXRUb29scy9RdExhdW5jaGVyL21haW4uY3BwCj09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT0KLS0tIFdlYktpdFRvb2xzL1F0TGF1bmNoZXIvbWFpbi5jcHAJKHJldmlzaW9uIDU2
MTYyKQorKysgV2ViS2l0VG9vbHMvUXRMYXVuY2hlci9tYWluLmNwcAkod29ya2luZyBjb3B5KQpA
QCAtODg0LDcgKzg4NCw3IEBAIHZvaWQgTGF1bmNoZXJBcHBsaWNhdGlvbjo6YXBwbHlEZWZhdWx0
U2UKIH0KIAogTGF1bmNoZXJBcHBsaWNhdGlvbjo6TGF1bmNoZXJBcHBsaWNhdGlvbihpbnQmIGFy
Z2MsIGNoYXIqKiBhcmd2KQotICAgIDogUUFwcGxpY2F0aW9uKGFyZ2MsIGFyZ3YpCisgICAgOiBR
QXBwbGljYXRpb24oYXJnYywgYXJndiwgUUFwcGxpY2F0aW9uOjpHdWlTZXJ2ZXIpCiAgICAgLCBt
X2lzUm9ib3RpemVkKGZhbHNlKQogewogICAgIC8vIFRvIGFsbG93IFFXZWJJbnNwZWN0b3IncyBj
b25maWd1cmF0aW9uIHBlcnNpc3RlbmNlCg==
</data>
<flag name="review"
          id="34291"
          type_id="1"
          status="+"
          setter="hausmann"
    />
    <flag name="commit-queue"
          id="34292"
          type_id="3"
          status="-"
          setter="commit-queue"
    />
          </attachment>
      

    </bug>

</bugzilla>