RESOLVED FIXED 144207
Web Inspector: Should have a keyboard shortcut to switch between inspector tabs
https://bugs.webkit.org/show_bug.cgi?id=144207
Summary Web Inspector: Should have a keyboard shortcut to switch between inspector tabs
Joseph Pecoraro
Reported 2015-04-25 20:03:21 PDT
* SUMMARY Should have a keyboard shortcut to switch between inspector tabs. This is something I frequently want to do. Though there are keyboard shortcuts to jump directly to certain tabs, moving left/right should also be possible.
Attachments
[PATCH] Proposed Fix (6.33 KB, patch)
2015-05-28 14:52 PDT, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2015-04-25 20:03:40 PDT
Joseph Pecoraro
Comment 2 2015-05-28 14:52:35 PDT
Created attachment 253867 [details] [PATCH] Proposed Fix
Timothy Hatcher
Comment 3 2015-05-28 15:58:51 PDT
Comment on attachment 253867 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=253867&action=review > Source/WebInspectorUI/ChangeLog:11 > + Be careful that some keyboard shortcuts, when used inside a text > + editor / text field are just text actions. However, some keyboard > + shortcuts will work no matter where you trigger them. Do we need to use WebInspector.isEventTargetAnEditableField to abort early?
Joseph Pecoraro
Comment 4 2015-05-28 18:16:22 PDT
(In reply to comment #3) > Comment on attachment 253867 [details] > [PATCH] Proposed Fix > > View in context: > https://bugs.webkit.org/attachment.cgi?id=253867&action=review > > > Source/WebInspectorUI/ChangeLog:11 > > + Be careful that some keyboard shortcuts, when used inside a text > > + editor / text field are just text actions. However, some keyboard > > + shortcuts will work no matter where you trigger them. > > Do we need to use WebInspector.isEventTargetAnEditableField to abort early? Naw, we match the system here. If you're in a text editor and do something like Shift+Command+Left, it should select text instead of change tabs.
WebKit Commit Bot
Comment 5 2015-05-28 19:06:28 PDT
Comment on attachment 253867 [details] [PATCH] Proposed Fix Clearing flags on attachment: 253867 Committed r184974: <http://trac.webkit.org/changeset/184974>
WebKit Commit Bot
Comment 6 2015-05-28 19:06:32 PDT
All reviewed patches have been landed. Closing bug.
Joseph Pecoraro
Comment 7 2015-06-02 13:53:11 PDT
(In reply to comment #4) > (In reply to comment #3) > > Comment on attachment 253867 [details] > > [PATCH] Proposed Fix > > > > View in context: > > https://bugs.webkit.org/attachment.cgi?id=253867&action=review > > > > > Source/WebInspectorUI/ChangeLog:11 > > > + Be careful that some keyboard shortcuts, when used inside a text > > > + editor / text field are just text actions. However, some keyboard > > > + shortcuts will work no matter where you trigger them. > > > > Do we need to use WebInspector.isEventTargetAnEditableField to abort early? > > Naw, we match the system here. If you're in a text editor and do something > like Shift+Command+Left, it should select text instead of change tabs. Oops, yes we do for native editable fields. When I tested this, I tested in the QuickConsole, and code mirror was handling that keyboard input and I was seeing the desired behavior, but we don't get that in <input>, etc.
Note You need to log in before you can comment on or make changes to this bug.