Skip navigation.
 
mltext fields in drawers don't un-highlight in background
FROM : Matt Neuburg
DATE : Thu Jun 15 18:01:01 2006

Here is another amazing built-in Cocoa drawer bug.

No code is required. To see the bug, just launch IB and make a project
consisting of a window-with-drawer. Put an editable text field in the
window, and another editable text field in the drawer's content view.

Put a button in the window and hook it to the drawer's "toggle" action so
you have a way of opening the drawer.

Now run the interface, right there in Interface Builder. Click in the text
field in the window, and now switch to another app. Notice what happens to
the focus ring around the text field? It vanishes.

Now switch to the running interface again, and click in the text field in
the drawer. Switch to another app. The focus ring around the text field
stays! That's the bug.

m.

--
matt neuburg, phd = <email_removed>, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>

Related mailsAuthorDate
mltext fields in drawers don't un-highlight in background Matt Neuburg Jun 15, 18:01
mlRe: text fields in drawers don't un-highlight in background Frédéric BLANC Jun 16, 14:34