NSOpenPanel and aliases
| Originator: | liam.list | ||
| Number: | rdar://11398659 | Date Originated: | 07-May-2012 09:11 PM |
| Status: | Open | Resolved: | |
| Product: | Dev Tools | Product Version: | |
| Classification: | Reproducible: | Always |
Summary: The NSOpenPanel docs[1] state that setting setResolvesAliases:NO does not resolve aliases. Whilst this is true if the alias is the leaf it does not apply when the node is in the path. The same behaviour is seen for symlinks, I can only conclude that this is either an error in the document or an error in the implementation. [1] https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSOpenPanel_Class/Reference/Reference.html#//apple_ref/occ/instm/NSOpenPanel/resolvesAliases Steps to Reproduce: Create a NSOpenPanel setting setResolvesAliases:NO open a file with either an alias or symlink in it's path. Expected Results: The symlink path Actual Results: The actual path before the leaf Regression: Notes:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!