[ros-bugs] [Bug 1211] Halt whilst trying to move icons on desktop

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Tue Jun 19 18:02:51 CEST 2007


http://www.reactos.org/bugzilla/show_bug.cgi?id=1211





------- Comment #11 from timo.kreuzer at web.de  2007-06-19 18:02 CET -------
I think I found the problem.
If an item is dragged the target is informed by ISVDropTarget_DragEnter
This calls drag_notify_subitem() where the current subitem is searched.
If not dragged over any subitem, pCurrentDropTarget is set to the IDropTarget
interface of the parent ShellFolder.
If it fails (no IDropTarget interface available) the funtion returns with
pCurrentDropTarget == NULL. 
(from wine:     /* If anything failed, pCurDropTarget should be NULL now, which
ought to be a save state. */)
On ISVDropTarget_DragLeave and on ISVDropTarget_Drop, pCurrentDropTarget is
assumed to be pointing to an IDropTarget (This->pCurDropTarget->lpVtbl->Drop())
So it needs to be checked first if(pCurrentDropTarget == NULL)


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
You are the assignee for the bug, or are watching the assignee.


More information about the Ros-bugs mailing list