Bug 100778 - [WK2][Qt] Add drag&drop support to Flickable webView
Summary: [WK2][Qt] Add drag&drop support to Flickable webView
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sergio Villar Senin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-30 12:10 PDT by Sergio Villar Senin
Modified: 2012-11-28 18:25 PST (History)
8 users (show)

See Also:


Attachments
Patch (1.43 KB, patch)
2012-11-13 17:51 PST, Sergio Villar Senin
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.