<?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>62860</bug_id>
          
          <creation_ts>2011-06-17 06:35:00 -0700</creation_ts>
          <short_desc>Web Inspector: Highlighting broken while navigating the tabs</short_desc>
          <delta_ts>2011-06-30 01:31:25 -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></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Adaikin">aandrey</reporter>
          <assigned_to name="Pavel Podivilov">podivilov</assigned_to>
          <cc>apavlov</cc>
    
    <cc>bweinstein</cc>
    
    <cc>joepeck</cc>
    
    <cc>keishi</cc>
    
    <cc>loislo</cc>
    
    <cc>pfeldman</cc>
    
    <cc>pmuellr</cc>
    
    <cc>podivilov</cc>
    
    <cc>rik</cc>
    
    <cc>timothy</cc>
    
    <cc>yurys</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>422588</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Adaikin">aandrey</who>
    <bug_when>2011-06-17 06:35:00 -0700</bug_when>
    <thetext>1. Go to a web page, open the DevTools on the Console tab
2. Hit refresh (Ctrl+F5) on the console tab
3. Go to the scripts tab, and observe the script is not highlighted

NOTE: This bug exists on Chrome 14.0.795.0 (Developer Build 4a50d71),
but not in Chrome 13.0.782.15 (Official Build 88529) dev.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>422594</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey Adaikin">aandrey</who>
    <bug_when>2011-06-17 06:58:37 -0700</bug_when>
    <thetext>Updated steps to repro:

1. Go to a web page, open the DevTools on the Scripts tab
2. Open console by pressing the ESC button
3. Go to Console tab
4. Hit refresh (Ctrl+F5) on the Console tab
5. Go to the Scripts tab, and observe that the script is not highlighted</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>422596</commentid>
    <comment_count>2</comment_count>
    <who name="Andrey Adaikin">aandrey</who>
    <bug_when>2011-06-17 07:01:45 -0700</bug_when>
    <thetext>I remember I fixed the very same bug here:
http://trac.webkit.org/browser/trunk/Source/WebCore/inspector/front-end/inspector.js#L1195

but somebody added this code snippet before it:

if (!panel.canShowAnchorLocation(anchor))
  return false;

thus I guess the bug appeared again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>422625</commentid>
    <comment_count>3</comment_count>
    <who name="Andrey Adaikin">aandrey</who>
    <bug_when>2011-06-17 08:02:54 -0700</bug_when>
    <thetext>And there should be no horizontal scroll in the Scripts panel bar to repro this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>422696</commentid>
    <comment_count>4</comment_count>
    <who name="Pavel Podivilov">podivilov</who>
    <bug_when>2011-06-17 10:25:20 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; I remember I fixed the very same bug here:
&gt; http://trac.webkit.org/browser/trunk/Source/WebCore/inspector/front-end/inspector.js#L1195
&gt; 
&gt; but somebody added this code snippet before it:
&gt; 
&gt; if (!panel.canShowAnchorLocation(anchor))
&gt;   return false;
&gt; 
&gt; thus I guess the bug appeared again.

It&apos;s unrelated since you don&apos;t click on the link in your scenario, you just switch tabs. I think this bug was there for a very long time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>422715</commentid>
    <comment_count>5</comment_count>
    <who name="Andrey Adaikin">aandrey</who>
    <bug_when>2011-06-17 10:45:01 -0700</bug_when>
    <thetext>Yes, you right. Then the this.drawer.immediatelyFinishAnimation() call should be removed from there, and added to the place where you switch the panels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>427809</commentid>
    <comment_count>6</comment_count>
      <attachid>98689</attachid>
    <who name="Pavel Podivilov">podivilov</who>
    <bug_when>2011-06-27 02:22:51 -0700</bug_when>
    <thetext>Created attachment 98689
Patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>430248</commentid>
    <comment_count>7</comment_count>
    <who name="Pavel Podivilov">podivilov</who>
    <bug_when>2011-06-30 01:31:25 -0700</bug_when>
    <thetext>Committed r90096: &lt;http://trac.webkit.org/changeset/90096&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>98689</attachid>
            <date>2011-06-27 02:22:51 -0700</date>
            <delta_ts>2011-06-27 02:34:56 -0700</delta_ts>
            <desc>Patch.</desc>
            <filename>patch</filename>
            <type>text/plain</type>
            <size>1193</size>
            <attacher name="Pavel Podivilov">podivilov</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJDb3JlL0No
YW5nZUxvZwppbmRleCBkNjFlMDc0Li4zMjFkODg0IDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViQ29y
ZS9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTQg
QEAKKzIwMTEtMDYtMjcgIFBhdmVsIFBvZGl2aWxvdiAgPHBvZGl2aWxvdkBjaHJvbWl1bS5vcmc+
CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgV2ViIElu
c3BlY3Rvcjogc291cmNlIGNvZGUgaXMg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XRpbmc7CiAgICAgICAgICAgICBkZWxldGUgdGhpcy5fY3Vy
cmVudEFuaW1hdGlvbjsKICAgICAgICAgICAgIHRoaXMuc3RhdGUgPSBmaW5hbFN0YXRlOwo=
</data>
<flag name="review"
          id="92964"
          type_id="1"
          status="+"
          setter="pfeldman"
    />
          </attachment>
      

    </bug>

</bugzilla>