• 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: Menu items vs modal sessions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Menu items vs modal sessions


  • Subject: Re: Menu items vs modal sessions
  • From: "Kyle Sluder" <email@hidden>
  • Date: Mon, 14 Apr 2008 11:09:58 -0400

On Mon, Apr 14, 2008 at 10:28 AM, Pierre Bernard <email@hidden> wrote:
>  This is probably due to the fact that I am using bindings to bind menu
> items to controller actions. I guess one gets the free behavior only when
> using target/action connections on the first responder.

Just for kicks, check to see what happens when you have directly
connected an NSMenuItem to a target (not using the responder chain).
Does AppKit automatically disable it when modal?  If so, then a
workaround might be to have a proxy object whose target and action are
bound using bindings, and then directly connect your menu item to this
proxy object.

In either case, file an enhancement request at
http://bugreport.apple.com so that this situation can be fixed.

--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: 
 >Re: Menu items vs modal sessions (From: Keary Suska <email@hidden>)
 >Re: Menu items vs modal sessions (From: Pierre Bernard <email@hidden>)

  • Prev by Date: Re: NSMatrix Content Binding
  • Next by Date: Re: NSMatrix Content Binding
  • Previous by thread: Re: Menu items vs modal sessions
  • Next by thread: Window moved when dock appears.
  • Index(es):
    • Date
    • Thread