We create the items in the Mac help menu several times on startup

RESOLVED INVALID

Status

RESOLVED INVALID
18 years ago
9 years ago

People

(Reporter: lordpixel, Assigned: saari)

Tracking

Trunk
Future
PowerPC
All

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
I've recently had occassion to add some debugging output to nsMenuItem.cpp and 
nsMenu.cpp ::create()

It seems we create the help menu and the 3 items on it (About Mozilla, About 
Plugins, Release Notes) 4 or 5 times over during startup *and* every time we 
switch into Mozilla.

Is this a bug? Can't be helping startup speed, though I doubt its significant...
(Assignee)

Comment 1

18 years ago
Because of the way we're hacking around with the menu manager and the dynamic
MDEF, we need to keep creating the Help menu. I know it sucks, but there is no
other way around it that I've found. 
Target Milestone: --- → Future

Comment 2

16 years ago
Is this bug relevant any more? Are there MDEFs in OS X?
(Reporter)

Comment 3

16 years ago
Yes, I think so.

Recall the back end has been converted to the Unix one, but the front end is
still the same Carbon code it always was. From a casual look at nsMenu.cpp, not
much seems to have changed.

Comment 4

12 years ago
This is now invalid.  Help menus are no longer treated specially, they're now just regular menus that happen to be named "Help".  We build one for each window, including the hidden window (for a total of two on a normal startup), and do not waste time rebuilding them on application or window switch.
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Component: XP Toolkit/Widgets: Menus → Widget: Mac
Resolution: --- → INVALID

Updated

9 years ago
Component: Widget: Mac → Widget: Mac
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.