New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 669400 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Dec 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Filter text input cuts off user's filter string

Reported by ovkadu...@gmail.com, Nov 29 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36

Steps to reproduce the problem:
1. Open Network panel
2. Type anything in the filter input
3. Select some symbols in there
4. Click on the panel on free space (it triggers blur event)
5. Check filter's string. It's cut off. Selected symbols are deleted.

What is the expected behavior?
User's filter string shouldn't be corrupted.

What went wrong?
The code logic mistakenly assumes that user's selected text is suggestion provided by DevTools. And the blur event makes the suggestion to be removed. It's ok for suggestions but not for user filter data.

Did this work before? N/A 

Chrome version: 54.0.2840.99  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 23.0 r0

The animated gif showing the bug repoduction is attached. The direct link to see it online is https://drive.google.com/file/d/0ByC_JXfGJgxcOWZyelhYUVlsLTQ/view?usp=sharing

I would like to work on this ticket. 
I've already made a fix and going to upload it in a moment.
 
cut_off_network_filter_string.gif
722 KB View Download
Owner: allada@chromium.org
Status: Assigned (was: Unconfirmed)

Comment 2 by ovkadu...@gmail.com, Nov 30 2016

I created a code review for this ticket https://codereview.chromium.org/2541793002 .
Status: Fixed (was: Assigned)

Sign in to add a comment