Closed Bug 1946334 Opened 2 months ago Closed 2 months ago

Prevent buttons in spaces toolbar to be shown twice

Categories

(Thunderbird :: Add-Ons: Extensions API, defect)

defect

Tracking

(thunderbird_esr128 unaffected)

RESOLVED FIXED
137 Branch
Tracking Status
thunderbird_esr128 --- unaffected

People

(Reporter: TbSync, Assigned: TbSync)

Details

Attachments

(3 files)

The old spaceButtonToolbar API and the new spaces API both add all registered spaces to the spaces toolbar. If both APIs are used by two different add-ons, all buttons of add-on spaces are shown twice.

The old spaceButtonToolbar API and the new spaces API both add all
registered spaces to the spaces toolbar. If both APIs are used by two
different add-ons, all buttons of add-on spaces are shown twice.

This can be observed by installing the two attached add-ons.

Fixed by not adding buttons if they exist already.

Assignee: nobody → john
Status: NEW → ASSIGNED

Pushed by john@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/1b2f588724e8
Prevent buttons in spaces toolbar to be shown twice. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: