Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFPasteboardResolveAllPromisedData crash



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: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >CFPasteboardResolveAllPromisedData crash (From: David Kocher <email@hidden>)
 >Re: CFPasteboardResolveAllPromisedData crash (From: Nick Zitzmann <email@hidden>)
 >Re: CFPasteboardResolveAllPromisedData crash (From: David Kocher <email@hidden>)
 >Re: CFPasteboardResolveAllPromisedData crash (From: "Adam R. Maxwell" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.