Re: NSOpenPanel stopped working in some apps on Sierra

2016-12-07 Thread Leo
Thanks, I found out what the problem was - but my emails to the list ended up being empty... hmm... another issue to solve? Anyway, in brief: I had NSSplitView's -dividerThickness method defined as a category with some custom thickness - instead of subclassing NSSplitView. Not a good idea,

Re: NSOpenPanel stopped working in some apps on Sierra

2016-12-07 Thread Leo
___ 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.co

Re: NSOpenPanel stopped working in some apps on Sierra

2016-12-07 Thread Leo
___ 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.co

Re: NSOpenPanel stopped working in some apps on Sierra

2016-12-07 Thread じょいすじょん
> On 2016 Dec 8, at 9:22, Jens Alfke wrote: > > >> On Dec 7, 2016, at 3:16 PM, Leo wrote: >> >> Any attempt to call it with runModal results with the following errors: >> >> [General] *** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for >> empty array >> [General] (null) > > Wha

Re: NSOpenPanel stopped working in some apps on Sierra

2016-12-07 Thread Jens Alfke
> On Dec 7, 2016, at 3:16 PM, Leo wrote: > > Any attempt to call it with runModal results with the following errors: > >[General] *** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for > empty array >[General] (null) What’s the backtrace? Chances are there’s something messed up

Re: NSOpenPanel stopped working in some apps on Sierra

2016-12-07 Thread Rick Corteza
I’m also having strange issues with NSOpenPanel that I can’t figure out (see my recent question)… > On Dec 8, 2016, at 7:16 AM, Leo wrote: > > Hi all, > > I suddenly discovered a strange issue: > > NSOpenPanel stopped working in some of my apps. > > Any attempt to call it with runModal res

NSOpenPanel stopped working in some apps on Sierra

2016-12-07 Thread Leo
Hi all, I suddenly discovered a strange issue: NSOpenPanel stopped working in some of my apps. Any attempt to call it with runModal results with the following errors: [General] *** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array [General] (null) The problem start