On Feb 13, 2017, at 08:50 AM, Steve Mills <sjmi...@mac.com> wrote:

On Feb 13, 2017, at 08:12:59, Andreas Falkenhahn <andr...@falkenhahn.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to