Add ability for menu items to have both a command and submenu

NEW
Unassigned

Status

()

--
enhancement
17 years ago
9 years ago

People

(Reporter: netdragon, Unassigned)

Tracking

Trunk
Future
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

17 years ago
Comment #41 of bug 36269

Also, menu items cannot have both a command and a
submenu.

Please fix this. It should be possible to click on the menu item that opens a
submenu if necessary.

Updated

17 years ago
Target Milestone: --- → Future

Comment 1

17 years ago
When would this be needed? Sub menus exist only to group like items, they do not
have an action associated with them. Ever, anywhere.

Please note that in bug 36269 comment 41, ptrudelle is not only saying that this
is impossible, he's also saying it's not necessary.
(Reporter)

Comment 2

17 years ago
The New window was only one place it could be used. It could also be used for
many other things. 
For instance, say we had 5 more print items in the future, and wanted to do a
Print submenu. We could do:

Print... > Item 1
           Item 2
           ...

"Print..." would bring up the final print dialog box.

The example mentioned before:

New... > Item 1
         Item 2
         ....

"New..." would bring up a new window

There are plenty of other instances this might be helpful. For instance, if you
wanted to open a folder containing all the bookmarks for part of the bookmark tree. 

>When would this be needed? Sub menus exist only to group like items, they do not
>have an action associated with them. Ever, anywhere.

The same concept is used in Windows XP Start Menu and I find it very helpful. If
you double-click part of the menu, it opens up a folder containing the icons for
that part of the menu.

Submenus in Microsoft Word accept double clicks on the parent in order to expand
the menu.

In Internet Explorer, in the Favorites menu, 

In fact, the MSVC++ Resource editor lets you make command submenus.

Comment 3

17 years ago
Have you ever noticed the Move/Copy message submenus when you have nested
folders? They always have to have a "choose this folder" because you can't
double-click the parent to choose it.
Status: UNCONFIRMED → NEW
Ever confirmed: true
(Reporter)

Comment 4

16 years ago
See also: Bug 132510 about "Add special UI element for mixed fixed/scrolling 
menus"

Updated

10 years ago
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: shrir → xptoolkit.widgets

Updated

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