Bug 142533 - Web Inspector: add global shortcut for focusing active navigation sidebar's filter box
Summary: Web Inspector: add global shortcut for focusing active navigation sidebar's f...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 149198
Blocks:
  Show dependency treegraph
 
Reported: 2015-03-10 07:48 PDT by Brian Burg
Modified: 2018-03-10 18:00 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Burg 2015-03-10 07:48:40 PDT
There can be at least two "filter" inputs, for the left sidebar and the split console. It would be really useful to have a shortcut, such as cmd+\, to move focus to the next filter input. As it is, the hit target is so small and at the bottom of the window, I rarely use it myself.
Comment 1 Radar WebKit Bug Importer 2015-03-10 07:48:53 PDT
<rdar://problem/20104646>
Comment 2 BJ Burg 2015-09-16 10:57:54 PDT
The approach Xcode takes is to have two separate shortcuts:

* one for left-side navigator filter (In menu bar as "Edit > Filter > Filter in Navigator", keys Option+Shift+J)
* one for right-side library filter (In menu bar as "Edit > Filter > Filter in Library", keys Option+Shift+L)

We don't have a library, but this should be easy to do for the navigators.
Comment 3 Nikita Vasilyev 2018-03-10 18:00:32 PST
Brian, did you mean Command-Option-*?
Option+Shift+J types Ô
Option+Shift+L types Ò

In macOS High Siera Xcode:
Command-J move focus to editor.
Command-Shift-J reveal in project navigator.
Command-Option-J focus on navigator filter field.

Possible conflicts:
Safari:
Command-Option-L open Downloads

Chrome:
Command-Option-J open/close DevTools and focuses on console