Open
Bug 1474423
Opened 7 years ago
Updated 2 years ago
popups autohide after opening non-gecko sub-popups
Categories
(Toolkit :: UI Widgets, defect, P5)
Tracking
()
NEW
People
(Reporter: cito, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0
Build ID: 20180704003137
Steps to reproduce:
To reproduce this issue, you can use the cookie-bg-picker web-extension example that can be found here:
https://github.com/mdn/webextensions-examples/tree/master/cookie-bg-picker
Contrary to its name, that example extension does not feature a color picker, so you need to add one by replacing the code for the reset button in bgpicker.html,
<button>Reset</button>
with the code for a color picker:
<input type="color" value="#a00000">
Make sure you use the default settings and don't have autohide disabled in the Debugger, as explained here:
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Debugging#Debugging_popups
Actual results:
Now when you click on the button of the cookie-bg-picker web extension, you should see a red button that corresponds to the color picker.
When you click that red button, the color picker opens, but the popup of the web extension closes.
Expected results:
The color picker should open, and the popup of the web extension should also stay open, like when you click on any other input element.
Comment 1•7 years ago
|
||
Hi, i tried reproducing this issue using Firefox Nightly 63.0a1 (2018-07-11) but without any success, after i set the ui.popup.disable_autohide = "true" in "about:config" the pop-up from the web extension would also stay open once the color picker is opened.
Can you try reproducing this issue using a fresh profile? you have the steps here: https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles?redirectlocale=en-US&redirectslug=Managing-profiles#w_starting-the-profile-manager
Flags: needinfo?(cito)
Reporter | ||
Comment 2•7 years ago
|
||
Right, when ui.popup.disable_autohide = true, which is a setting intended to be used for debugging purposes only, then the popup stays open. But when ui.popup.disable_autohide = false, which is the default setting, then it closes.
I can reproduce it with 61.0.1 and Nightly 63.0a1 (2018-07-11). Note that I have tested it under Windows 10. Maybe it behaves differently on other OSes.
Flags: needinfo?(cito)
Comment 3•7 years ago
|
||
Yes it does reproduce for me as well when the ui.popup.disable_autohide = false, i will set the component for this one to Toolkit Add-on manager
Status: UNCONFIRMED → NEW
status-firefox61:
--- → affected
status-firefox62:
--- → affected
status-firefox63:
--- → affected
Component: Untriaged → Add-ons Manager
Ever confirmed: true
OS: Unspecified → Windows 10
Product: Firefox → Toolkit
Hardware: Unspecified → x86
Updated•7 years ago
|
Flags: needinfo?(mixedpuppy)
Comment 4•7 years ago
|
||
This is a very long standing issue with popups in Firefox. There are several types of popups that will not work from within a popup, this is just one. You're probably better off finding a js library that implements its own color picker than trying to get popups within popups to work right.
Component: Add-ons Manager → XUL Widgets
Flags: needinfo?(mixedpuppy)
Priority: -- → P5
Summary: Web-extension popup auto hides after click on color picker → popups autohide after click on color picker
Updated•6 years ago
|
Summary: popups autohide after click on color picker → popups autohide after opening non-gecko sub-popups
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•