| Summary: | [CommonNavigator] Mac OSX: Dragging file in Project Explorer creates backwards animation | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Megan Mickelson <Megan.C.Mickelson> | ||||
| Component: | UI | Assignee: | Francis Upton IV <francisu> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Prakash Rangaraj <prakash> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | francisu, lshanmug, prakash, Thomas.M.Crockett | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | 3.7 M7 | ||||||
| Hardware: | Macintosh | ||||||
| OS: | Mac OS X | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Megan Mickelson
Hmm, this could be a CNF problem. Especially since the Package Explorer behaves differently. It is definitely a CNF problem. As per Lakshmi, this feedback happens when the drop operation fails. In SWT terms DropTargetEvent.detail field is set to DND.DROP_NONE inside the DropTargetListener.drop() method.
ResourceDropAdapterAssistant.handleDrop() method does that at line no 218. Commenting that fixes this bug.
Francis,
Is that the right solution?
(In reply to comment #3) > As per Lakshmi, this feedback happens when the drop operation fails. In SWT > terms DropTargetEvent.detail field is set to DND.DROP_NONE inside the > DropTargetListener.drop() method. > > ResourceDropAdapterAssistant.handleDrop() method does that at line no 218. > Commenting that fixes this bug. > > Francis, > > Is that the right solution? It seems right to me. In looking at the code I can't understand why that line is there, and I put it there in response to fixing bug 258017. I will remove it and retest DnD everywhere tomorrow so we can have this fixed for M7. I can test on Linux, Mac and Windows so that should cover it. If that works, I will go ahead and commit the change. Created attachment 193780 [details]
Patch
Here is the patch you propose (in case we want to backport this)
Tested on Windows, Mac OSX, Linux Released to HEAD 3.7M7 Thanks to Prakash for the fix. |