Closed Bug 1410361 Opened 7 years ago Closed 7 years ago

[dt-onboarding] UX: should not open more than one about:devtools tab

Categories

(DevTools :: General, enhancement, P3)

enhancement

Tracking

(firefox58 fixed)

RESOLVED FIXED
Firefox 58
Tracking Status
firefox58 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

During one session where I had disabled devtools on my profile (and forgot about it), I triggered the devtools onboarding page when pressing a DT shortcut.

Seeing that it was not doing what I expected (opening a tab vs opening devtools), I instantly pressed the shortcut again ("why is this not working!"). I ended up with 5 tabs of about:devtools opened.

I think we should only ever open one tab of about:devtools. 

Alternatively, maybe we could also think about enabling DevTools if the user triggers a DevTools entry point while being on the DevTools onboarding page?
Blocks: 1408339
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Victoria, does the following change seem fine to you: 

On a given window, if an about:devtools tab is already opened and the user triggers a devtools shortcut again, focus the existing tab rather than opening multiple about:devtools tabs.
Flags: needinfo?(victoria)
Yes, it would be great to focus the existing tab rather than multiple about:devtools tabs.

(As for the idea of enabling DevTools if user triggers entry point while on the onboarding page - I think I'd rather keep it a very deliberate "Activate" action for now since that's more similar to the eventual "Install" action.) 

Thanks!
Flags: needinfo?(victoria)
Comment on attachment 8922313 [details]
Bug 1410361 - reuse existing tab of about:devtools;

https://reviewboard.mozilla.org/r/193362/#review199986

Looks good to me !
Attachment #8922313 - Flags: review?(nchevobbe) → review+
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cd1e9860b7d6
reuse existing tab of about:devtools;r=nchevobbe
https://hg.mozilla.org/mozilla-central/rev/cd1e9860b7d6
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Depends on: 1413485
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: