Closed Bug 10706 Opened 26 years ago Closed 26 years ago

Regression:Menus missing on 2nd launched window

Categories

(SeaMonkey :: MailNews: Message Display, defect, P3)

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: esther, Assigned: danm.moz)

References

Details

(Whiteboard: workaround checked in; real fix pending)

Using 19990728 builds on win32 & linux, the menu bar is missing from the 2nd launched window. This is identical to a bug logged,fixed and verified on 7/6 (9315 w/dups 9194 & 9397). 1. Launch Apprunner, when the browser opens notice you have a menu bar. 2. Select Messenger from Tasks menu list 3. When it opens notice you don't have a menu bar. If you launch Messenger only you will get the menu bar.
Assignee: mscott → hyatt
QA Contact: lchiang → nbaca
I thought mscott already filed a bug on this (?)
Pls ignore my last comment. mscott talked about this in the builds newsgroup so I got confused about where I've seen this before.
Assignee: hyatt → danm
Reassigning to danm. My guess is window.open of chrome is now not showing the menu bar any more (dan and I made the fix to the original bug together). Dan, just trace through window.open of the messenger window and watch where it decides the flags. SOmething probably got screwed up for the case where only "chrome" was specified.
Status: NEW → ASSIGNED
Target Milestone: M9
Danm suggested a workaround to me which I've implemented and want to consider checking in. I modified xpfe\global\resources\content\taskbar.js such that all calls to window.open now pass in chrome,menubar instead of just chrome. i.e. window.open(uri, "_New", "chrome,menubar"); Dan, is this cool with you? I can check it in as soon as the tree opens.
Whiteboard: workaround checked in; real fix pending
Scott has checked in the workaround mentioned above, so this is no longer an immediate problem. The issue still wants a more final resolution. Leaving open for now.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
To have menus in a window opened through window.open[Dialog], generally speaking, you'll need to specify the "menubar" feature in the third (features) parameter. With XP menus, to be able to affect their visibility, you'll need to add the 'chromeclass="menubar"' attribute to the <menubar> element in the XUL file. At time of writing, the "menubar" feature is specified, but the chromeclass attribute is missing. You couldn't turn off menus if you wanted to. That may be a separate bug, if Messenger want to be able to turn off menus. But at least they're showing now.
Status: RESOLVED → VERIFIED
1999081608M9: Win32/NT4, Linux/Redhat 6.0, Mac 8.5.1 Verified Fixed. Secondary windows are displaying menus.
Depends on: 66868
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.