NSOpenPanel and aliases - bug??
NSOpenPanel and aliases - bug??
- Subject: NSOpenPanel and aliases - bug??
- From: Donald Hall <email@hidden>
- Date: Fri, 7 Mar 2003 22:25:08 -0700
I have an application written with the Dec 2001 dev tools that uses
NSOpenPanel for file selection:
result = [panel runModalForDirectory:defaultFolderPath
file:nil
types:nil];
On a 10.1.3 machine the open panel does not handle Macintosh aliases
correctly. If the alias is to a bundle-type application, I can
select the alias and it behaves just as a file does, though it has a
folder icon, not its proper icon. However, if the original file is
non-bundle application (e.g. an AppleScript application), the panel
seems to treat the alias as if it were a folder. It appears with a
triangle following it, and it you click on the alias name you get
another column which is blank.
On a 10.2.1 machine the latter works as expected as far as I can
tell. (However, the bundled application still appears in the panel
with a folder icon.)
Searching the mamasam archive leads me to believe this is a bug. If
so, can anyone tell me at which OS version it was corrected?
Thanks,
Don
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.