Skip navigation.
 
mlPhoto booth puts NSTIFFPboardType info as property list on the drag board?
FROM : Philip Dow
DATE : Wed Feb 06 21:40:16 2008

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

Related mailsAuthorDate
No related mails found.