Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSearchField bug not fixed yet?



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?


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

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.