Problems with NSPathControl
Problems with NSPathControl
- Subject: Problems with NSPathControl
- From: Dave DeLong <email@hidden>
- Date: Mon, 12 Jul 2010 14:26:01 -0600
Hi everyone,
I have an NSPathControl set to the Pop Up style, with an initial path of "/Users/dave". It's restricted to items of type "public.folder". When I run this project and interact with the path control, I see a menu like this:
Choose....
----------------------------
dave
Users
(Volume name)
(Computer name)
The "Choose..." item brings up a standard open panel which restricts selection to folders (as specified by the allowedTypes:). This works correctly, and the path control updates to reflect the newly chosen item.
However, when I try to select something from the bottom portion of the menu, like "Users", the menuitem highlight does its little flickering thing to indicate that the item was chosen, but the path doesn't change.
Am I correct in expecting that choosing an item from the menu should change the path of the control? If that's a correct assumption, then do you have any suggestions about why it's not behaving properly? By own attempts to debug this (introspecting the menu, pathcontrol, etc) have been fruitless.
Thanks,
Dave DeLong
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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