Closed Bug 38619 Opened 25 years ago Closed 25 years ago

Cannot hide a menu in a top level menubar

Categories

(Core :: XUL, defect, P1)

PowerPC
Mac System 8.6
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: bugzilla, Assigned: saari)

Details

(Keywords: platform-parity)

Apparently, menu doesn't listen to the attribute "hidden". Here is was I am doing to remove some top level menu which is working on Windows and Linux: document.getElementById("formatMenu").setAttribute("hidden", true); You can test that by opening a plaintext message compose. The format menu should not be visible.
Okay, I just wrote the code, I'll test it when my build is done.
Status: NEW → ASSIGNED
Priority: P3 → P1
Target Milestone: --- → M16
Fixed
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
over to jrgm to verify.
Keywords: pp
QA Contact: sairuh → jrgm
Summary: [PP] Cannot hide a menu in a top level menubar → Cannot hide a menu in a top level menubar
Still not working for me!
Hmm. I'll reopen based on above comment, but it *does* work for me on win95 (I'll check mac and linux tomorrow, going home now). I redefined the 'Search' button on the browser to do document.getElementById('menu_close').setAttribute('hidden', true); and this does hide the 'File->Close' <menuitem> from the 'File' menu (on win32 at least).
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This is only a Mac problem.
ducarroz, stop by and show me your test case please.
I tested using the method noted above (redefine the search button on the browser to hide the 'File->Close' menu item). This worked on win32 and linux, but not Mac.
Okay, I fixed it for real this time.
Status: REOPENED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.