Closing developer tools switches focus back to the original tab
Categories
(DevTools :: Console, defect, P3)
Tracking
(firefox-esr68 unaffected, firefox73 wontfix, firefox74 verified, firefox75 verified)
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox73 | --- | wontfix |
firefox74 | --- | verified |
firefox75 | --- | verified |
People
(Reporter: exuvo, Assigned: nchevobbe)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0
Steps to reproduce:
Open developer tools in separate window for a tab.
Switch tab.
Click close window button on the developer tools window.
Actual results:
Developer tab is closed but the current tab is also changed to the tab the dev tool window was connected to. Not needed when I am closing an old dev tools window.
Expected results:
Developer tab is closed and my current tab remains active.
Not sure when this bug was introduced, as no other interaction with the dev tools seem to select the related tab, where it might actually be useful.
Comment 1•5 years ago
|
||
regression-window |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
20191202091209
(In reply to exuvo from comment #0)
Not sure when this bug was introduced
For future reference, you can use mozregression-gui to find out.
Assignee | ||
Updated•5 years ago
|
Comment 2•5 years ago
|
||
:nchevobbe it's been a month and a half with no response from the author of the regressing patch. I see a current total of 17 needinfo requests with the oldest dating back to 2017. Should someone else take a look at this bug report?
Assignee | ||
Comment 3•5 years ago
|
||
(In reply to Gingerbread Man from comment #2)
:nchevobbe it's been a month and a half with no response from the author of the regressing patch. I see a current total of 17 needinfo requests with the oldest dating back to 2017. Should someone else take a look at this bug report?
We're all very busy and we have to prioritize what we do from our days, so please acknowledge that.
I'll try to have a look at this issue.
Assignee | ||
Comment 4•5 years ago
|
||
Assignee | ||
Comment 5•5 years ago
|
||
Tried something (see Comment 4) using docShell.isActive
which seemed promising from manually testing, but isn't picked up by the new test I added.
Not sure if this is a test-env related thing, or if it's highlighting a race condition in my solution for now.
Updated•5 years ago
|
Comment 7•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Updated•5 years ago
|
Comment 8•5 years ago
|
||
Please nominate this for Beta approval if you're comfortable doing so.
Assignee | ||
Comment 10•5 years ago
|
||
Comment on attachment 9121553 [details]
Bug 1600619 - Don't focus the content page when closing the console when the tab it was opened for is now inactive. r=ochameau.
Beta/Release Uplift Approval Request
- User impact if declined: If the user opened devtools in a separate window, switched to another tab and then closed the devtools window, the previous tab will be selected, which can be annoying.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: 1. Open devtools
- From the meatball menu, select "separate window"
- Switch to another tab
- Close the devtools window
ER: The selected tab shouldn't change
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): devtools only, covered by test
- String changes made/needed:
Assignee | ||
Updated•5 years ago
|
Comment 11•5 years ago
|
||
Reproduced the initial issue using Beta version 74.0b2 (Build id: 20200211200559).
Verified - Fixed in latest Nightly 75.0a1 (Build id: 20200212205745) using Windows 10, Mac OS 10.15 and Ubuntu 18.04.
Comment 12•5 years ago
|
||
Comment on attachment 9121553 [details]
Bug 1600619 - Don't focus the content page when closing the console when the tab it was opened for is now inactive. r=ochameau.
Covered by tests and verified on Nightly by QA, , uplift approved for 74.0b3, thanks.
Comment 13•5 years ago
|
||
bugherder uplift |
Comment 14•5 years ago
|
||
Verified - Fixed in latest Beta 74.0b3 (Build id: 20200214015126) using Windows 10, Mac OS 10.15 and Ubuntu 18.04.
Description
•