• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSStatusBar removeStatusItem on Mavericks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSStatusBar removeStatusItem on Mavericks (From: Pax <email@hidden>)

  • Prev by Date: NSStatusBar removeStatusItem on Mavericks
  • Next by Date: Re: Dependency cycle for target "xxx.lib" detected: xxx.lib -> xxx.lib
  • Previous by thread: NSStatusBar removeStatusItem on Mavericks
  • Next by thread: Re: Dependency cycle for target "xxx.lib" detected: xxx.lib -> xxx.lib
  • Index(es):
    • Date
    • Thread