Some menu items use titles dynamically updated in validateMenuItem: (based on application state, like if there are selected content).

This seems to be incompatible with System Preferences → Keyboard → Shortcuts → App Shortcuts, as the menu item check for custom bindings using their current title rather than original title.


I notice however that Finder is not affected by this. For example if I add a custom shortcut for “Compress” then this it still work with selected content (which updates the menu item’s title).

Anyone know how to go about handling dynamic menu item titles and still support custom app shortcuts?
_______________________________________________

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