Closed Bug 63847 Opened 24 years ago Closed 16 years ago

Fire event (onselect?) when menuitems are selected

Categories

(Core :: XUL, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: bugzilla, Assigned: mikepinkerton)

References

(Blocks 1 open bug)

Details

For bug 47434 and others, having a certain event fire whenever a menuitem (or a 
top-level menu) is highlighted (by any method) would be extremely useful.  How 
about onselect?  I think that currently only fires when tree items are selected.
Blocks: 47434
won't you get this when we have DOM2 mutation events? 

hyatt? can you comment?
if you just want to do statusTips, this isn't a big priority. A new event would
be preferable to using mutation events, though, as those would slow things down
a lot.
Status: NEW → ASSIGNED
Target Milestone: --- → Future
should be a new event, since I am going to need to use onselect for menulists
eventually (i.e., the act of picking an item).  onmenuactive would be my
preferred name.
Blocks: 88541
why not use onfocus and onblur events?
Are we just arguing about names (menuactive vs. focus)?  Or would the new event
have to be distinct from a focus event targeting the menu item?

/be
What's the status on this bug?  If it's not fixed, I'm willing to do the work necessary to fire the event.
DOMMenuItemActive?
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
(In reply to comment #7)
> DOMMenuItemActive?

Right.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.