Drag&Drop procedure fired twice right after another
Drag&Drop procedure fired twice right after another
- Subject: Drag&Drop procedure fired twice right after another
- From: Dominik Pich <email@hidden>
- Date: Thu, 1 Mar 2007 18:37:29 +0100
Hi,
we have a custom view that accepts path via drag&drop and displays
images.
Up on draggingEntered we look for the specific data on the pasteboard,
in prepareForDragOperation we return YES
in wantsPeriodicUpdates we return NO
and in draggingUpdated content is added for preview
in performDragOperation we do nothing really nothing
in ConcludeDragging we finish by keeping the previewed data already
in the view
The issue is that when i move the mouse while already having released
the button the above is all done again:
2007-03-01 16:37:20.426 draggingEntered
2007-03-01 16:37:20.856 performDragOperation
2007-03-01 16:37:20.906 concludeDragOperation
2007-03-01 16:37:20.946 draggingEntered
2007-03-01 16:37:21.035 performDragOperation
2007-03-01 16:37:21.081 concludeDragOperation
Any idea WHY the whole procedure happens twice?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden