<?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>30735</bug_id>
          
          <creation_ts>2009-10-23 20:13:43 -0700</creation_ts>
          <short_desc>Web Inspector: hovering in the DOM tree it is very hard to double-click to edit</short_desc>
          <delta_ts>2009-10-24 20:01:13 -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>0</everconfirmed>
          <reporter name="Timothy Hatcher">timothy</reporter>
          <assigned_to name="Timothy Hatcher">timothy</assigned_to>
          <cc>aroben</cc>
    
    <cc>bweinstein</cc>
    
    <cc>joepeck</cc>
    
    <cc>pfeldman</cc>
    
    <cc>rik</cc>
    
    <cc>timothy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>157413</commentid>
    <comment_count>0</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2009-10-23 20:13:43 -0700</bug_when>
    <thetext>When hovering in the DOM tree it is very hard to double-click to edit now. The other day I was editing the Inspector with the Inspector to quickly test things for the Timeline mock-up. And I was very frustrated when I went to double-click on an attribute or text node that it would shift under my and I might miss it.

I think we need to rethink the hover to add a new attribute changes. I feel this was better when it didn&apos;t shift so much, but since it changed to: ?=&quot;&quot; it is more likely going to shift and rewrap.

Options I see are:

- Some control show up on hover that does not affect layout. THe control could have other things like &quot;New Child&quot;, etc in there.
- Move the controls to the right end of the row, or the left before the node.

(There is also a bug when the hover causes the text to wrap to a new line. THer selection highlight does not grow, so you don&apos;t see the white text on the new line. updateSelection() needs called.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157424</commentid>
    <comment_count>1</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2009-10-23 22:13:13 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; When hovering in the DOM tree it is very hard to double-click to edit now. The
&gt; other day I was editing the Inspector with the Inspector to quickly test things
&gt; for the Timeline mock-up. And I was very frustrated when I went to double-click
&gt; on an attribute or text node that it would shift under my and I might miss it.
&gt; 
&gt; I think we need to rethink the hover to add a new attribute changes. I feel
&gt; this was better when it didn&apos;t shift so much, but since it changed to: ?=&quot;&quot; it
&gt; is more likely going to shift and rewrap.
&gt; 

Actually, now that it has a timeout you have at least some chance of hitting what you want.

&gt; Options I see are:
&gt; 
&gt; - Some control show up on hover that does not affect layout. THe control could
&gt; have other things like &quot;New Child&quot;, etc in there.
&gt; - Move the controls to the right end of the row, or the left before the node.
&gt; 
&gt; (There is also a bug when the hover causes the text to wrap to a new line. THer
&gt; selection highlight does not grow, so you don&apos;t see the white text on the new
&gt; line. updateSelection() needs called.)

I don&apos;t think this operation should pop up on hover at all - it is not that important. I was thinking about a small &quot;New&quot; popup menu when user clicks &quot;+&quot; or &quot;Insert&quot; or win? Cmd+N would be too much I guess.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157430</commentid>
    <comment_count>2</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2009-10-23 23:20:58 -0700</bug_when>
    <thetext>I think the timeout makes it tricky. Since It is fine for a bit, then by the time I double-click it changes.

Not having it on hover would be fine too, if we find a discoverable way to do it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157452</commentid>
    <comment_count>3</comment_count>
      <attachid>41783</attachid>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2009-10-24 10:08:37 -0700</bug_when>
    <thetext>Created attachment 41783
Proposed Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157529</commentid>
    <comment_count>4</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2009-10-24 20:01:13 -0700</bug_when>
    <thetext>Committed r50032: &lt;http://trac.webkit.org/changeset/50032&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>41783</attachid>
            <date>2009-10-24 10:08:37 -0700</date>
            <delta_ts>2009-10-24 15:52:18 -0700</delta_ts>
            <desc>Proposed Patch</desc>
            <filename>bug-30735-20091024100836.patch</filename>
            <type>text/plain</type>
            <size>2662</size>
            <attacher name="Timothy Hatcher">timothy</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
OGY3MzU5MS4uYTY3OGE4YyAxMDA2NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvV2Vi
Q29yZS9DaGFuZ2VMb2cKQEAgLTEsNSArMSwxOSBAQAogMjAwOS0xMC0yNCAgVGltb3RoeSBIYXRj
aGVyICA8dGltb3RoeUBhcHBsZS5jb20+CiAKKyAgICAgICAgQ2FsbCB1cGRhdGVTZWxlY3Rpb24o
KSBpbiBhIGZldyBwbGFjZXMgc28gaG92ZXJpbmcgaW4gdGhlIFdlYiBJbnNwZWN0b3IncworICAg
ICAgICBFbGVtZW50cyBwYW5lbCBhbHdheXMgaGFzIHRoZSBjb3JyZWN0IHJvdyBzZWxlY3Rpb24g
aGVpZ2h0LgorCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9p
ZD0zMDczNQorCisgICAgICAgIFJldmlld2VkIGJ5IE5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wZWN0b3IuRWxlbWVudHNUcmVlRWxlbWVu
dC5wcm90b3R5cGUgPSB7CiAgICAgICAgICAgICB0YWcuYXBwZW5kQ2hpbGQobm9kZSk7CiAgICAg
ICAgICAgICB0YWcuYXBwZW5kQ2hpbGQoZG9jdW1lbnQuY3JlYXRlVGV4dE5vZGUoJz4nKSk7CiAg
ICAgICAgIH0KKworICAgICAgICB0aGlzLnVwZGF0ZVNlbGVjdGlvbigpOwogICAgIH0sCiAKICAg
ICBfc3RhcnRFZGl0aW5nRnJvbUV2ZW50OiBmdW5jdGlvbihldmVudCwgdHJlZUVsZW1lbnQpCmRp
ZmYgLS1naXQgYS9XZWJDb3JlL2luc3BlY3Rvci9mcm9udC1lbmQvaW5zcGVjdG9yLmNzcyBiL1dl
YkNvcmUvaW5zcGVjdG9yL2Zyb250LWVuZC9pbnNwZWN0b3IuY3NzCmluZGV4IDEzMDg3NTkuLjky
MzU2NGYgMTAwNjQ0Ci0tLSBhL1dlYkNvcmUvaW5zcGVjdG9yL2Zyb250LWVuZC9pbnNwZWN0b3Iu
Y3NzCisrKyBiL1dlYkNvcmUvaW5zcGVjdG9yL2Zyb250LWVuZC9pbnNwZWN0b3IuY3NzCkBAIC0x
MTYzLDYgKzExNjMsNyBAQCBib2R5LmRyYXdlci12aXNpYmxlICNkcmF3ZXIgewogLmFkZC1hdHRy
aWJ1dGUgewogICAgIG1hcmdpbi1sZWZ0OiAxcHg7CiAgICAgbWFyZ2luLXJpZ2h0OiAxcHg7Cisg
ICAgd2hpdGUtc3BhY2U6IG5vd3JhcDsKIH0KIAogLnBsYWNhcmQgew==
</data>
<flag name="review"
          id="23239"
          type_id="1"
          status="+"
          setter="pfeldman"
    />
          </attachment>
      

    </bug>

</bugzilla>