Bug 100778

Summary: [WK2][Qt] Add drag&drop support to Flickable webView
Product: WebKit Reporter: Sergio Villar Senin <svillar>
Component: WebKit QtAssignee: Sergio Villar Senin <svillar>
Status: RESOLVED FIXED    
Severity: Normal CC: abecsi, cmarcelo, hausmann, jturcotte, kenneth, menard, svillar, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Sergio Villar Senin 2012-10-30 12:10:31 PDT
Since bug 100296, the flickable webView has hover and mouse events enabled again. So I think this is a good moment to start thinking about how drag&drop could be handled for that view.

The WebCore&WebKit2 support seems to be in place (MiniBrowser --desktop works fine) so I guess this is a matter of defining which events/gestures would trigger a dragStart. Any suggestion?
Comment 1 Sergio Villar Senin 2012-11-13 17:51:13 PST
Created attachment 174039 [details]
Patch
Comment 2 Sergio Villar Senin 2012-11-13 17:56:27 PST
The result of this change can be tested with MiniBrowser on http;//html5demos.com/drag for example. The "--desktop" flag must be used because otherwise the events are processed by the flickable (see bug 100964 for more info).
Comment 3 Sergio Villar Senin 2012-11-27 16:34:16 PST
Any thoughts about this one?
Comment 4 Jocelyn Turcotte 2012-11-28 02:08:01 PST
Comment on attachment 174039 [details]
Patch

Looks good.
Comment 5 Sergio Villar Senin 2012-11-28 18:25:14 PST
Comment on attachment 174039 [details]
Patch

Clearing flags on attachment: 174039

Committed r136083: <http://trac.webkit.org/changeset/136083>
Comment 6 Sergio Villar Senin 2012-11-28 18:25:17 PST
All reviewed patches have been landed.  Closing bug.