[Webkit-unassigned] [Bug 40401] New: REGRESSION: [Qt] When dragging onto a page that handles the drag in Javascript it will be a move and not a copy by default

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 9 22:26:26 PDT 2010


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

           Summary: REGRESSION: [Qt] When dragging onto a page that
                    handles the drag in Javascript it will be a move and
                    not a copy by default
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows Vista
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: qt-info at nokia.com


Created an attachment (id=58328)
 --> (https://bugs.webkit.org/attachment.cgi?id=58328)
Example HTML

[Qt] When dragging onto a page that handles the drag in Javascript it will be a move and not a copy by default.  This is fine in Qt 4.6.3, but not in Qt 4.7.0.

Attached is a test html file, just drag a file into the draggable area (you should see some debug in the window) and then drop, this will cause the file to be deleted as it was a move event.  Whereas in Qt 4.6.3 it was a copy event.

The attached patch solves the problem by using the more correct acceptProposedAction() instead of accept().

-- 
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