Re: NSStatusBar removeStatusItem on Mavericks
Re: NSStatusBar removeStatusItem on Mavericks
- Subject: Re: NSStatusBar removeStatusItem on Mavericks
- From: Kyle Sluder <email@hidden>
- Date: Sun, 08 Dec 2013 11:42:41 -0800
On Dec 8, 2013, at 11:35 AM, Pax <email@hidden> wrote:
>
> Just a quickie - and it may be that I've found a small bug in Mavericks. My app contains the following code:
>
> [[NSStatusBar systemStatusBar] removeStatusItem:statusItem];
>
> This works perfectly on single monitor setups, and on OS's older than Mavericks. On a multi-monitor Mavericks setup, though, it only removes the menu item from the menubar on the currently active screen. Oddly, though, 'setMenu' works on both monitors correctly - which can result in more than one menu appearing on the non-active monitor. Weird, huh? Any ideas?
Sounds like a bug to me. File a Radar.
--Kyle Sluder
_______________________________________________
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