Re: Status Bar App menu won't work in 10.6, will in 10.5
Re: Status Bar App menu won't work in 10.6, will in 10.5
- Subject: Re: Status Bar App menu won't work in 10.6, will in 10.5
- From: Peter Ammon <email@hidden>
- Date: Thu, 5 Nov 2009 11:29:08 -0800
On Nov 4, 2009, at 11:41 AM, Viraj Mody wrote:
> 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.
Your status bar menu is also the main menu. This isn't a supported configuration - you can't use a menu in more than one place at once.
-Peter
_______________________________________________
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