Closed
Bug 997803
Opened 11 years ago
Closed 11 years ago
Buttons close menu panel on click
Categories
(Add-on SDK Graveyard :: General, enhancement)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: freaktechnik, Unassigned)
Details
Currently add-on SDK buttons will always close the panel they are in (so for example the menu panel, or overflow panels too). This is fine in most cases, unless you need the panel to stay open, for example to show a panelview/subview.
This is quite easy to achieve, the node just needs the attribute closemenu set to none.
It would be useful if there was a property exposing the option to not close panels on click.
Comment 1•11 years ago
|
||
I don't think we should implement such feature as is.
Have an option to don't close the menupanel makes sense only if the button is actually in the menu panel, and only if it has subview, that is not currently a feature implemented in SDK: having such option for a case that is not covered by SDK it doesn't sounds right to me.
Currently the developers needs anyway to handle the subview manually, and therefore adding such attributes to the buttons shouldn't be a big issue anyway.
We should rather implement in SDK the subviews, and then automatically the button won't close in such condition.
I would close this bug as WONTFIX, and file a bug to implement subview in SDK.
However, when I mentioned this to Irakli, he was afraid that we could end up to pollute the Firefox UI with too many frames. But it's something we can discuss in that bug.
Wontfixing per Matteo's comment.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•