Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can I rename a file?




On Sep 30, 2005, at 6:27 PM, Laurence Harris wrote:

On 9/30/05 1:15 PM, Patrick McClaughry didst favor us with:

That's a great question. From my reading of DesktopServices, no, the
name-lock Finder flag is no longer consulted under X. Note that I
didn't try this first hand yet though.

The Finder ignores it. Is this a bug, another classic feature that's been
quietly dropped, or one of those "we haven't decided what to do about it"
issues? I'm not just asking out of curiosity. My application let's people
see the name-locked bit, but if it's been declared permanently
deprecated/obsolete I want to remove that from my application.


Larry

I have examined all the Finder* sources going back to 9.0 and the isNameLocked bit in the FinderInfo was lost in the transition from 9 to X 10.0. By all indications the loss was unintentional (a bug) and there is no reason I can see why we could not return to checking the bit. Of course the bit is just one of the now various reasons the user might not be able to rename an item, but that's not a surprise, I imagine, to anyone on this list.


* I say 'Finder' when in fact under X this is really DesktopServices, the private framework used by the Finder and Nav and Open/Save. Under 9 it really was the Finder proper that inspected this data. I cannot comment with certainty about what DesktopServices plans to do or not do since DesktopServices != Finder but Laurence's bug has been routed to the correct place.

\pat
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.