Closed
Bug 1500674
Opened 8 years ago
Closed 8 years ago
Developer tool shortcut should be disabled by default
Categories
(DevTools :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1408969
People
(Reporter: najoll, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0
Actual results:
I pressed a key combination I did not intend. A developer pane popped up. I had to close it.
Expected results:
Surely there is no point whatsoever in having on vanilla (non-beta, non-Developer) Firefox a keyboard shortcut enabled by default for opening a developer pane.
I should add that (1) the keyboard shortcut is similar to one that I do use (to launch a third-party program), (2) I trigger the developer pane, by accident, fairly frequently.
Comment 2•8 years ago
|
||
The web developer tools are included in all builds on purpose.
see the "(alt key)/tools/web developer" submenu in Firefox for the developer options and the shortcuts.
There are easy ways to disable the webtools but your want them to be removed by default and that is very likely a wontfix.
Component: Untriaged → General
Product: Firefox → DevTools
Having the user disable the tools does not solve the problem of the unexpecting, slightly unlucky user accidentally triggering those tools.
To disable the tools, does one search in about:config for 'devtoolls.enabled' and set it to false?
Comment 4•8 years ago
|
||
Thanks for filing. Accidental openings of DevTools are actually pretty common, and we had started to work on a way to have DevTools disabled by default earlier this year.
This project has been put in pause for the time being, but we intend to resume it at some stage.
So this isn't going to be closed as WONTFIX. However I believe we might already have another bug tracking this, so we might close it as DUPLICATE.
Julian: do you mind checking if there's a bug for this already?
Also, could you answer this question?
> To disable the tools, does one search in about:config for 'devtoolls.enabled' and set it to false?
Flags: needinfo?(jdescottes)
Comment 5•8 years ago
|
||
(In reply to Patrick Brosset <:pbro> from comment #4)
> Thanks for filing. Accidental openings of DevTools are actually pretty
> common, and we had started to work on a way to have DevTools disabled by
> default earlier this year.
> This project has been put in pause for the time being, but we intend to
> resume it at some stage.
> So this isn't going to be closed as WONTFIX. However I believe we might
> already have another bug tracking this, so we might close it as DUPLICATE.
>
> Julian: do you mind checking if there's a bug for this already?
This is the purpose of the devtools onboarding (Bug 1408969). Maybe more accurately here, the feature requested is covered by Bug 1414003 (have a button to completely disable devtools in the onboarding page). Note that in the plans for the onboarding page, we also want to reduce the number of shortcuts that open devtools, unless the user explicitly enabled DevTools.
> Also, could you answer this question?
> > To disable the tools, does one search in about:config for 'devtoolls.enabled' and set it to false?
No, this preference is just part of the state that will lead to enable or disable devtools, flipping it will not work as intended.
You may set `devtools.policy.disabled` to true and it should fully disable devtools. However about:config preferences are not meant to be a public API and their behavior might change without prior notice. A real support for disabling DevTools will only be implemented in Bug 1408969.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Flags: needinfo?(jdescottes)
Resolution: --- → DUPLICATE
Updated•8 years ago
|
Flags: needinfo?(bugzilla)
You need to log in
before you can comment on or make changes to this bug.
Description
•