I have a table view that can receive keyboard focus and that displays a
focus ring. In addition, adjacent to its bottom is a pop-up button and a
"bar".

The pop-up button enables/disables depending on the selection state of the
table view.

Under 10.5 and 10.6, the pop-up button and the focus ring of the table view
all interact correctly and as-expected.

However, under 10.4, when the button becomes enabled or is clicked, the
piece of the table view's focus ring that was obscured or dirtied by the
button is not updated (see attached) until the table loses focus and then
regains it again.

Based on the OS-specific behavior, this seems like it might be a table view
or other super class focus ring defect; however, it's entirely possible the
drawRect for the NSPopUpButtonCell is doing something it should not.

Any tips on sleuthing the cause or overrides to provide in the table view
that let it know, "Hey, your focus ring just got dirtied, redraw (ostensibly
calling setKeyboardFocusRingNeedsDisplayInRect) it."?

Regards,

Grant

Attachment: Picture 1.png
Description: Binary data

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to