Closed
Bug 526382
Opened 15 years ago
Closed 15 years ago
Menus on the menu bar can't be modified while showing
Categories
(Mozilla Labs :: Jetpack Prototype, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: adw, Unassigned)
References
(Depends on 1 open bug)
Details
On OS X only, menus in the menu bar can't be modified while they're showing. Trying to modify a menu in the menu bar as the result of some asynchronous call just before the menu is shown, for example, will appear to do nothing:
jetpack.menu.add({
label: "Doesn't Work on OS X :(",
menu: new jetpack.Menu({
beforeShow: function (menu) {
menu.set("Loading...");
foo(function (stringArray) menu.set(stringArray));
}
})
});
where foo() is some asynchronous function, like an XHR. The menu will continue to show the "Loading..." item even after foo() returns. (If foo() is synchronous, no problem.)
This is due to missing functionality in Gecko unfortunately. I'll file a bug there and make the dependency. If/when that bug is fixed, this one will be, too.
Reporter | ||
Comment 1•15 years ago
|
||
Platform bug is bug 526387.
Comment 2•15 years ago
|
||
We will be monitoring all these issues after the rebooted Jetpack code base is released in the first week of March to ensure their causes are not duplicated. Many of the bugs/issues with the prototype version of Jetpack will be made irrelevant given the structure of the new SDK.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•