Can't choose multiple volumes?
Can't choose multiple volumes?
- Subject: Can't choose multiple volumes?
- From: "John C. Daub" <email@hidden>
- Date: Sat, 25 Oct 2003 08:13:12 -0500
Hello.
I'm using an NSOpenPanel as a "choose" dialog. I want to allow the user to
select any sort of file system item, be it a file, folder, or volume. I've
got the panel successfully working, it allows multiple selection, of course
it allows the user to choose directories and folders, it's set to resolve
aliases, treats packages as packages (opaque).
If I select multiple files and/or folders, it works just fine.
If I select a single volume, it works fine.
However, if I select multiple volumes, as soon as I make the 2nd selection
in the choose dialog (i.e. click once to select a volume, cmd-click to
select the second volume) I'll see the following message in my Console.app:
*** -[NSFileManager fileSystemRepresentationWithPath:] nil or empty path
argument
It's not directly coming from my app... it seems to be something with the
NSOpenPanel, especially since when I then call [panel filenames] the array
contains nil filenames.
I'm running on Mac OS X 10.2.6. Is this a known bug? Is there a workaround?
Has it been fixed in Panther (I don't have it yet to check myself)?
Thanx. :-)
--
John C. Daub }:-)>=
<
mailto:email@hidden> <
http://www.hsoi.com/>
"You really have to be an egomaniac to do this kind of stuff." - Frank
Miller
_______________________________________________
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.