<?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>40409</bug_id>
          
          <creation_ts>2010-06-10 01:54:16 -0700</creation_ts>
          <short_desc>Web Inspector: [REGRESSION] Tab complete in a command line jumps on next value</short_desc>
          <delta_ts>2010-06-11 01:12:47 -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>Web Inspector (Deprecated)</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://screenr.com/9gK</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="Nikita Vasilyev">me</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bweinstein</cc>
    
    <cc>commit-queue</cc>
    
    <cc>joepeck</cc>
    
    <cc>keishi</cc>
    
    <cc>loislo</cc>
    
    <cc>pfeldman</cc>
    
    <cc>pmuellr</cc>
    
    <cc>rik</cc>
    
    <cc>timothy</cc>
    
    <cc>yurys</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>236243</commentid>
    <comment_count>0</comment_count>
    <who name="Nikita Vasilyev">me</who>
    <bug_when>2010-06-10 01:54:16 -0700</bug_when>
    <thetext>How to reproduce the bug:
1. Type &quot;document.get&quot; in the command line. You should see document.get&lt;CSSCanvasContext&gt; (&lt;&gt; is an auto-suggestion)
2. Press Tab

Expected:
&quot;document.get[CSSCanvasContext]&quot; ([] is a selected text)

Actual:
&quot;document.get[ElementById]&quot;

Screencast: http://screenr.com/9gK</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>236248</commentid>
    <comment_count>1</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2010-06-10 02:09:15 -0700</bug_when>
    <thetext>https://bugs.webkit.org/show_bug.cgi?id=38753 is a primary suspect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>236263</commentid>
    <comment_count>2</comment_count>
      <attachid>58347</attachid>
    <who name="Nikita Vasilyev">me</who>
    <bug_when>2010-06-10 02:47:23 -0700</bug_when>
    <thetext>Created attachment 58347
Then complete using a tab key, select very first value, not a second.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>236266</commentid>
    <comment_count>3</comment_count>
      <attachid>58347</attachid>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2010-06-10 02:51:21 -0700</bug_when>
    <thetext>Comment on attachment 58347
Then complete using a tab key, select very first value, not a second.

Thanks for fixing this. I small nit about the changelog entry and you are good to land!

WebCore/ChangeLog:5
 +          Web Inspector: Then complete using a tab key, select very first value, not a second.
When completing using ...

Please re-attach new path and I&apos;ll mark it as r+,cq+!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>236267</commentid>
    <comment_count>4</comment_count>
      <attachid>58350</attachid>
    <who name="Nikita Vasilyev">me</who>
    <bug_when>2010-06-10 02:58:52 -0700</bug_when>
    <thetext>Created attachment 58350
When completing using a tab key, select very first value, not a second.

My terrible grammar fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>236336</commentid>
    <comment_count>5</comment_count>
    <who name="Ilya Tikhonovsky">loislo</who>
    <bug_when>2010-06-10 06:40:11 -0700</bug_when>
    <thetext>It was a conscious decision as far as we have auto-suggestion mechanic.
If the first suggestion is not suitable for you it is possible to get the next by tab.
In the other case you can complete suggested variant by arrow.

Your scenario is fine if we have no auto-suggestions mechanics.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>236357</commentid>
    <comment_count>6</comment_count>
    <who name="Nikita Vasilyev">me</who>
    <bug_when>2010-06-10 07:21:23 -0700</bug_when>
    <thetext>(In reply to comment #5)
It makes sense, but:

1) Tab is easier to press than right arrow. I do it with my left little finger without leaving the pointer finger from F key.

2) I&apos;ve never seen applications which behaves like this. Xcode have a similar gray auto-suggestion, but by pressing Tab you&apos;re completing a current suggestion, not the next one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>236471</commentid>
    <comment_count>7</comment_count>
      <attachid>58350</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-06-10 11:45:58 -0700</bug_when>
    <thetext>Comment on attachment 58350
When completing using a tab key, select very first value, not a second.

Rejecting patch 58350 from commit-queue.

