• 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: NSSearchField bug not fixed yet?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSearchField bug not fixed yet?


  • Subject: Re: NSSearchField bug not fixed yet?
  • From: Matt Neuburg <email@hidden>
  • Date: Mon, 13 Nov 2006 10:56:44 -0800
  • Thread-topic: NSSearchField bug not fixed yet?

On Mon, 13 Nov 2006 14:29:34 +0100, Stephane <email@hidden> said:
>According to the archive, the NSSearchField is buggy since 2004 when
>it comes to the searchTemplateMenu APIs.
>
>It looks like this bug is not fixed in 10.4.8 yet.
>
>Basically, it looks as if the searchTemplateMenu method of
>NSSearchFieldCell returns a copy of the template menu instead of a
>autorelease-retained instance.
>
>This could explain why changing the state of a NSMenuIem of the
>search template menu is just not working.
>
>Is there any workaround better than just setting the
>searchTemplateMenu anew when you want to change a NSMenuItem state?

I simply change the menu item's state in my validateMenuItem implementation.
m.

--
matt neuburg, phd = email@hidden, <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>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Better printed documentation? (wish list)
  • Next by Date: Re: Re: Re: Bounds questions
  • Previous by thread: NSSearchField bug not fixed yet?
  • Next by thread: Cocoa bindings - Error when displaying an image in nstablecolumn
  • Index(es):
    • Date
    • Thread