Re: NSToolbar with NSSearchField crash
Re: NSToolbar with NSSearchField crash
- Subject: Re: NSToolbar with NSSearchField crash
- From: Michael Watson <email@hidden>
- Date: Tue, 17 Oct 2006 17:16:19 -0400
Can you provide a crash debugger stack trace?
--
mikey
On 17 Oct, 2006, at 16:52, Keith Blount wrote:
Hello,
I have a toolbar that has an NSSearchField in it, using setView: on
NSToolbarItem. However, I am experiencing a crash when running the
toolbar customisation palette, when the search field is not visible
and the user attempts to drag the search field to the toolbar. The
debugger just shows lots of private and internal methods, but
things seem to crash on NSMenuItem -encodeWithCoder:. My search
field has a menu, and it seems that this is what is causing
problems for the customisation palette. If I disconnect the menu
from the search field, I don't get any crashes, so this is almost
certainly the culprit.
So, my question is, how do I fix this? I notice that in Xcode, the
search field only shows its menu drop down arrow when it is
actually in the toolbar, and not in the customisation palette, but
I don't know how I would go about disconnecting the menu only in
this circumstance. Other programs, such as DevonThink and Camino,
don't seem to have any problems with having a menu in a search
field in the toolbar customisation palette...
If anyone could give me any advice on how to fix this bug, I would
be most grateful.
Many thanks in advance,
Keith
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40bungie.org
This email sent to email@hidden
_______________________________________________
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