Closed Bug 53478 Opened 25 years ago Closed 25 years ago

Can't hide menus on the Mac.

Categories

(Core :: XUL, defect, P3)

PowerPC
Windows NT
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: scottputterman, Assigned: mikepinkerton)

Details

(Whiteboard: [fix in hand])

In mailnews we have code that hides menus based on the context by doing menuitem.setAttribute("hidden", "true"); this works on Windows and Linux but not the mac. For example, if you run mail and double click on a message you will get the standalone message window. In the View menu the Sort By and Messages menus shouldn't be there. Nor should the Message menu item. Likewise, in the mail 3 pane, in the Messages menu, the Reply to Newsgroup menuitem should only be there when a news message is selected. Instead it's always there. In Editor, the Check spelling menuitem in the edit menu shouldn't show up unless the spell checker is installed. In mozilla builds it's still there.
nominating for beta3. reassigning to saari.
Assignee: pinkerton → saari
Keywords: nsbeta3
taking, i have a fix
Assignee: saari → pinkerton
Whiteboard: [fix in hand]
fixed.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Shrimp menus are still showing in mac NS 6 on Mac only, regardless of display: none or visibility: collapse style. Is this the same problem, or a different one. Reopening, bug if new bug, please file one or let me know and I will do it. The bug that depends is nsbeta3+ pdt1. This works fine on Windows and Linux, only a bug on Mac. buscape bug is http://bugscape/show_bug.cgi?id=2290
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
of course setting display: none won't do anything, all mac menus are display:none all the time, even when visible. you have to set either the "hidden" or "collapsed" attributes on the menu item.
Status: REOPENED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → FIXED
I tried, those are broken too. Should I open a new bug on that?
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.