Re: NSSearchField bug not fixed yet?
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