• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Photo booth puts NSTIFFPboardType info as property list on the drag board?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Use of Mac OS X 10.5 / Leopards Garbage Collection Considered Harmful
  • Next by Date: Re: Use of Mac OS X 10.5 / Leopards Garbage Collection Considered Harmful
  • Previous by thread: Re: Core Animation layout behavior during live window resize
  • Next by thread: Autocomplete word as you are typing
  • Index(es):
    • Date
    • Thread