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.
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.
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.
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
See also: Bug 132510 about "Add special UI element for mixed fixed/scrolling menus"
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: shrir → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.