From kfm-devel Sun Sep 21 00:04:26 2008 From: Peter Penz Date: Sun, 21 Sep 2008 00:04:26 +0000 To: kfm-devel Subject: Re: Making path completion case insensitive Message-Id: <200809210204.27428.peter.penz () gmx ! at> X-MARC-Message: https://marc.info/?l=kfm-devel&m=122195552409328 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