Re: Another sandboxing snafu
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