Based on a downstream report, https://bugs.kde.org/show_bug.cgi?id=237759, dragging and dropping any image from any website using QtWebKit from the 2.2 branch produces multiple drop events. This can be reproduced using QtTestBrowser and visiting any site that contains an image. Though I highly doubt it, this issue could potentially be solved the patch that was proposed to fix bug# 58732, but was never landed in webkit ?? Dunno, but the issue is 100% perence reproducable for me.
Do we have a test case for this?
Created attachment 95271 [details] Test case
Can you please give more clarity on steps to reproduce the problem? For example, I have opened QtTestBrowser and visited a site that has images. Am I expected to drag the image into some folder?
(In reply to comment #3) > Can you please give more clarity on steps to reproduce the problem? For example, I have opened QtTestBrowser and visited a site that has images. Am I expected to drag the image into some folder? Yes. There is no need to visit another site. Simply click on the attached test case file, then drag and drop the image to a folder of your choice.
Finally able to reproduce the problem on trunk. Had problems seeing the bug in nautilus initially. Had to change the folder permissions to be able to see the bug.
This looks suspicious: <http://trac.webkit.org/changeset/49201>
(In reply to comment #6) > This looks suspicious: <http://trac.webkit.org/changeset/49201> Your suspicion is right. The image url is getting appended twice in the above code.
Created attachment 95546 [details] Patch v01 for review The patch fixes problem which was caused by duplicate url entries.
Comment on attachment 95546 [details] Patch v01 for review r=me.
Comment on attachment 95546 [details] Patch v01 for review Clearing flags on attachment: 95546 Committed r87897: <http://trac.webkit.org/changeset/87897>
All reviewed patches have been landed. Closing bug.
(In reply to comment #10) > (From update of attachment 95546 [details]) > Clearing flags on attachment: 95546 > > Committed r87897: <http://trac.webkit.org/changeset/87897> No tests? Maybe a test like the one from bug #61314 could be used?
Revision r87897 cherry-picked into qtwebkit-2.2 with commit 11f8b63 <http://gitorious.org/webkit/qtwebkit/commit/11f8b63>