Open Bug 57109 Opened 24 years ago Updated 5 months ago

Implement menu groups.

Categories

(Core :: XUL, enhancement, P3)

enhancement

Tracking

()

Future

People

(Reporter: timeless, Unassigned)

References

()

Details

<menupopup id="editMenu"> <!-- assuming this survives -->
<menugroup id="undoBuffer"/>
<menugroup id="clipBoard"/>
<menuitem id="selectAll" value="&SelectAll;" observes="cmd_selectall"/>
<menugroup id="editOptions"> <!-- oddly this isn't as useless as it seems, 
because there are other things that want to land here, see mail -->
<menuitem id="editPrefs" value="&editPreferences;" oncommand="goPreferences()"/>
</menugroup>
</menupopup>

an overlay might do
<menugroup id="formWallet" insertAfter="selectAll"> <!-- [or clipboard]-->
<menuitem id="saveFormData" value="&SaveForm;" oncommand="saveFormData()"/>
<menuitem id="prefillForm" value="&PrefillForm;" oncommand="prefillForm()"/>
</menugroup>

I think:
multiple contentless menugroups would be treated as a single menugroup.
most skins would want menugroups to have menuseparators before and after them.
Ack, ->Hyatt
Assignee: pinkerton → hyatt
->future
Target Milestone: --- → Future
Assignee: hyatt → neil.parkwaycc.co.uk
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
Severity: normal → S3

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: neil → nobody
You need to log in before you can comment on or make changes to this bug.