RESOLVED FIXED 143267
Web Inspector: spacebar should pause/resume timeline recording when timelines are open
https://bugs.webkit.org/show_bug.cgi?id=143267
Summary Web Inspector: spacebar should pause/resume timeline recording when timelines...
Brian Burg
Reported 2015-03-31 10:07:43 PDT
.. and focus isn't somewhere else, like a search field.
Attachments
Patch (3.90 KB, patch)
2015-07-07 12:25 PDT, Devin Rousso
no flags
Patch (6.08 KB, patch)
2015-07-07 18:59 PDT, Devin Rousso
no flags
Radar WebKit Bug Importer
Comment 1 2015-03-31 10:08:22 PDT
Devin Rousso
Comment 2 2015-07-07 12:25:50 PDT
Timothy Hatcher
Comment 3 2015-07-07 13:14:05 PDT
Comment on attachment 256312 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=256312&action=review > Source/WebInspectorUI/UserInterface/Views/TimelineTabContentView.js:37 > + this._toggleRecordingShortcut = new WebInspector.KeyboardShortcut(null, WebInspector.KeyboardShortcut.Key.Space, this._toggleRecordingOnSpacebar.bind(this)); > + this._toggleRecordingShortcut.implicitlyPreventsDefault = false; > + > + this._toggleNewRecordingShortcut = new WebInspector.KeyboardShortcut(WebInspector.KeyboardShortcut.Modifier.Shift, WebInspector.KeyboardShortcut.Key.Space, this._toggleNewRecordingOnSpacebar.bind(this)); > + this._toggleNewRecordingShortcut.implicitlyPreventsDefault = false; We should mention the shortcuts in a tooltip on the Record button in the sidebar. It might be easier to put this code in TimelineSidebarPanel, since it also toggles recording and you would have access to the shortcuts to use displayName for the tooltip.
Devin Rousso
Comment 4 2015-07-07 18:59:04 PDT
WebKit Commit Bot
Comment 5 2015-07-07 22:25:40 PDT
Comment on attachment 256344 [details] Patch Clearing flags on attachment: 256344 Committed r186489: <http://trac.webkit.org/changeset/186489>
WebKit Commit Bot
Comment 6 2015-07-07 22:25:44 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.