Re: tiffs on pasteboard
Re: tiffs on pasteboard
- Subject: Re: tiffs on pasteboard
- From: Alexander Spohr <email@hidden>
- Date: Fri, 20 Nov 2009 09:00:18 +0100
Am 20.11.2009 um 03:04 schrieb Chris Idou:
> But what are the rules and conventions? Why would Finder put the icon in the pasteboard on the assumption that is what the user wants, but TextEdit would paste in the actual file on the assumption that is what the user wants? It seems schizophrenic.
Yeah. Copying a 20MB image to the pasteboard would be what the user wants. Or better one Gig of video. I think not.
You think like a user (who would assume that the file is really on the pasteboard) and not like a developer (who should know that the pasteboard content has to be lightweight).
> I just want a list of rules of how to use the Pasteboard in a way that conforms to what users expect. If I start ignoring the TIFF part of the pasteboard in favor of the URL on the assumption that is what the user wants, why is the tiff there anyway?
The TIFF is a preview. The URL is the meat.
> And will that get me into trouble in other cases?
That depends only on the pasteboard provider. There is no strict rule. The provider does not know the recipient and therefore puts everything on the pasteboard that will satisfy the task the provider offers.
atze
_______________________________________________
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