On 16/09/2012, at 12:09 AM, Mike Abdullah <cocoa...@mikeabdullah.net> 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 (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