Closed Bug 745577 Opened 12 years ago Closed 11 years ago

Widget labels can't be changed after they are set.

Categories

(Add-on SDK Graveyard :: General, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: KWierso, Assigned: jsantell)

References

()

Details

The linked addon on Builder creates a widget that is added to the addon bar, with an initial label of "Initial label". When you click the widget, it tries to change the widget's label to "New label".

Nothing gets thrown in the console when the label is changed to say that something went wrong, but the label never does get changed.

We should be able to change widget labels after they are set.
Bug 637192 was about a similar issue with context menu items and sub-menus, can any of the code from there be shared/duplicated to fix this for widgets?
See Also: → 745577
Playing around with this and reading docs, the `label` is read-only and cannot be changed -- the `tooltip` is what is displayed on hover.. if `tooltip` isn't defined, `label` is used. The `tooltip` CAN be changed however. Is there a need to change the label?
Assignee: nobody → jsantell
I think I just misunderstood how things worked when I filed this. I seem to be able to change the label property, and it correctly gets changed, but the tooltip stays with the original value, since it's normally controlled by the 'tooltip' property, and only uses label's value if tooltip isn't provided.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.