Failed to run &quot;[&apos;WebKitTools/Scripts/run-webkit-tests&apos;, &apos;--no-launch-safari&apos;, &apos;--exit-after-n-failures=1&apos;, &apos;--ignore-tests&apos;, &apos;compositing&apos;, &apos;--quiet&apos;]&quot; exit_code: 1
Last 500 characters of output:
ing Java tests
make: Nothing to be done for `default&apos;.
Running tests from /Users/eseidel/Projects/CommitQueue/LayoutTests
Skipped list contained &apos;compositing/iframes/composited-iframe.html&apos;, but no file of that name could be found
Testing 19073 test cases.
svg/dom/SVGScriptElement/script-set-href.svg -&gt; failed

Exiting early after 1 failures. 16747 tests run.
362.26s total testing time

16746 test cases (99%) succeeded
1 test case (&lt;1%) had incorrect layout
15 test cases (&lt;1%) had stderr output

Full output: http://webkit-commit-queue.appspot.com/results/3217143</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>236714</commentid>
    <comment_count>8</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2010-06-11 00:12:12 -0700</bug_when>
    <thetext>That commit queue failure was unrelated. If no-body gets to this tomorrow I can try to land it manually (my tree is outdated on this machine, so I&apos;ll be updating and building overnight).

Feel free to beat me to it!

Otherwise, does re-flipping the cq+ flag make the commit queue try again? I&apos;ll try that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>236724</commentid>
    <comment_count>9</comment_count>
      <attachid>58350</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-06-11 01:12:40 -0700</bug_when>
    <thetext>Comment on attachment 58350
When completing using a tab key, select very first value, not a second.

Clearing flags on attachment: 58350

Committed r60995: &lt;http://trac.webkit.org/changeset/60995&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>236725</commentid>
    <comment_count>10</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-06-11 01:12:47 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>58347</attachid>
            <date>2010-06-10 02:47:23 -0700</date>
            <delta_ts>2010-06-10 02:58:52 -0700</delta_ts>
            <desc>Then complete using a tab key, select very first value, not a second.</desc>
            <filename>tab_complete.patch</filename>
            <type>text/plain</type>
            <size>1166</size>
            <attacher name="Nikita Vasilyev">me</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
NGNkYzczZS4uNWZhMjUzZSAxMDA2NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvV2Vi
Q29yZS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxMyBAQAorMjAxMC0wNi0xMCAgTmlraXRhIFZhc2ls
eWV2ICA8bWVAZWx2MXMucnU+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISku
CisKKyAgICAgICAgV2ViIEluc3BlY3RvcjogVGhlbiBjb21wbGV0ZSB1c2luZyBhIHRhYiBrZXks
IHNlbGVjdCB2ZXJ5IGZpcnN0IHZhbHVlLCBub3QgYSBzZWNvbmQuCisgICAg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UmFuZ2UudG9TdHJpbmcoKTsKIAo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>58350</attachid>
            <date>2010-06-10 02:58:52 -0700</date>
            <delta_ts>2010-06-11 01:12:40 -0700</delta_ts>
            <desc>When completing using a tab key, select very first value, not a second.</desc>
            <filename>tab_complete.patch</filename>
            <type>text/plain</type>
            <size>1168</size>
            <attacher name="Nikita Vasilyev">me</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
NGNkYzczZS4uY2RkZDEzZiAxMDA2NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvV2Vi
Q29yZS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxMyBAQAorMjAxMC0wNi0xMCAgTmlraXRhIFZhc2ls
eWV2ICA8bWVAZWx2MXMucnU+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISku
CisKKyAgICAgICAgV2ViIEluc3BlY3RvcjogV2hlbiBjb21wbGV0aW5nIHVzaW5nIGEgdGFiIGtl
eSwgc2VsZWN0IHZlcnkgZmlyc3QgdmFsdWUsIG5vdCBhIHNlY29uZC4KKyAgICAgICAgaHR0cHM6
Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTQwNDA5CisKKyAgICAgICAgKiBpbnNw
ZWN0b3IvZnJvbnQtZW5kL1RleHRQcm9tcHQuanM6CisgICAgICAgIChXZWJJbnNwZWN0b3IuVGV4
dFByb21wdC5wcm90b3R5cGUuX2NvbXBsZXRpb25zUmVhZHkpOgorCiAyMDEwLTA2LTEwICBFcmlj
IFNlaWRlbCAgPGVyaWNAd2Via2l0Lm9yZz4KIAogICAgICAgICBSZXZpZXdlZCBieSBBZGFtIEJh
cnRoLgpkaWZmIC0tZ2l0IGEvV2ViQ29yZS9pbnNwZWN0b3IvZnJvbnQtZW5kL1RleHRQcm9tcHQu
anMgYi9XZWJDb3JlL2luc3BlY3Rvci9mcm9udC1lbmQvVGV4dFByb21wdC5qcwppbmRleCAyYmJl
MDc1Li5iNmJjZDUyIDEwMDY0NAotLS0gYS9XZWJDb3JlL2luc3BlY3Rvci9mcm9udC1lbmQvVGV4
dFByb21wdC5qcworKysgYi9XZWJDb3JlL2luc3BlY3Rvci9mcm9udC1lbmQvVGV4dFByb21wdC5q
cwpAQCAtMjQyLDcgKzI0Miw3IEBAIFdlYkluc3BlY3Rvci5UZXh0UHJvbXB0LnByb3RvdHlwZSA9
IHsKICAgICAgICAgICAgICAgICB3b3JkUHJlZml4TGVuZ3RoID0gY29tbW9uUHJlZml4Lmxlbmd0
aDsKIAogICAgICAgICAgICAgICAgIGlmIChzZWxlY3Rpb24uaXNDb2xsYXBzZWQpCi0gICAgICAg
ICAgICAgICAgICAgIHZhciBjb21wbGV0aW9uVGV4dCA9IGNvbXBsZXRpb25zWzFdOworICAgICAg
ICAgICAgICAgICAgICB2YXIgY29tcGxldGlvblRleHQgPSBjb21wbGV0aW9uc1swXTsKICAgICAg
ICAgICAgICAgICBlbHNlIHsKICAgICAgICAgICAgICAgICAgICAgdmFyIGN1cnJlbnRUZXh0ID0g
ZnVsbFdvcmRSYW5nZS50b1N0cmluZygpOwogCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>