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

Issue metadata

Status: Released
Owner:
Last visit 16 days ago
Closed: May 4
Cc:
Components:
ReleasedIn: 492.0



Sign in to add a comment

Search doesn't work if you type too fast

Project Member Reported by dborowitz@google.com, Mar 29 2018

Issue description

Affected Version: 475.0

What steps will reproduce the problem?
1. Type [file:] in the search box
2. Wait for autocomplete popup to appear
3. Type [x] <Enter> as close together as possible, such that Enter is pressed before the autocomplete popup disappears.

What is the expected output?
Search for [file:x]

What do you see instead?
Search for [file:], which is an error.

If you use a query type that sends requests to the server, the race window is much larger: the initial [foo:] popup doesn't disappear until it gets a request back from the server, which may be several hundred ms or more. You don't have to type *that* fast to finish a complete query and press enter in that 1s.
 
Project Member

Comment 1 by wyatta@google.com, Apr 2

Labels: Hotlist-Search Type-Bug Priority-2 Triaged-Yes
Owner: wyatta@google.com
Status: Accepted (was: New)
Possibly related to  issue 8593 .
Project Member

Comment 2 by dborowitz@google.com, Apr 25

I don't know if something has changed recently to make this worse, but I feel like I am running into this daily.
Project Member

Comment 3 by wyatta@google.com, Apr 26

Status: Started (was: Accepted)
Project Member

Comment 4 by wyatta@google.com, Apr 27

Status: ChangeUnderReview (was: Started)
https://gerrit-review.googlesource.com/c/gerrit/+/175030
Project Member

Comment 5 by logan@google.com, Apr 30

 Issue 8840  has been merged into this issue.
Project Member

Comment 6 by wyatta@google.com, May 2

Status: Submitted (was: ChangeUnderReview)
Project Member

Comment 7 by beckysiegel@google.com, May 3

ReleasedIn: 492.0
Project Member

Comment 8 by thomasmu...@yahoo.com, May 3

Hmm this still happens on https://gerrit-review.googlesource.com/q/-status:open

you type in statu and press enter on status: and it redirects you straight to status:
Project Member

Comment 9 by thomasmu...@yahoo.com, May 4

Status: New (was: Submitted)
Still happends (reopening) happens on gerrit-review and on http://gerrit-new.wmflabs.org/r/q/size:

It should wait for you to press enter twice if it has drop down results so that you can press enter on for example status: and start typing in more and drop down shows.
Project Member

Comment 10 by wyatta@google.com, May 4

Status: Released (was: New)
What you're describing where confirming partial suggestions takes you to a query of that partial suggestion, which is a different bug. I've filed 8920.

Sign in to add a comment