<?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>47613</bug_id>
          
          <creation_ts>2010-10-13 12:44:44 -0700</creation_ts>
          <short_desc>[Qt] QtTestBrowser shows two Url input fields</short_desc>
          <delta_ts>2010-10-15 12:12:16 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>S60 Hardware</rep_platform>
          <op_sys>S60 3rd edition</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="Yi Shen">max.hong.shen</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ademar</cc>
    
    <cc>commit-queue</cc>
    
    <cc>tonikitoo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>293634</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Shen">max.hong.shen</who>
    <bug_when>2010-10-13 12:44:44 -0700</bug_when>
    <thetext>I saw two Url input fields show on the toolbar of QtTestBrowser. In MainWindow::buildUI(), it deletes the old toolbar instance which is supposed to delete the LocationEdit as well, however, it doesn&apos;t. To make a quick fix instead of waiting Qt UI code&apos;s change, we can explicitly delete the locationedit by ourself on Symbian.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>293636</commentid>
    <comment_count>1</comment_count>
      <attachid>70648</attachid>
    <who name="Yi Shen">max.hong.shen</who>
    <bug_when>2010-10-13 12:47:02 -0700</bug_when>
    <thetext>Created attachment 70648
first try</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>293641</commentid>
    <comment_count>2</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-10-13 12:51:54 -0700</bug_when>
    <thetext>Does it happens on trunk at all?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>293647</commentid>
    <comment_count>3</comment_count>
    <who name="Yi Shen">max.hong.shen</who>
    <bug_when>2010-10-13 12:54:58 -0700</bug_when>
    <thetext>I think so, it can be reproduced on Symbian with Qt 4.7</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>293649</commentid>
    <comment_count>4</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-10-13 12:56:42 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; Does it happens on trunk at all?

because on trunk we have this:

&lt;&lt;&lt;&lt;&lt;&gt;&gt;&gt;
urlEdit = new LocationEdit(m_toolBar);
&lt;&lt;&lt;&lt;&lt;&gt;&gt;&gt;

so when we delete m_toolBar we should also be deleting the urlEdit. Could you please check if the 2.1 branch has this code?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>293650</commentid>
    <comment_count>5</comment_count>
    <who name="Yi Shen">max.hong.shen</who>
    <bug_when>2010-10-13 13:01:59 -0700</bug_when>
    <thetext>Yes, 2.1 branch has that code. (Remember we have cheery-picked your patches) 
I think the root cause for this issue is from Qt Core/Gui, but we may want to address it quickly by deleting LocationEdit by ourself.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>293657</commentid>
    <comment_count>6</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-10-13 13:11:54 -0700</bug_when>
    <thetext>I can not reproduce this problem with trunk with qtwebkit on mac :(

what steps are you using?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>293659</commentid>
    <comment_count>7</comment_count>
    <who name="Yi Shen">max.hong.shen</who>
    <bug_when>2010-10-13 13:12:52 -0700</bug_when>
    <thetext>It is only can be reproduced on Symbian :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>293660</commentid>
    <comment_count>8</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-10-13 13:14:03 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; It is only can be reproduced on Symbian :)

oh :) ok</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>293666</commentid>
    <comment_count>9</comment_count>
    <who name="Yi Shen">max.hong.shen</who>
    <bug_when>2010-10-13 13:17:27 -0700</bug_when>
    <thetext>Thanks, Antonio :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>293819</commentid>
    <comment_count>10</comment_count>
      <attachid>70648</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-10-13 16:58:09 -0700</bug_when>
    <thetext>Comment on attachment 70648
first try

Clearing flags on attachment: 70648

