<?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>22754</bug_id>
          
          <creation_ts>2008-12-09 01:56:38 -0800</creation_ts>
          <short_desc>Keyboard shortcut for Element finder</short_desc>
          <delta_ts>2009-11-19 18:13:23 -0800</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>P5</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jaakko Holster">holster</reporter>
          <assigned_to name="Brian Weinstein">bweinstein</assigned_to>
          <cc>bweinstein</cc>
    
    <cc>joepeck</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>101953</commentid>
    <comment_count>0</comment_count>
    <who name="Jaakko Holster">holster</who>
    <bug_when>2008-12-09 01:56:38 -0800</bug_when>
    <thetext>I wish the &quot;Select an element in the page to inspect it&quot; button (magnifier icon in the bottom toolbar) has a keyboard shortcut, similar to Firebug&apos;s cmd+shift+c. I bet for many web developers it is one of the most used function. Maybe the Develop menu could contain &quot;Select element&quot; item, so people were able to set a shortcut.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131780</commentid>
    <comment_count>1</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2009-07-14 18:11:55 -0700</bug_when>
    <thetext>Is this a Safari feature or a WebKit one?  I have a feeling this is mostly going to be Safari that has to hook in.  Maybe WebKit has to provide a hook?  I&apos;ll see if I can get someone to mention what would need to be done.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165129</commentid>
    <comment_count>2</comment_count>
    <who name="Brian Weinstein">bweinstein</who>
    <bug_when>2009-11-19 15:41:48 -0800</bug_when>
    <thetext>This should be possible at the WebKit level, just like (Command/Control)-F takes you to the top right search of the Inspector.

I&apos;m not sure the shortcut to use here, maybe (Command/Control)-I, for inspect?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165130</commentid>
    <comment_count>3</comment_count>
    <who name="Brian Weinstein">bweinstein</who>
    <bug_when>2009-11-19 15:42:31 -0800</bug_when>
    <thetext>Or we could use Command-Shift-C, like Firebug users are used to. I can lay the groundwork, but some other opinions on this would be nice.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165143</commentid>
    <comment_count>4</comment_count>
    <who name="Brian Weinstein">bweinstein</who>
    <bug_when>2009-11-19 16:35:58 -0800</bug_when>
    <thetext>Since this is a request from Firebug switchers, probably should give them the shortcut they are used to - patch coming momentarily.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165146</commentid>
    <comment_count>5</comment_count>
      <attachid>43533</attachid>
    <who name="Brian Weinstein">bweinstein</who>
    <bug_when>2009-11-19 16:38:24 -0800</bug_when>
    <thetext>Created attachment 43533
[PATCH] Fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165167</commentid>
    <comment_count>6</comment_count>
    <who name="Brian Weinstein">bweinstein</who>
    <bug_when>2009-11-19 18:13:23 -0800</bug_when>
    <thetext>Landed in r51225. I&apos;m not sure if we need to support a better shortcut that works more of the time, but I&apos;ll close the bug for now.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>43533</attachid>
            <date>2009-11-19 16:38:24 -0800</date>
            <delta_ts>2009-11-19 17:56:42 -0800</delta_ts>
            <desc>[PATCH] Fix</desc>
            <filename>inspect_shortcut.patch</filename>
            <type>text/plain</type>
            <size>1843</size>
            <attacher name="Brian Weinstein">bweinstein</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA1MTIyMCkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTYgQEAKKzIwMDktMTEtMTkgIEJyaWFuIFdlaW5zdGVpbiAgPGJ3ZWluc3RlaW5A
YXBwbGUuY29tPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAg
ICAgIEZpeGVzIDxodHRwOi8vd2Via2l0Lm9yZy9iLzIyNzU0Pi4KKwkJV2ViIEluc3BlY3Rvcjog
S2V5Ym9hcmQgc2hvcnRjdXQgZm9yIEVsZW1lbnQgZmluZGVyLgorCQkKKwkJVXNlIENvbW1hbmQg
KyBTaGlmdCArIEMgYXMgYSBzaG9ydGN1dCBmb3IgTm9kZSBTZWFyY2gsIHRvIAorCQltYXRjaCB0
aGUgRmlyZWJ1ZyBzaG9ydGN1dCB0byBkbyB0aGUgc2FtZSB0aGluZy4KKworICAgICAgICAqIGlu
c3BlY3Rvci9mcm9udC1lbmQvRWxlbWVudHNQYW5lbC5qczoKKyAgICAgICAgKFdlYkluc3BlY3Rv
ci5FbGVtZW50c1BhbmVsLnByb3RvdHlwZS5oYW5kbGVLZXlFdmVudCk6CisKIDIwMDktMTEtMTkg
IEJldGggRGFraW4gIDxiZGFraW5AYXBwbGUuY29tPgogCiAgICAgICAgQnVpbGQgZml4LiBObyBy
ZXZpZXcgbmVlZGVkLgpJbmRleDogV2ViQ29yZS9pbnNwZWN0b3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bnQubWV0YUtleSAmJiAhZXZlbnQuYWx0S2V5ICYmIGV2ZW50LnNoaWZ0S2V5OworCisgICAg
ICAgICAgICBpZiAoaXNOb2RlU2VhcmNoS2V5KSB7CisgICAgICAgICAgICAgICAgdGhpcy5fbm9k
ZVNlYXJjaEJ1dHRvbkNsaWNrZWQoZXZlbnQpOworICAgICAgICAgICAgICAgIGV2ZW50LnByZXZl
bnREZWZhdWx0KCk7CisgICAgICAgICAgICAgICAgcmV0dXJuOworICAgICAgICAgICAgfQorICAg
ICAgICB9CisgICAgICAgIAogICAgICAgICB0aGlzLnRyZWVPdXRsaW5lLmhhbmRsZUtleUV2ZW50
KGV2ZW50KTsKICAgICB9LAogCg==
</data>
<flag name="review"
          id="25261"
          type_id="1"
          status="+"
          setter="darin"
    />
    <flag name="commit-queue"
          id="25262"
          type_id="3"
          status="-"
          setter="bweinstein"
    />
          </attachment>
      

    </bug>

</bugzilla>