• 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
Re: [SOLVED, with reservations] Re: Turn off menu highlight in outline view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SOLVED, with reservations] Re: Turn off menu highlight in outline view?


  • Subject: Re: [SOLVED, with reservations] Re: Turn off menu highlight in outline view?
  • From: Corbin Dunn <email@hidden>
  • Date: Tue, 18 Aug 2009 07:07:52 -0700



Hi Corbin, thanks for the clarification. I didn't re-read the release notes when looking for information on this I must admit, though the exact wording doesn't immediately clarify the precise issue. But I do understand the thinking a little better now. This though:

If no menu was returned, the menu for the NSTableView will be used.

Suggests to me that a good behaviour might be to not draw the default row highlight in this case. If the cell returns a menu, then fine, the menu must pertain to the row, and so the highlight is appropriate. But if the table falls back to the view's menu, the row highlight isn't appropriate, no?

That's a good idea, but it doesn't fit with the pattern that some developers use. For instance, the DragNDropOutlineView demo app dynamically changes the tableView's menu based on what was clicked. So, it is falling back to using the view's menu, yet wants to highlight a particular row.



However, even better would be a setting - setShouldDrawRowHighlightForContextualMenu: or something (or another delegate method), which just refers the problem to the developer. For compatibility with the current implementation, this could default to YES.

Please do log bug requests for things like this -- it is something we should fix when there is time.


-corbin


I'm open to suggestions and ways on improving things -- please do log bugs and/or enhancement requests, and ways you would expect the highlighting to work but does not.

I haven't lodged a bug yet, but will once I know what a sensible suggestion would be.


--Graham



_______________________________________________

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


References: 
 >Turn off menu highlight in outline view? (From: Graham Cox <email@hidden>)
 >[SOLVED, with reservations] Re: Turn off menu highlight in outline view? (From: Graham Cox <email@hidden>)
 >Re: [SOLVED, with reservations] Re: Turn off menu highlight in outline view? (From: Corbin Dunn <email@hidden>)
 >Re: [SOLVED, with reservations] Re: Turn off menu highlight in outline view? (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: disabling tooltips table view
  • Next by Date: Re: [SOLVED, with reservations] Re: Turn off menu highlight in outline view?
  • Previous by thread: Re: [SOLVED, with reservations] Re: Turn off menu highlight in outline view?
  • Next by thread: Re: [SOLVED, with reservations] Re: Turn off menu highlight in outline view?
  • Index(es):
    • Date
    • Thread