Closed
Bug 1090478
Opened 10 years ago
Closed 9 years ago
Add a keyboard shortcut for the Browser Toolbox
Categories
(DevTools :: Framework, defect)
DevTools
Framework
Tracking
(firefox39 fixed)
RESOLVED
FIXED
Firefox 39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: bgrins, Assigned: bgrins)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
jryans
:
review+
|
Details | Diff | Splinter Review |
There are so many amazing key combinations still available to use for shortcuts - we should use one of them for the Browser Toolbox.
Assignee | ||
Comment 1•10 years ago
|
||
We should only add a shortcut if the browser toolbox is preffed on. Maybe it could be something like cmd+opt+shift+i just to be extra sure it doesn't interfere with anything else (the normal toolbox is cmd+opt+i and DOMi is cmd+shift+i).
Assignee | ||
Comment 2•10 years ago
|
||
This adds the keyboard shortcut, but for some reason it always opens up in safe mode when opening via the shortcut even though it works when clicking it using the menu.
(In reply to Brian Grinstead [:bgrins] from comment #2) > Created attachment 8560771 [details] [diff] [review] > browser-toolbox-keyboard-shortcut.patch > > This adds the keyboard shortcut, but for some reason it always opens up in > safe mode when opening via the shortcut even though it works when clicking > it using the menu. I believe that's because Firefox opens in safe mode if the shift key is pressed on start up, which is part of the key combo. :/
Assignee | ||
Comment 4•10 years ago
|
||
(In reply to J. Ryan Stinnett [:jryans] from comment #3) > (In reply to Brian Grinstead [:bgrins] from comment #2) > > Created attachment 8560771 [details] [diff] [review] > > browser-toolbox-keyboard-shortcut.patch > > > > This adds the keyboard shortcut, but for some reason it always opens up in > > safe mode when opening via the shortcut even though it works when clicking > > it using the menu. > > I believe that's because Firefox opens in safe mode if the shift key is > pressed on start up, which is part of the key combo. :/ Ah, that is right. Shift on Windows and opt on osx. I can confirm by holding opt while clicking on the menu item. I guess we would need to pick different shortcuts per-OS that avoid each key or change the bootup code to ignore the modifier if it is the Browser Toolbox. Is it important to be able to open up BT in safe mode with a modifier key?
Assignee | ||
Comment 6•10 years ago
|
||
Now that bug 1140183 has landed we can set an env variable for the new process to disable safe mode
Assignee | ||
Comment 7•9 years ago
|
||
Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e276c49dc254
Comment on attachment 8574167 [details] [diff] [review] browser-toolbox-keyboard-shortcut.patch Review of attachment 8574167 [details] [diff] [review]: ----------------------------------------------------------------- Cool! A bit odd that the process API doesn't let you specify the child's environment directly, but this seems to work well enough.
Attachment #8574167 -
Flags: review?(jryans) → review+
Assignee | ||
Updated•9 years ago
|
Attachment #8560771 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 9•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/6c1a259301e8
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/6c1a259301e8
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 39
Assignee | ||
Updated•9 years ago
|
Keywords: dev-doc-needed
Comment 11•9 years ago
|
||
I've added a line in https://developer.mozilla.org/en-US/docs/Tools/Keyboard_shortcuts#Opening_and_closing_tools and in https://developer.mozilla.org/en-US/docs/Tools/Browser_Toolbox#Opening_the_Browser_Toolbox. Am I right that it is [Ctrl + Alt + Shift + I] on Windows/Linux? I only have access to a Mac at the moment...
Flags: needinfo?(bgrinstead)
Assignee | ||
Comment 12•9 years ago
|
||
(In reply to Will Bamberg [:wbamberg] from comment #11) > I've added a line in > https://developer.mozilla.org/en-US/docs/Tools/ > Keyboard_shortcuts#Opening_and_closing_tools and in > https://developer.mozilla.org/en-US/docs/Tools/ > Browser_Toolbox#Opening_the_Browser_Toolbox. > > Am I right that it is [Ctrl + Alt + Shift + I] on Windows/Linux? I only have > access to a Mac at the moment... Yes, that is correct. Thanks for updating the docs.
Flags: needinfo?(bgrinstead)
Keywords: dev-doc-needed → dev-doc-complete
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•