Photo booth puts NSTIFFPboardType info as property list on the drag board?
Photo booth puts NSTIFFPboardType info as property list on the drag board?
- Subject: Photo booth puts NSTIFFPboardType info as property list on the drag board?
- From: Philip Dow <email@hidden>
- Date: Wed, 6 Feb 2008 12:40:16 -0800
Before I file a bug report I was wondering if someone might be able to
shed some light on the behavior.
I'm noticing that when I drag photo booth clips from the rack at the
bottom of the window, photo booth writes NSTIFFPboardType info to the
drag pasteboard. NSImage's canInitWithPasteboard returns yes for the
info, but then actually initializing an image with the pasteboard
produces an unusable object without image representations associated
with it. Trying to initialize an image rep results in a nil value.
Using Clipboard Viewer, it seems that Photo Booth is writing property
list data -- an array -- to the pasteboard under the NSTIFFPboardType
data type. Is this correct behavior?
If you drag a photo out of Photo Booth from the main image view, the
drag board also receives NSTIFFPboardType data and it is in the
correct format. One can initialize an image directly from the
pasteboard with NSImage's initWithPasteboard:
I'm wondering if this is a Photo Booth bug or if there is a correct
way to initialize property list NSTIFFPboardType data.
~Phil
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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