Closed Bug 111472 Opened 24 years ago Closed 24 years ago

Menubar/main menu color wrong in XP

Categories

(SeaMonkey :: Themes, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bugzilla, Assigned: shliang)

Details

In Windows XP (and in the XP theme), the main menubar and the main menus are all white. This is incorrect; in every other app they are gray, like the toolbars. However, our context menus are also white, and that is correct -- every other app's context menus are too. So it seems like we need to be catching two different system colors.
It looks like we need to use COLOR_MENUBAR for the main menu bar when we're on XP, and keep using COLOR_MENU for popups. We should do a check for the windows version and use the appropriate constant at http://lxr.mozilla.org/mozilla/source/widget/src/windows/nsLookAndFeel.cpp#147 Note that there's also a COLOR_MENUHILIGHT, which is the highlight color in XP for items on a flat menu bar. <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/sysinfo_9b1u.asp>
-> shliang
Assignee: hewitt → shliang
fixed
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Verified on windows (2001-12-28-08-trunk)
Status: RESOLVED → VERIFIED
What was the fix, out of curiosity?
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.