Re: Another sandboxing snafu

2012-09-17 Thread Corbin Dunn
On Sep 17, 2012, at 4:19 PM, Graham Cox wrote: > > On 18/09/2012, at 4:12 AM, Corbin Dunn wrote: > >>> 14/09/12 9:02:18.578 AM WindowServer[108]: CGXSetWindowShape: Operation on >>> a window 0xf87 requiring rights kCGSWindowRightOwner by caller Artboard >>> 14/09/12 9:02:18.578 AM Artboard[4

Re: Another sandboxing snafu

2012-09-17 Thread Graham Cox
On 18/09/2012, at 4:12 AM, Corbin Dunn wrote: >> 14/09/12 9:02:18.578 AM WindowServer[108]: CGXSetWindowShape: Operation on a >> window 0xf87 requiring rights kCGSWindowRightOwner by caller Artboard >> 14/09/12 9:02:18.578 AM Artboard[47282]: _NXPlaceWindow: error setting >> window shape (1001

Re: Another sandboxing snafu

2012-09-17 Thread Corbin Dunn
On Sep 13, 2012, at 4:15 PM, Graham Cox wrote: > Grrr... and here's exactly the sort of stupid thing that I was referring to a > moment ago in another thread... > > > I'm attempting to show an NSOpenPanel as a sheet, app is sandboxed. This has > always worked perfectly fine: > > NSOpe

Re: Another sandboxing snafu

2012-09-16 Thread Graham Cox
On 17/09/2012, at 9:01 AM, Graham Cox wrote: > 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. I dunno, this is sure a weird one. I've created

Re: Another sandboxing snafu

2012-09-16 Thread Graham Cox
On 16/09/2012, at 12:09 AM, Mike Abdullah 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

Re: Another sandboxing snafu

2012-09-15 Thread Mike Abdullah
On 15 Sep 2012, at 00:49, Graham Cox wrote: > > On 14/09/2012, at 7:07 PM, Mike Abdullah wrote: > >>> Anyone got this simple use of NSOpenPanel to work with sandboxing? >> >> Yes. Does this same code work OK outside the sandbox? Is there any likely >> looking preference file related to open

Re: Another sandboxing snafu

2012-09-14 Thread Graham Cox
On 14/09/2012, at 7:07 PM, Mike Abdullah wrote: >> Anyone got this simple use of NSOpenPanel to work with sandboxing? > > Yes. Does this same code work OK outside the sandbox? Is there any likely > looking preference file related to open/save panels you can try deleting? > It works fine wit

Re: Another sandboxing snafu

2012-09-14 Thread Mike Abdullah
On 14 Sep 2012, at 00:15, Graham Cox wrote: > Grrr... and here's exactly the sort of stupid thing that I was referring to a > moment ago in another thread... > > > I'm attempting to show an NSOpenPanel as a sheet, app is sandboxed. This has > always worked perfectly fine: > > NSOpenPa

Another sandboxing snafu

2012-09-13 Thread Graham Cox
Grrr... and here's exactly the sort of stupid thing that I was referring to a moment ago in another thread... I'm attempting to show an NSOpenPanel as a sheet, app is sandboxed. This has always worked perfectly fine: NSOpenPanel*op = [NSOpenPanel openPanel]; [op se