Re: CFPasteboardResolveAllPromisedData crash
Re: CFPasteboardResolveAllPromisedData crash
- Subject: Re: CFPasteboardResolveAllPromisedData crash
- From: David Kocher <email@hidden>
- Date: Mon, 31 Jan 2005 17:05:35 +0100
Adam et al,
Thanks a lot for the info; it solves the problem as advertised. I have
implemented it in finishedDraggingImage: of the NSDraggingSource
delegate
public void finishedDraggingImage(NSImage image, NSPoint point, int
operation) {
NSPasteboard.pasteboardWithName(NSPasteboard.DragPboard).declareTypes(nu
ll, null);
}
-dk
On 31. Jan 2005, at 16:44, Adam R. Maxwell wrote:
On Jan 31, 2005, at 07:28, David Kocher wrote:
Oh well, that's true. I can now reproduce the bug here by myself when
dragging more than one item. However I can't seem to find the
discussion about in the archives. Would be nice if you can point me
to the right URL.
Another workaround is to call
[[NSPasteboard pasteboardWithName:NSDragPboard] declareTypes:nil
owner:nil]
in -draggedImage:endedAt:operation:
Here's a link to the discussion, though
<http://www.cocoabuilder.com/archive/message/2004/10/5/118857>; I have
cause to remember this one.
Adam
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden