• 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: Another sandboxing snafu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another sandboxing snafu


  • Subject: Re: Another sandboxing snafu
  • From: Graham Cox <email@hidden>
  • Date: Mon, 17 Sep 2012 09:01:29 +1000

On 16/09/2012, at 12:09 AM, Mike Abdullah <email@hidden> wrote:

> OK one other thing to try then is running the panel modally while sandboxed. Does it work then?


Do you mean running the NSOpenPanel modally or the parent floating panel?

If the latter, it's academic whether that works - there is no useful benefit to having that panel operate modally in my app, and I'm not even sure I could test that as a temporary measure. If the former, that might be something pertinent to investigating the bug, but still not particularly acceptable for the design of my app.

The use-case is that I have a floating "inspector" panel but in one or two places the user is able to click a button in order to import a file for a specific purpose in that context. So it makes sense to run the open panel as a sheet so that is is fully associated with that context, as sheets are designed to do.


So.....

If I run the Open panel either using -runModal, or -beginWithCompletionHandler:, the panel is displayed normally (though obviously disassociated from the parent window) and operates correctly. So it seems my use case has not been anticipated in the design of powerbox. Quel Surprise...



--Graham


_______________________________________________

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: Another sandboxing snafu
      • From: Graham Cox <email@hidden>
References: 
 >Another sandboxing snafu (From: Graham Cox <email@hidden>)
 >Re: Another sandboxing snafu (From: Mike Abdullah <email@hidden>)
 >Re: Another sandboxing snafu (From: Graham Cox <email@hidden>)
 >Re: Another sandboxing snafu (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: Dynamic Method Creation
  • Next by Date: Re: Another sandboxing snafu
  • Previous by thread: Re: Another sandboxing snafu
  • Next by thread: Re: Another sandboxing snafu
  • Index(es):
    • Date
    • Thread