[Webkit-unassigned] [Bug 63004] [Qt] Regression(60942) wrong default action for drag-and-drop.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 20 12:16:36 PDT 2011


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


Yael <yael.aharon at nokia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #97836|                            |review?
               Flag|                            |




--- Comment #1 from Yael <yael.aharon at nokia.com>  2011-06-20 12:16:36 PST ---
Created an attachment (id=97836)
 --> (https://bugs.webkit.org/attachment.cgi?id=97836&action=review)
Patch.

Added special handling for the case that dragOperation is not initialized.
Save the last dropOperation and pass it to the dropEvent, so that it can be accepted by QDrag.
Call event->accepted() and not event->acceptProposedAction(), because the later ignores the dropAction specified in JavaScript.

Tested with the test page attached to https://bugs.webkit.org/show_bug.cgi?id=40401 and did not see any issue.
Also manually tested all combinations of LayoutTests/fast/events/drag-and-drop.html and they all pass.

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