Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

CPTextField can't retain first responder status after a CPReturnKeyCode event

#292

Some applications (eg: Chat Clients, Terminals) interact with users through a single Text Field. In these environments, the return/enter key is used to execute a command, and clear the field so the user can enter more text. Doing so, requires the CPTextField to retain first responder status. This is the default behavior of NSTextField with Actions "Sen[t] on Enter Only".

The simplest workaround at the moment is to set up a timer to re-set the responder status, but this seems like an ugly hack. It would be helpful if there were a way to either disable responder resignation, or to have the CPTextField resign responder status before calling the target action.

Reported by Oliver Kennedy · March 29th, 2010 @ 04:35 AM

State: new
Milestone: none
Assigned to: nobody

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.