RESOLVED FIXED 148121
Web Inspector: Allow typing command when a console message is selected
https://bugs.webkit.org/show_bug.cgi?id=148121
Summary Web Inspector: Allow typing command when a console message is selected
Nikita Vasilyev
Reported 2015-08-17 22:21:28 PDT
Created attachment 259247 [details] [Animated GIF] With the patch applied I've noticed a several people clicking in the middle of the console and starting typing commands. In Chrome DevTools, Firefox DevTools, and Firebug if you click once anywhere in the console, it focuses on the console prompt. In Web Inspector, if you click on a console message it selects that message. Typing commands doesn't do anything at this point. In Terminal.app and iTerm, even if you have text selected, you can still type commands.
Attachments
[Animated GIF] With the patch applied (89.72 KB, image/gif)
2015-08-17 22:21 PDT, Nikita Vasilyev
no flags
Patch (2.00 KB, patch)
2015-08-17 22:28 PDT, Nikita Vasilyev
no flags
Radar WebKit Bug Importer
Comment 1 2015-08-17 22:21:48 PDT
Nikita Vasilyev
Comment 2 2015-08-17 22:28:27 PDT
Created attachment 259248 [details] Patch I've run this patch for the past two days and now it's hard for me to go back. I think it's a big improvement.
Timothy Hatcher
Comment 3 2015-08-17 22:36:38 PDT
Comment on attachment 259248 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=259248&action=review I agree. I did this in Colloquy too. > Source/WebInspectorUI/UserInterface/Views/LogContentView.js:734 > + const isCommandC = event.metaKey && event.keyCode === 99; keyIdentifier === "C"?
Nikita Vasilyev
Comment 4 2015-08-17 22:42:21 PDT
(In reply to comment #3) > Comment on attachment 259248 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=259248&action=review > > I agree. I did this in Colloquy too. > > > Source/WebInspectorUI/UserInterface/Views/LogContentView.js:734 > > + const isCommandC = event.metaKey && event.keyCode === 99; > > keyIdentifier === "C"? It's an empty string for Command-C.
WebKit Commit Bot
Comment 5 2015-08-17 23:28:18 PDT
Comment on attachment 259248 [details] Patch Clearing flags on attachment: 259248 Committed r188578: <http://trac.webkit.org/changeset/188578>
WebKit Commit Bot
Comment 6 2015-08-17 23:28:22 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.