topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday October 22, 2020, 12:43 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

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

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,075
    • View Profile
    • Donate to Member
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: 260
    • View Profile
    • Donate to Member
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,075
    • View Profile
    • Donate to Member
Yeah you're thinking of Settings > Keyboard > Delay search start
delay search option.pngRequest: option to not show search results until N number of characters typed
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?)