WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
30102
[Win] Drag cursor does not show not-allowed cursor on invalid drag-and-drop operation.
https://bugs.webkit.org/show_bug.cgi?id=30102
Summary
[Win] Drag cursor does not show not-allowed cursor on invalid drag-and-drop o...
Daniel Bates
Reported
2009-10-05 18:03:57 PDT
The allowed effects in WebDragClient::startDrag are hard-coded to be DROPEFFECT_COPY | DROPEFFECT_LINK | DROPEFFECT_MOVE. Instead, the list of allowed drop effects should be determined by the allowed operations of the drag source (i.e. event.dataTransfer.effectsAllowed).
Attachments
Patch with manual test case
(8.33 KB, patch)
2009-10-05 18:35 PDT
,
Daniel Bates
no flags
Details
Formatted Diff
Diff
Manual test case (included in patch)
(4.07 KB, text/html)
2009-10-05 18:39 PDT
,
Daniel Bates
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Daniel Bates
Comment 1
2009-10-05 18:04:10 PDT
<
rdar://problem/5015957
>
Daniel Bates
Comment 2
2009-10-05 18:35:13 PDT
Created
attachment 40674
[details]
Patch with manual test case I could not think of a good name for the function draggingSourceOperationMaskToDragCursors in file WebDragClient.cpp. I am open to suggestions. We cannot test this using DRT because DRT looks at the programmatic drop cursor and until
bug #24731
is fixed this value is hard-coded to DragOperationCopy. That is, there is a discrepancy in the Windows build between the Windows API-based drop effect and the WebKit drop effect. Because DRT cannot read the screen buffer to determine the cursor, a manual test is needed.
Daniel Bates
Comment 3
2009-10-05 18:39:04 PDT
Created
attachment 40675
[details]
Manual test case (included in patch) For convenience, here is the test case included in the patch.
Daniel Bates
Comment 4
2009-10-07 15:27:12 PDT
Comment on
attachment 40674
[details]
Patch with manual test case Clearing flags on attachment: 40674 Committed
r49268
: <
http://trac.webkit.org/changeset/49268
>
Daniel Bates
Comment 5
2009-10-07 15:27:16 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug