popups opened from a panel cause the panel to close




WebExtensions: General
5 months ago
3 months ago


(Reporter: sblask, Unassigned)


54 Branch

Firefox Tracking Flags

(firefox57 wontfix)




5 months ago
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
Build ID: 20170612122310

Steps to reproduce:

Create a webextension with a toolbar button that bring up an options popup:

    "browser_action": {
        "browser_style": false,
        "default_icon": "icon.svg",
        "default_popup": "options/options.html",
        "default_title": "__MSG_browserActionLabelDefault__"

Add an input with type color.
Click the button and then the color chooser.

Actual results:

The color chooser comes up, but the options popup disappears. So whatever color you choose, it's not applied in the options popup, making the input unusable.

Expected results:

The options popup should stay up and the chosen color should be applied to the input element. (Works like this in Chrome)


5 months ago
Component: Untriaged → WebExtensions: Untriaged
Product: Firefox → Toolkit
Summary: Can't use input type color in options popup → Can't use input type color in popup


5 months ago
Assignee: nobody → mixedpuppy
Priority: -- → P3
Whiteboard: investigate
Some clarity on the STR.

When any popup is opened from a panel, the panel is closed.  In this case, the color picker opens causing the panel to close, thus you are unable to select a color using this mechanism.  This is a long standing issue with our panels, and really any input element would work, for example a file picker.
Summary: Can't use input type color in popup → popups opened from a panel cause the panel to close
There is no current workaround for this, it would require a change in the panel code to make something general.
Assignee: mixedpuppy → nobody
Priority: P3 → --
Whiteboard: investigate


5 months ago
Component: WebExtensions: Untriaged → General
Product: Toolkit → Core
Component: General → XUL

Comment 3

3 months ago
Please don't put random webextensions bugs in the xul component.
Component: XUL → WebExtensions: General
Product: Core → Toolkit


3 months ago
status-firefox57: --- → wontfix
You need to log in before you can comment on or make changes to this bug.