Bug 52094 - [GTK] Dragging images and links results in a DataTransfer object containing a non-empty files array
Summary: [GTK] Dragging images and links results in a DataTransfer object containing a...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P3 Normal
Assignee: Nobody
URL:
Keywords: Gtk, LayoutTestFailure
Depends on: 40833
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-07 17:45 PST by Martin Robinson
Modified: 2017-03-11 10:50 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Robinson 2011-01-07 17:45:04 PST
This can be observed by the failure of editing/pasteboard/files-during-page-drags.html.
Comment 1 Antaryami Pandia (apandia) 2012-04-25 03:38:29 PDT
Hi Martin,
As per my understanding when doing a drag, the "EventHandler::performDragAndDrop", should be called. But in this case it's not getting called. I tried further debugging and found that "beginDragWithFilesCallback" (of DumpRendererTree/gtk/eventsender.cpp) is also not getting called.

I am using the below commands to debug the test using dumprenderertree:-

1. gdb WebKitBuild/Debug/Programs/DumpRenderTree
2. b EventSender.cpp:473 // beginDragWithFilesCallback method

3. r PATH-TO-LOCATION/LayoutTests/editing/pasteboard/drag-files-to-editable-element.html

Please let me know if I am missing something.
Any pointers will be helpful.

Thanks
-Antaryami