Re: Sometimes all my menus are disabled
Re: Sometimes all my menus are disabled
- Subject: Re: Sometimes all my menus are disabled
- From: Uli Kusterer <email@hidden>
- Date: Mon, 13 Feb 2017 01:40:43 +0100
Have you tried printing the responder chain when this happens? But as others have said, funnelling all menu choices through a menuClick: method sounds backwards.
On 12 Feb 2017, at 18:01, Andreas Falkenhahn <email@hidden> wrote:
> I'm experiencing a strange issue with my app. Sometimes, maybe in 1 out of 10
> programs starts, all menus of my app are grayed out, including standard menus
> like "Services", "Hide XXX", "Hide Others", "Show All", "Minimize", "Zoom",
> "Bring All To Front", really everything is grayed out right after my app has
> launched!
>
> I don't really know what to do about this because I don't have any actual code
> in my app that relates to menus. The menu is created in Interface Builder and
> the individual items are connected to "AppDelegate menuClick:" in the
> "Sent Actions" part of Xcode. That's pretty much all I have.
>
> What could be the problem here? How can I find out what's going awry here?
>
> As I said, in 9 of 10 attempts everything works fine, but in maybe 1 of 10
> attempts all menus are grayed out right after my app has launched, making it
> impossible to use my app :-(
>
> --
> Best regards,
> Andreas Falkenhahn mailto:email@hidden
_______________________________________________
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