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 -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel