Making path completion case insensitive

Peter Penz peter.penz at gmx.at
Sun Sep 21 01:04:26 BST 2008


On Monday, 15. September 2008 22:04:19 Diaa Sami wrote:
> > > I'm new to KDE development and I want to add case
> > > insensitive path
> > > completion to KDE as a whole, I started with dolphin for
> > > now and I'll look
> > > into other components later.

Welcome and thanks for taking care on this topic!

[...]
> Now to the technical part, regarding the support of case insensitive
> completion in Dolphin, After wading through Dolphin and KDE source-code, I
> found that KCompletion already has setIgnoreCase method and it's working
> well, I just added a line in KUrlNavigator to setIgnoreCase(true) of the
> KUrlCompletion object and it worked fine.
>
> So now the question is whether this should be an option for Dolphin or for
> KUrlNavigator and consequently where the option will be, in dolphinrc or
> somewhere else, as the implementation is already there in the core
> libraries.

From my point of view there is no need for adding an option at all, just add 
setIgnoreCase(true) to KUrlNavigator. As you said already: other well known 
applications having autocompletion also use a case insensitive completion.

I guess you don't have an SVN account yet. Should I commit this line of code 
for you in the meantime?

Best regards,
Peter

>
> [1] https://bugs.kde.org/show_bug.cgi?id=108515
> [2] https://bugs.kde.org/show_bug.cgi?id=149830
>
> Regards,
> Diaa Sami





More information about the kfm-devel mailing list