[Webkit-unassigned] [Bug 68552] [WK2] [Mac] Support drag in mouse events for WebKit2 EventSender

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 30 10:44:43 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=68552


Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ap at webkit.org,
                   |                            |enrica at apple.com




--- Comment #2 from Alexey Proskuryakov <ap at webkit.org>  2013-08-30 10:44:05 PST ---
We currently have many drag and drop tests enabled and even "passing", but mostly by accident.

I have a patch that implements WebKit1-like event saving and replaying. This doesn't quite work, because WebDragClient messages from WebProcess are asynchronous, and are delivered out of order in WKTR, which is mostly synchronous when it comes to event handling.

The ideal way to fix this would involve refactoring WebKit2 to use NSDragSession API, which is not modal, and thus doesn't need mouse event saving for tests. There are exciting opportunities for cleanup in WebKit here, as the new API doesn't use NSPasteboard for drag initiation, so we could somewhat decouple drag&drop from clipboard (the only caveat being that DOM APIs expose them as one class, so WebCore layer has to respect that).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list