• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSPopUpButtonCell Update Smashes Focus Ring of Adjacent NSTableView: 10.4 vs. 10.5/10.6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSPopUpButtonCell Update Smashes Focus Ring of Adjacent NSTableView: 10.4 vs. 10.5/10.6


  • Subject: NSPopUpButtonCell Update Smashes Focus Ring of Adjacent NSTableView: 10.4 vs. 10.5/10.6
  • From: Grant Erickson <email@hidden>
  • Date: Mon, 25 Jan 2010 13:01:23 -0800
  • Thread-topic: NSPopUpButtonCell Update Smashes Focus Ring of Adjacent NSTableView: 10.4 vs. 10.5/10.6

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 (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

  • Prev by Date: Re: [iPhone] Implementing VOIP for iPhone App
  • Next by Date: Re: CALayer maybe silly question
  • Previous by thread: Re: Fastest way to convert an NSDate into an NSString
  • Next by thread: Garbage Collection Docs Puzzle
  • Index(es):
    • Date
    • Thread