<?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>60506</bug_id>
          
          <creation_ts>2011-05-09 14:40:09 -0700</creation_ts>
          <short_desc>REGRESSION: drag caret isn&apos;t drawn in Mac DRT</short_desc>
          <delta_ts>2011-08-05 12:06:15 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>aroben</cc>
    
    <cc>darin</cc>
    
    <cc>enrica</cc>
    
    <cc>eric</cc>
    
    <cc>mjs</cc>
    
    <cc>sam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>400764</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-05-09 14:40:09 -0700</bug_when>
    <thetext>Mac DumpRenderTree has regressed and no longer draws drag caret:
http://trac.webkit.org/browser/trunk/LayoutTests/platform/mac/editing/selection/drag-in-iframe-expected.png

This is unrelated to the regression introduced in r86039, which is tracked in the bug 60505.

As far as I investigated, In mouseMoveToX (DumpRenderTree/mac/EventSendingController.mm), draggingInfo is null and draggingUpdated is never called.  Even if I forced to call draggingUpdated, dragData-&gt;containsCompatibleContent() returns false in DragController::canProcessDrag (which is in turn called by DragController::concludeEditDrag) and never sets drag caret.

Unfortunately, I don&apos;t know enough about Mac port to fix this regression.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>400806</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-05-09 15:21:34 -0700</bug_when>
    <thetext>Do you happen to know what revision caused the regression? Perhaps it can be just reverted?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>400808</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-05-09 15:22:03 -0700</bug_when>
    <thetext>Also, does this only affect DRT, or the browser, too?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>400814</commentid>
    <comment_count>3</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-05-09 15:28:55 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Do you happen to know what revision caused the regression? Perhaps it can be just reverted?

Unfortunately no.  I&apos;m suspecting http://trac.webkit.org/changeset/43890 but that&apos;s just my speculation.  It didn&apos;t help that Mac test bots don&apos;t run pixel tests.  We should add a drag caret position in render tree dump in the future so that render tree dump difference catch this kind of regression in the future.

(In reply to comment #2)
&gt; Also, does this only affect DRT, or the browser, too?

This bug only affects DRT.  It&apos;s not updating DragCaretController properly.  However, there is a pending bug 60505 that broke this feature (due to this feature not being tested).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>