• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to pre-select a file in NSOpenPanel -- specifically, a .app bundle?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to pre-select a file in NSOpenPanel -- specifically, a .app bundle?


  • Subject: Re: How to pre-select a file in NSOpenPanel -- specifically, a .app bundle?
  • From: Martin Wierschin <email@hidden>
  • Date: Fri, 24 Jun 2016 15:22:18 -0700

>> 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 (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


  • Follow-Ups:
    • Re: How to pre-select a file in NSOpenPanel -- specifically, a .app bundle?
      • From: Andy Lee <email@hidden>
References: 
 >How to pre-select a file in NSOpenPanel -- specifically, a .app bundle? (From: Andy Lee <email@hidden>)
 >Re: How to pre-select a file in NSOpenPanel -- specifically, a .app bundle? (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: How to pre-select a file in NSOpenPanel -- specifically, a .app bundle?
  • Next by Date: Re: How to pre-select a file in NSOpenPanel -- specifically, a .app bundle?
  • Previous by thread: Re: How to pre-select a file in NSOpenPanel -- specifically, a .app bundle?
  • Next by thread: Re: How to pre-select a file in NSOpenPanel -- specifically, a .app bundle?
  • Index(es):
    • Date
    • Thread