New issue
Advanced search Search tips

Issue 887586 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Ctrl+G from within source inspector in DevTools does "find next" in the page!

Reported by teo8...@gmail.com, Sep 20

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36

Steps to reproduce the problem:
1. open Developer Tools -> Network tab
2. locate a request that loaded a javascript or css file
3. right-click on the filename and choose "Open in Source panel"
4. Make sure you give focus to the tab where the source code of the file is displayed
5. Do Ctrl+F, type some string that has a few matches, and hit Enter
6. Hit Ctrl+G

What is the expected behavior?
It should find the next occurrence within the same source file

What went wrong?
1) Usually, what happens is that Ctrl+G behaves as if the normal tab with the rendered web page had focus. As if you had never even opened the developer tools, weren't using them. It searches in the page contents. It happens to me all the time, and until now it was the only behavior I had ever observed, which is completely idiotic and wrong.

2) Right now I was testing this again, and a different thing happened: focus remained within the source panel, and Ctrl+G opened the "Go to line" prompt, asking me to enter a line number.
This is not complete nonsense (it's a shortcut conflict), but it's still pretty stupid, because it's a very universal convention for Ctrl+G to be the shortcut for "find next". I understand it may be a common shortcut for "go to line" too, but at least when you have the "find" searchbox open, perhaps if you have used it once with Ctrl+F, Ctrl+G should be "find next"

Did this work before? N/A 

Chrome version: 69.0.3497.100  Channel: stable
OS Version: 
Flash Version:
 
Labels: Needs-Triage-M69
Components: -Platform>DevTools Platform>DevTools>UX
Owner: einbinder@chromium.org
Status: Assigned (was: Unconfirmed)

Sign in to add a comment