• 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: Double Help menus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Double Help menus


  • Subject: Re: Double Help menus
  • From: Eric Schlegel <email@hidden>
  • Date: Tue, 13 Dec 2005 10:41:09 -0800


On Dec 13, 2005, at 10:22 AM, Mark Alldritt wrote:

Hi All,

I'm experiencing a problem where my application gets two help menus for
*some* users when running on Tiger systems. This problem does not happen on
Panther.

The first Help menu is the one coming from my mainMenu.nib file. The second
seems to be synthesized by the system and has only one item - 'Script
Debugger Help'. I've found a few references to this problem in my searches,
but nothing I've found explains how to resolve the problem.

I've also not been able to determine why only some of my 10.4 testers are
experiencing this problem.

My plist contains these entries:

<key>CFBundleHelpBookFolder</key>
<string>rosiehelpnew</string>
<key>CFBundleHelpBookName</key>
<string>Script Debugger 4 Help</string>

rosiehelpnew matches the name of my Help book's folder.

Does anyone have any suggestions for resolving this?

This happens when something calls into the Carbon Menu Manager before NSApplication gets a chance to tell the Menu Manager that this is a Cocoa app, and that therefore the Menu Manager shouldn't create the Help menu automatically.

This probably has been noticed in QuickTime Player when the DivX codec is installed, for example, because the DivX coded called HiliteMenu from its component initializer, which was run (via EnterMovies) before QTPlayer called [NSApplication run].

It's possible that your app is hitting the same problem with DivX, if the problem is only seen on certain machines. The general solution is to avoid calling into the Menu Manager, or calling anything that could call into the Menu Manager, before starting up NSApplication.

-eric


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Double Help menus
      • From: Mark Alldritt <email@hidden>
References: 
 >Double Help menus (From: Mark Alldritt <email@hidden>)

  • Prev by Date: Re: Double Help menus
  • Next by Date: Re: NSAppleScript init is really, really slow when attached to gdb?
  • Previous by thread: Re: Double Help menus
  • Next by thread: Re: Double Help menus
  • Index(es):
    • Date
    • Thread