<?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>157179</bug_id>
          
          <creation_ts>2016-04-29 06:24:39 -0700</creation_ts>
          <short_desc>[GTK] Drag and drop can&apos;t be tested with WebKitTestRunner</short_desc>
          <delta_ts>2025-07-01 09:37:54 -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>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=42194</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk, LayoutTestFailure</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Garcia Campos">cgarcia</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>carlosg</cc>
    
    <cc>clopez</cc>
    
    <cc>dpino</cc>
    
    <cc>emilio</cc>
    
    <cc>lforschler</cc>
    
    <cc>magomez</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1188608</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-04-29 06:24:39 -0700</bug_when>
    <thetext>The problem is that GTK+ is emitting the drag and drop events, because the drag and drop context is not handling the synthetic events generated by the EventSenderProxy. So, for example, when we generate a GDK_MOTION_NOTIFY by EventSenderProxy::mouseMoveTo(), the GdkDragContext doesn&apos;t handle that event and DRAG_MOTION is not called preventing the rest of the drag and drop protocol from working properly. So, in our tests we are never emitting the ondragenter and ondragover. I don&apos;t know if we can emulate it somehow, but we currently have several tests in the TestExpectation file pointing to a fixed bug, so we should at least update them to point to this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1189710</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-05-03 02:08:58 -0700</bug_when>
    <thetext>Committed r200366: &lt;http://trac.webkit.org/changeset/200366&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1189711</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-05-03 02:11:25 -0700</bug_when>
    <thetext>webkit-patch closed this, I just updated the test expectations in r200366, re-opening.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1240866</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-10-16 20:29:26 -0700</bug_when>
    <thetext>Layout test plugins/mouse-events.html, marked against this bug, has been timing out for a while now, first recorded in r191879. Updating expectations accordingly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1275781</commentid>
    <comment_count>4</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2017-02-11 04:19:47 -0800</bug_when>
    <thetext>It seems in wayland dnd events are generated, but ends up crashing. Probably because synthesized events generated them, but I don&apos;t really know.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1284343</commentid>
    <comment_count>5</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2017-03-07 09:08:12 -0800</bug_when>
    <thetext>Expectations updated at: https://trac.webkit.org/changeset/213516/trunk/LayoutTests/platform/gtk-wayland/TestExpectations</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1544435</commentid>
    <comment_count>6</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2019-06-13 06:00:38 -0700</bug_when>
    <thetext>Adding proper expectations for these tests:

webkit.org/b/157179 editing/pasteboard/4989774.html [ Failure Pass ]
webkit.org/b/157179 editing/pasteboard/paste-line-endings-002.html [ Failure Pass ]
webkit.org/b/157179 editing/pasteboard/paste-list-002.html [ Failure Pass ]
webkit.org/b/157179 editing/pasteboard/paste-list-003.html [ Failure Pass ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1544451</commentid>
    <comment_count>7</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2019-06-13 06:57:26 -0700</bug_when>
    <thetext>(In reply to Miguel Gomez from comment #6)
&gt; Adding proper expectations for these tests:
&gt; 
&gt; webkit.org/b/157179 editing/pasteboard/4989774.html [ Failure Pass ]
&gt; webkit.org/b/157179 editing/pasteboard/paste-line-endings-002.html [ Failure
&gt; Pass ]
&gt; webkit.org/b/157179 editing/pasteboard/paste-list-002.html [ Failure Pass ]
&gt; webkit.org/b/157179 editing/pasteboard/paste-list-003.html [ Failure Pass ]

I&apos;ve moved these to https://bugs.webkit.org/show_bug.cgi?id=198828 in the expectations, as I think they aren&apos;t related to drag&amp;drop</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1579564</commentid>
    <comment_count>8</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2019-10-14 00:42:24 -0700</bug_when>
    <thetext>*** Bug 202898 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2127035</commentid>
    <comment_count>9</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2025-07-01 09:36:59 -0700</bug_when>
    <thetext>*** Bug 277403 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2127037</commentid>
    <comment_count>10</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2025-07-01 09:37:54 -0700</bug_when>
    <thetext>*** Bug 277405 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>