swiper icon indicating copy to clipboard operation
swiper copied to clipboard

counsel-rg displays "1 more chars" even when rg has already started

Open bcc32 opened this issue 2 years ago • 1 comments

I, and several users at my site, have observed the following confusing behavior with counsel-rg when the user types a query string quickly:

  1. The ++ marker to indicate that rg is still running is not displayed
  2. 1 chars more (or sometimes 2 chars more) is displayed despite the query string being long enough
  3. rg is running

This seems to happen when rg is running but just hasn't produced any results yet (or maybe never will, depending on the query string).

Eventually, when rg completes, the correct message "no matches found" is displayed. But counsel never displays the state where rg is still running.

Here's a screenshot of the bad state:

image

bcc32 avatar Nov 21 '23 20:11 bcc32

I'm experiencing a similar issue, but rg doesn't seem to ever start when getting enough characters

kuba-orlik avatar Dec 20 '23 10:12 kuba-orlik