Re: -[NSWindow makeFirstResponder:] error when NSDrawer is involved
Re: -[NSWindow makeFirstResponder:] error when NSDrawer is involved
- Subject: Re: -[NSWindow makeFirstResponder:] error when NSDrawer is involved
- From: Bill Cheeseman <email@hidden>
- Date: Sat, 25 Mar 2017 04:15:02 -0400
> On Mar 24, 2017, at 3:53 PM, Quincey Morris <email@hidden> wrote:
>
> On Mar 24, 2017, at 11:04 , Bill Cheeseman <email@hidden <mailto:email@hidden>> wrote:
>>
>> Any suggestions?
>
> No good ones, but you keep referring to the “main” window. Is it possible that the drawer window is initially the key window, and this is interfering with setting the first responder? Can you verify that whether main window is also the key window, and/or try setting the main window to be key initially?
I thought of that, too. But I do in fact call -makeKeyAndOrderFront on the main window at the right point in the process. And I tried expressly telling the keyWindow to makeFirstResponder and encountered the same bizarre error.
--
Bill Cheeseman - email@hidden
_______________________________________________
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