Closed Bug 1141945 Opened 10 years ago Closed 10 years ago

Toggle button with badge breaks menu

Categories

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

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1029937

People

(Reporter: sekogan, Unassigned)

Details

Attachments

(2 files)

Attached image Screenshot β€”
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0
Build ID: 20150212004049

Steps to reproduce:

1. Created simple addon (please find sources attached) that has toolbar button with a badge:

button = ToggleButton({
    id: 'foo',
    icon: data.url('./images/extension_icon.png'),
    label: 'Foo',
    badge: '42'
})

2. Moved that button to the menu (right mouse click on the button -> Move to menu).


Actual results:

The menu became broken, it doesn't show buttons anymore (see screenshot).


Expected results:

The menu should show buttons.
Attached file Test addon sources β€”
Hey Matteo, any chance you could take a look at this?
Flags: needinfo?(zer0)
Priority: -- → P2
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(zer0)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: