The about:preferences help button opens support page twice (opens two tabs/windows instead of one)
Categories
(Firefox :: Settings UI, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox65 | --- | unaffected |
firefox66 | --- | verified |
firefox67 | --- | verified |
People
(Reporter: emilghitta, Assigned: Gijs)
References
(Blocks 1 open bug)
Details
(Keywords: regression)
Attachments
(2 files)
(deleted),
image/gif
|
Details | |
(deleted),
text/x-phabricator-request
|
lizzard
:
approval-mozilla-beta+
|
Details |
Affected versions
- Firefox 66.0b13 (BuildId:20190304101322)
- Firefox 67.0a1 (BuildID:20190305092747)
Unaffected versions
- Firefox 65.0.2 (BuildId:20190225143501)
- Firefox 60.5.2esr (BuildId:20190221164337)
Affected platforms
- Windows 10 64bit.
- Windows 7 64bit.
- macOS 10.13
- Ubuntu 16.04 64bit
Steps to reproduce
- Launch Firefox.
- Access the about:preferences page.
- Click the "Choose" button from the "Language and Appearance" section.
- Click the "Help" button.
Expected result
- One new window containing the support page opens.
Actual result
- Two different windows containing different support pages opens.
Regression range
Additional notes
- On macOS and Ubuntu two different tabs are opened.
- For further information regarding this issue please observe the attached screencast.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
In bug 1521040 we added the listeners for ondialoghelp
to utilityOverlay.js
. But that loads for:
- browser.xul
- about:preferences itself
- the subdialogs
so multiple listeners end up being registered that get a go at handling the event.
It seems simpler to only register a listener in the dialog that actually needs to deal with it. This also avoids listening for these events we'll never get in browser.xul and the hidden window.
Assignee | ||
Comment 4•6 years ago
|
||
Comment on attachment 9048845 [details]
Bug 1532685 - avoid opening help pages more than once by adding listeners to the actual dialogs instead of using utilityOverlay.js, r?jaws
Beta/Release Uplift Approval Request
- Feature/Bug causing the regression: Bug 1521040
- User impact if declined: Two tabs or windows open instead of 1.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: see comment #0
- List of other uplifts needed: n/a
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Low risk, this moves an event handler from one shared place where it was getting added too many times, to more specific places so it's added exactly once in each dialog.
- String changes made/needed: n/a
Comment 5•6 years ago
|
||
bugherder |
Reporter | ||
Updated•6 years ago
|
Comment on attachment 9048845 [details]
Bug 1532685 - avoid opening help pages more than once by adding listeners to the actual dialogs instead of using utilityOverlay.js, r?jaws
Straightforward fix for new regression - let's uplift for the RC.
Comment 7•6 years ago
|
||
bugherder uplift |
Reporter | ||
Comment 8•6 years ago
|
||
This issue is verified fixed using Firefox 67.0a1 (BuildId:20190312095443) and Firefox 66.0 (BuildId:20190311211048) on Windows 10 64bit, macOS 10.12.6 and Ubuntu 16.04 32bit.
Description
•