Status Bar App menu won't work in 10.6, will in 10.5
Status Bar App menu won't work in 10.6, will in 10.5
- Subject: Status Bar App menu won't work in 10.6, will in 10.5
- From: Viraj Mody <email@hidden>
- Date: Wed, 4 Nov 2009 11:41:39 -0800
I have an application that sits in the status bar on the Mac. It has a menu
that lets you look at the app version, change some settings and quit the
app.
I built it on Leopard and it works fine on Leopard. On Snow Leopard, I can
see the app in the status bar and clicking on it shows the menu items. But
clicking items in the menu doesn't do anything. The app isn't hung - it's
doing stuff that it's expected to do. The UI thread isn't hung either - I
can see the menu obviously, and and dialogs that the app causes to show on
the UI thread (outside of the ones when the menu is clicked) show up fine.
Compiling it on Snow Leopard targeted for 10.6 doesn't seem to change this
behavior.
So I know that the app is able to create dialogs, isn't hung and is
functioning. I suspect this has something to do with the menu, and handling
menu clicks either in my app or in Snow Leopard.
Anyone else have suggestions on what this might be or where I should look?
Any suggestions on where I can place a BP to trap whether the menu item
click is actually happening?
I've uploaded a simple repro 10.6 XCode project. I'll send a virtual beer
your way if you can take a look and let me know if you see what's wrong. The
app is simple - create a status bar app with 1 menu item "Quit" which calls
terminate on the app. The status bar app show, the menu shows but clicking
does nothing. Here's the
project<http://cid-663ff372702aa2de.skydrive.live.com/self.aspx/Public/MenuTest.zip>.
It runs fine on Leopard (Clean All before you build/run) but not on Snow
Leopard.
This smells like a 10.6 regression - I have all the latest updates, FWIW.
Thanks!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden