Re: Bookmark alias files v. Finder alias files
Re: Bookmark alias files v. Finder alias files
- Subject: Re: Bookmark alias files v. Finder alias files
- From: Michael Hall <email@hidden>
- Date: Sun, 15 Apr 2012 07:57:30 -0500
On Apr 15, 2012, at 7:36 AM, Shane Stanley wrote:
> On 15/04/2012, at 9:23 PM, Michael Hall wrote:
>
>> If your criteria is best variety of icons, then current could be argued buggy since it only has one icon resource to the Finder's two.
>
> But the Finder really only has one, twice.
> the Finder has *two* such ‘icns’ resources; one with ID -16496 and one with ID -16455. The two ‘icns’ resources appear to be identical,
Ah, I had remembered the two different id's but missed that the resources appear identical. If true possibly a bug.
A little more checking...
http://static.userland.com/Iowa/sourceListings/macbirdSource/Frontier SDK 4.1b1/Toolkits/Applet Toolkit/appletfilealias.c.html
#define kCustomAliasIconID -16496
Mention of -16545 here for example
http://www.cocoabuilder.com/archive/cocoa/15858-setting-file-icon.html
Again this seems to relate to custom icon id's so it is still possibly a duplicate bug. But you also still might have to do more digging to be sure having both id's doesn't have some special meaning to the Finder that is arguably non-buggy? Maybe some situation where having both id's means the Finder will correctly use the right icon where without the second one it wouldn't. Possibly an archaic situation so the newer code can omit it but the Finder has never been updated to change the archaic behavior? But it might take more verifying to be sure of which.
_______________________________________________
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