Application main menu title behavior change in 10.6
Application main menu title behavior change in 10.6
- Subject: Application main menu title behavior change in 10.6
- From: Jim Turner <email@hidden>
- Date: Fri, 4 Sep 2009 13:31:42 -0500
Hi all,
I have an application (QuicKeys) that allows the user to define menu
selection as an action. In our latest version and under Leopard, we
present UI that replaces the main menu bar of our app with the menu
bar of the target app (via setMainMenu:) so that we can correctly
retrieve which menu item the user selected. Works like a champ, even
under Snow Leopard, save for one problem. Under 10.6, the application
name is always "QuicKeys", not "Finder" or whatever the target
application name would be. This is causing confusion with our users as
while the menu is really the target app's menu, it has the wrong
application name.
Reading through the release notes for AppKit on 10.6, I found that
there's been a change to how the main menu bar displays the
application's name. Specifically, under the "NSApplication
application menu item title" header, it states "... the application
menu always reflects the application name." This appears to be what's
causing the issue and I'm curious if anyone knows of a work-around?
Thanks
Jim
_______________________________________________
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