Fwd: bindings and menu items in Leopard
Fwd: bindings and menu items in Leopard
- Subject: Fwd: bindings and menu items in Leopard
- From: Mitchell Livingston <email@hidden>
- Date: Mon, 29 Oct 2007 22:47:51 -0400
Looking at it further, it seems that any menu item that has any kind
of binding on it will have strange behavior, not performing
validateMenuItem: for example. Is this intentional, because it seems
pretty big to be a Leopard bug.
Thanks,
Mitchell Livingston
Begin forwarded message:
From: Mitchell Livingston <email@hidden>
Date: October 29, 2007 2:45:58 PM EDT
To: email@hidden
Subject: bindings and menu items in Leopard
Hello,
It seems that in Leopard, when I have a menu item bound to a value
in NSUserDefaults, when sending the action, the action is sent
before the value is toggled (as in checked/unchecked). In Tiger it
first changed the value and then sent the action. The annoying thing
is a button bound to the value will change the value and then send
the action, making it difficult when a menu and button are bound to
the same method. Is this a bug on Apple's end or some new desired
behavior.
Thanks,
Mitchell Livingston
_______________________________________________
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