Request: allow krunner to start search at the first character

Marco Martin notmart at
Fri Dec 3 10:09:10 CET 2010

On Friday 03 December 2010, Aaron J. Seigo wrote:
> On Thursday, December 2, 2010, Vito 'ZeD' De Tullio wrote:
> > It's this "3 chars" hardcoded?
> it isn't hard coded in krunner or Plama::RunnerManager. this is something
> each Runner plugin decides on for itself. for plugins where fewer letters
> actually stand the chance of returning anything even moderately useful,
> they do return results for fewer charaters. the only thing achieved by
> returning hundreds (or thousands) of useless possible matches on the first
> keystroke is to waste cpu and slow down the time needed until the next set
> of matches appears.
> try it for yourself, though; it's usually a "if (query.length() < 3) {
> return; }" type statement in the match() method of the runners, which are
> in kdebase/workspace/plasma/generic/runners and kdeplasma-addons/runners

yeah, queries with less than 3 chars (and sometimes the 3 chars too) return 
really too much junk results.
i think it should stay as it is now

Marco Martin

More information about the Plasma-devel mailing list