Question on KUrlCompletion::allMatches()

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Sun Feb 15 17:52:11 GMT 2009


Christian Ehrlicher schrieb:
> Hi,
> 
> what should KUrlCompletion::allMatches() return? An encoded url or a 
> path? At least on windows it returns the path and not the url which 
> makes KUrlCompletionTest::testLocalURL() fail.
> 
ok, I found the problem:

in DirectoryListThread::run() m_prepend is not percent encoded when
m_complete_url is true. kurlcompletiontest works on linux because you
normally don't have a space in your temp path location.
I tried to add the percent encoded path but this doesn't work as 
KCompletion::allMatches() doesn't find the added paths...



Christian




More information about the kde-core-devel mailing list