(This was suggested by firstname.lastname@example.org in bug 27338) The "default" option should be bolded on all contexts menu. By "default" option I mean the action that happens when you left-click in the same place. If there's no default action, don't bold anything. If ctrl-clicking does something different than normal clicking, pretend that ctrl-clicking is the default action. (Assumption: ability to ctrl-click is advertised in the context menu already)
I didn't suggest it should be emboldened (?) -- although that would be an interesting idea. What I suggested was that popup menus should be allowed to have a default item (i.e. the option right next to the mouse pointer when the menu is opened) which is not necessarily the topmost item. As regards this bug, IIRC Windows Explorer does this with some of its context menus.
Summary: [RFE] bold the default option on context menus → [RFE] bold the default item on context menus
m20, at least
Status: NEW → ASSIGNED
Target Milestone: --- → M20
Mass-moving all M20-M30 XPToolkit bugs to Future
Target Milestone: M20 → Future
*spam*: transferring current XP Menu bugs over to jrgm, the new component owner. feel free to add me to the cc list (unless am the Reporter) of any of these, if you have any questions/etc.
QA Contact: sairuh → jrgm
This styling is already done (in classic at least)...
Keywords: 4xp, pp
Summary: [RFE] bold the default item on context menus → Treat the default item specially on context menus
Blake, does that mean XUL now has a concept of a `default' action for a context menu, or do individual context menus just hack in this style themselves? If the former, then as per the discussion in bug 27338, correct treatment of the default item would be -- * Windows, X: make the default item bold; * Mac OS: don't apply any special style to the default item, but position it *under* the cursor (not just next to it) when the popup menu is drawn. If there is no default item, position the first menu item under the cursor.
depends on 52106 for the mac work. the "bold" for win/unix can be hooked up in this bug.
Depends on: 52106
Target Milestone: Future → mozilla1.0
Target Milestone: mozilla1.0 → mozilla0.8
marking fixed. Use default="true" to do this.
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED
when is the default item of a context menu not the first item in the menu? if it's not, shouldn't the menu be redesigned? all our context menus put the "default" item first, so it seems (context-click on the document, then context-click on a link...first items are different)...
fwiw, the "make mac put the mouse under the default item" is a different bug.
> when is the default item of a context menu not the first item in the menu? One example is for a link, when `Back' and `Forward' are the first items in the menu (bug 27338), but `Open Link' is the default item. See <http://bugzilla.mozilla.org/showattachment.cgi?attach_id=13963>.
I don't see anything bolded on context menus, but that's probably because I can't find any context menus that include the command that happens when you left-click without any modifiers. Should I file a new bug for Open Link in New Window to be bolded when ctrl is held down?
pink's part of this was just to provide the ability (toolkit). Actually setting default items in context menus is XPApps (content).
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.