Committed r69714: &lt;http://trac.webkit.org/changeset/69714&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>293820</commentid>
    <comment_count>11</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-10-13 16:58:14 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>294850</commentid>
    <comment_count>12</comment_count>
    <who name="Ademar Reis">ademar</who>
    <bug_when>2010-10-15 12:10:02 -0700</bug_when>
    <thetext>Revision r69714 cherry-picked into qtwebkit-2.1 with commit 995f39c &lt;http://gitorious.org/webkit/qtwebkit/commit/995f39c&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>294851</commentid>
    <comment_count>13</comment_count>
    <who name="Ademar Reis">ademar</who>
    <bug_when>2010-10-15 12:12:16 -0700</bug_when>
    <thetext>duh, should&apos;ve been &quot;block&quot; 39121, not &quot;depends on&quot;. :-)

Anyway, already integrated.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>70648</attachid>
            <date>2010-10-13 12:47:02 -0700</date>
            <delta_ts>2010-10-13 16:58:08 -0700</delta_ts>
            <desc>first try</desc>
            <filename>47613.patch</filename>
            <type>text/plain</type>
            <size>1266</size>
            <attacher name="Yi Shen">max.hong.shen</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBXZWJLaXRUb29scy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDY5Njc5KQorKysgV2ViS2l0VG9vbHMvQ2hhbmdlTG9nCSh3b3Jr
aW5nIGNvcHkpCkBAIC0xLDMgKzEsMTQgQEAKKzIwMTAtMTAtMTMgIFlpIFNoZW4gIDx5aS40LnNo
ZW5Abm9raWEuY29tPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisg
ICAgICAgIFtRdF0gUXRUZXN0QnJvd3NlciBzaG93cyB0d28gVXJsIGlucHV0IGZpZWxkcworICAg
ICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9NDc2MTMKKworICAg
ICAgICAqIFF0VGVzdEJyb3dzZXIvbWFpbndpbmRvdy5jcHA6CisgICAgICAgIChNYWluV2luZG93
OjpNYWluV2luZG93KToKKyAgICAgICAgKE1haW5XaW5kb3c6OmJ1aWxkVUkpOgorCiAyMDEwLTEw
LTEzICBTaGVyaWZmIEJvdCAgPHdlYmtpdC5yZXZpZXcuYm90QGdtYWlsLmNvbT4KIAogICAgICAg
ICBVbnJldmlld2VkLCByb2xsaW5nIG91dCByNjk2MzguCkluZGV4OiBXZWJLaXRUb29scy9RdFRl
c3RCcm93c2VyL21haW53aW5kb3cuY3BwCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYktpdFRvb2xzL1F0VGVz
dEJyb3dzZXIvbWFpbndpbmRvdy5jcHAJKHJldmlzaW9uIDY5Njc1KQorKysgV2ViS2l0VG9vbHMv
UXRUZXN0QnJvd3Nlci9tYWlud2luZG93LmNwcAkod29ya2luZyBjb3B5KQpAQCAtMzgsNiArMzgs
NyBAQAogTWFpbldpbmRvdzo6TWFpbldpbmRvdygpCiAgICAgOiBtX3BhZ2UobmV3IFdlYlBhZ2Uo
dGhpcykpCiAgICAgLCBtX3Rvb2xCYXIoMCkKKyAgICAsIHVybEVkaXQoMCkKIHsKICAgICBzZXRB
dHRyaWJ1dGUoUXQ6OldBX0RlbGV0ZU9uQ2xvc2UpOwogICAgIGlmIChxZ2V0ZW52KCJRVFRFU1RC
Uk9XU0VSX1VTRV9BUkdCX1ZJU1VBTFMiKS50b0ludCgpID09IDEpCkBAIC00OCw2ICs0OSw5IEBA
IE1haW5XaW5kb3c6Ok1haW5XaW5kb3coKQogCiB2b2lkIE1haW5XaW5kb3c6OmJ1aWxkVUkoKQog
eworI2lmIGRlZmluZWQoUV9PU19TWU1CSUFOKQorICAgIGRlbGV0ZSB1cmxFZGl0OworI2VuZGlm
CiAgICAgZGVsZXRlIG1fdG9vbEJhcjsKIAogICAgIG1fdG9vbEJhciA9IGFkZFRvb2xCYXIoIk5h
dmlnYXRpb24iKTsK
</data>

          </attachment>
      

    </bug>

</bugzilla>