DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Request: option to not show search results until N number of characters typed  (Read 5,388 times)

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,175
    • Coding Snacks
    • Participated in NANY Challenge Three Times
    • Plugin Coding Medal
Request: option to not show search results until the string in the search box is N or more characters long, except if the string matches an alias regex pattern.

The idea here is that typing only one or two characters is often not enough to get a good match when using FARR for general file search. Which means that FARR results will resize and flicker briefly with irrelevant results until we have typed enough characters to get something useful. That's most often visual clutter.

The regex alias exception is needed since it can be useful to have a few short regex aliases that are easy to memorize. For example "ff" for Firefox.

The option could be added on the Program Options > Settings > Search Behaviour view.

skajfes

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 267
Wouldn't the same thing be more easily avoided delaying the search until you stop typing? Ie, a 100ms delay (configurable?) after last letter typed to begin searching. Every letter typed resets the counter.

But it seems to me that there is already something similar implemented in FARR, since the search status quickly changes to "Search delay initialized" when I start typing.
It is impossible to make anything foolproof because fools are so ingenious.

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,175
    • Coding Snacks
    • Participated in NANY Challenge Three Times
    • Plugin Coding Medal
Yeah you're thinking of Settings > Keyboard > Delay search start
delay search option.png
I've tried it and it seems there is a small delay in showing the result also when an alias regex is matched with that option on, which I don't want. (Though that might be an illusion on my part - mouser can you say if that delay happens also when an alias regex match is detected?)

Original address: https://www.donationcoder.com/forum/index.php?topic=50558.0