Strange NSStatusItem Bug
Strange NSStatusItem Bug
- Subject: Strange NSStatusItem Bug
- From: David McGavern <email@hidden>
- Date: Mon, 1 Dec 2003 21:39:03 -0500
I created a NSStatusItem with a menu. I added LSUIElement=1 to my
info.plist. When I first click the status item while still in Xcode, it
works great. But, when I switch to any other app the menu won't appear
again! It will sometimes come back, but I can't find a pattern to this.
I also noticed that, even though the menu isn't showing, each menu item
is still being verified in - (BOOL)validateMenuItem:(NSMenuItem *)item.
Adding to the strangeness, when I open the app from outside of Xcode,
it works, but only for a little while before the menu will stop
working.
I've searched and searched my code, and can't find anything wrong! Any
help is greatly appreciated.
Thanks again!
David
PS- I did notice that another app I wrote (and compiled) in 10.2 a
while back works perfectly without any menu loss.
_______________________________________________
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.