>> It almost looks like the ability to pre-select a file was deliberately 
>> removed from the NSOpenPanel API.


Whatever the reason for removing this feature from NSOpenPanel, it’s a nuisance 
for users. There are many good reasons for wanting to pre-select a particular 
file when presenting an open dialog to the user. Without this feature the user 
has to scroll though a potentially large file list looking for the right entry, 
one whose name may not be familiar to the user.

If this change was made in the interest of security and sandboxing, how about 
just exposing an API that allows an app to select a file for which the app 
already has security-scoped bookmark data? That doesn’t cover all the use 
cases, but it would at least improve the user experience when the user needs to 
validate or change an existing preference.

I filed a radar on this issue forever ago and naturally it was closed as a 
duplicate. As everyone says, maybe file your own radar report to register a 
vote with Apple. Though considering how long this functionality has gone 
missing, I doubt we’ll see any changes– especially if Apple considers this any 
kind of security risk.

~Martin Wierschin


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to