• 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: Sometimes all my menus are disabled
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sometimes all my menus are disabled


  • Subject: Re: Sometimes all my menus are disabled
  • From: Steve Mills <email@hidden>
  • Date: Mon, 13 Feb 2017 15:34:26 +0000 (GMT)

On Feb 13, 2017, at 08:50 AM, Steve Mills <email@hidden> wrote:

On Feb 13, 2017, at 08:12:59, Andreas Falkenhahn <email@hidden> wrote:

Unfortunately, I don't know where to look because I remember nothing about
Interface Builder. That's why I have uploaded a VERY SMALL test project
here: http://www.falkenhahn.com/tmp/guitest.tar.gz

Same problem here. I added this:

-(BOOL)validateMenuItem:(NSMenuItem *)menuItem
{
       NSLog(@"%@", menuItem.title);
     return YES;
}

to help see what's going on. When it works, it logs About, Prefs, and Plugins. When it fails, it only logs About and Prefs. Gotta get to the office now, or I'd investigate further.

I've dinked around with it a bit more and ended up replacing MainMenu.nib with a new MainMenu.xib. That fixes it. I'm on an older Xcode now, so I can't open your MainMenu.nib, so I opened its designable.nib with a text editor to see if there's anything obvious. One thing that's really weird is that all the menus for the menubar are also duplicated as submenu items of the first separator after the About item. Although it's not an exact copy, since Plugins doesn't appear in that version of the app menu.

So yeah, make a new xib and throw the old one out.

Sent from iCloud's ridiculous UI, so, sorry about the formatting

 
 
_______________________________________________

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


  • Follow-Ups:
    • Re: Sometimes all my menus are disabled
      • From: Andreas Falkenhahn <email@hidden>
References: 
 >Re: Sometimes all my menus are disabled (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: Sometimes all my menus are disabled
  • Next by Date: Re: Sometimes all my menus are disabled
  • Previous by thread: Re: Sometimes all my menus are disabled
  • Next by thread: Re: Sometimes all my menus are disabled
  • Index(es):
    • Date
    • Thread