Re: NSControl subclass is not becoming initial first responder without Full Keyboard Access
No ideas on this? We have an NSControl subclass in a window. The class returns YES from acceptsFirstResponder and canBecomeKeyView, and it overrides some NSResponder methods (mouseDown:, keyDown:). The control is set to be the initialFirstResponder in the xib. Yet it will not be the initial first responder unless Full Keyboard Access is turned on. Even if FKA is off I can still tab to it and it gains focus. What else should I be doing here? If I override makeFirstResponder: in our window subclass, I see that an NSTextField is being set as the first responder when we tell the window to orderFront. The stack: #0 0x0144b8d3 in -[EDLGWindow makeFirstResponder:] at /depot/Finale_Main/FinaleDev/Finale/SRC/FIN/MAC/Cocoa/EDLGController.mm:172 #1 0x90c8053c in -[NSWindow _selectFirstKeyView] () #2 0x90c801fe in -[NSWindow _setUpFirstResponder] () #3 0x90c8014e in -[NSWindow _setUpFirstResponderBeforeBecomingVisible] () #4 0x90c7e5c9 in -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] () #5 0x90c7e0b6 in -[NSWindow _doOrderWindowWithoutAnimation:relativeTo:findKey:forCounter:force:isModal:] () #6 0x90c7dbcd in -[NSWindow _doOrderWindow:relativeTo:findKey:forCounter:force:isModal:] () #7 0x90c7d734 in -[NSWindow orderWindow:relativeTo:] () #8 0x90b581d8 in -[NSWindow orderFront:] () Why is it choosing a text field instead of the control that I explicitly set as the initialFirstResponder in the xib? -- Steve Mills office: 952-818-3871 home: 952-401-6255 cell: 612-803-6157 ___ 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
Re: NSControl subclass is not becoming initial first responder without Full Keyboard Access
> On Oct 4, 2013, at 10:17 AM, Steve Mills wrote: > > No ideas on this? Guess not. Given the volume and specificity of your questions, and the apparent speed with which you expect answers from this volunteer community, have you considered purchasing a DTS incident? Unlike this mailing list, DTS incidents come with a guaranteed response. --Kyle Sluder ___ 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
Re: NSControl subclass is not becoming initial first responder without Full Keyboard Access
On Oct 4, 2013, at 12:30:51, Kyle Sluder wrote: > Given the volume and specificity of your questions, and the apparent speed > with which you expect answers from this volunteer community, have you > considered purchasing a DTS incident? Unlike this mailing list, DTS incidents > come with a guaranteed response. I don't *expect* quick answers, but since there's no way of knowing how many people have looked at my question, and given the volume of other messages that have come through recently, I was simply asking again in case my previous message was missed, or in case any people who might know the answer simply didn't have time to read messages from this list yesterday. I'm full aware of what a DTS incident is. No need to be condescending. Also, most Apple mailing list responses come *much* quicker than DTS responses, in my 18-year experience as an Apple developer. -- Steve Mills office: 952-818-3871 home: 952-401-6255 cell: 612-803-6157 ___ 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