Closed
Bug 745577
Opened 13 years ago
Closed 12 years ago
Widget labels can't be changed after they are set.
Categories
(Add-on SDK Graveyard :: General, defect, P2)
Add-on SDK Graveyard
General
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.
Reporter | ||
Comment 1•13 years ago
|
||
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?
Reporter | ||
Updated•13 years ago
|
Priority: -- → P2
Updated•12 years ago
|
Blocks: sdk/widget
Assignee | ||
Comment 2•12 years ago
|
||
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 | ||
Updated•12 years ago
|
Assignee: nobody → jsantell
Reporter | ||
Comment 3•12 years ago
|
||
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: 12 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•