Closed Bug 520246 Opened 15 years ago Closed 6 years ago

Tray icon menus can't be activated

Categories

(Mozilla Labs :: Prism, defect)

All
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: damiano.albani, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009090216 Ubuntu/9.04 (jaunty) Firefox/3.0.14
Build Identifier: 

Using nsINativeMenu.addMenuItem(), it seems that menu items added to a system tray icon don't respond to a click.

Reproducible: Always

Steps to Reproduce:
var eventListener = {
  handleEvent: function(aEvent) {
    Components.utils.reportError(aEvent); // never called!
  }
};

appIcon.menu.addMenuItem("item-id",
                         "Click here!", eventListener);
Actual Results:  
The event listener is NOT called.

Expected Results:  
The event listener SHOULD be called.

On Windows XP, running Prism 1.0b1
Prism isn't maintained anymore. Mass closing of the bugs.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.