Re: dynamic menu and validateMenuItem crash
Re: dynamic menu and validateMenuItem crash
- Subject: Re: dynamic menu and validateMenuItem crash
- From: Christopher Corbell <email@hidden>
- Date: Wed, 18 Jun 2003 12:57:30 -0700
I haven't seen a reply from the list so I'm planning to file a bug
report on this.
Just wanted to check one more time, to see if anyone has seen
this bug or knows of a workaround:
1.) Main menu item has submenu whose contents can change
2.) First item in submenu is unchanging & has a tag/selector that
identifies it in validateMenuItem:
3.) During validation of this first item, other dynamic items are added,
modified, or removed from remainder of menu.
4.) Whenever items are removed in this manner, the app will crash
(NSCFArray out-of-bounds exception, presumably because the
responder validation sequence is walking the submenu without expecting
items to be inserted/removed).
5.) Turning on item-remove notification posting for the submenu does
not fix the problem.
Thanks for any reply.
- Christopher
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.