Version: (using KDE KDE 3.5.8) Installed from: Debian testing/unstable Packages When you do not supply a second parameter, cpan: will default to dist. This makes searching for modules that do not have their own namespace impossible. Test case: http://search.cpan.org/search?mode=dist&query=POE%3A%3AWheel%3A%3ARun http://search.cpan.org/search?query=POE%3A%3AWheel%3A%3ARun As you can see, only the second query gives the expected result. Fix: Do not default to dist, default to empty Patch: --- /home/richih/.kde/share/services/searchproviders/cpan2.desktop 2007-10-22 17:51:30.169619342 +0200 +++ /home/richih/.kde/share/services/searchproviders/cpan3.desktop 2007-10-22 17:44:31.645768978 +0200 @@ -1,8 +1,8 @@ [Desktop Entry] Charset= Hidden=false -Query[en_US]=http://search.cpan.org/search?mode=\\{mode,2,"dist"}&query=\\{query,q,1} +Query[en_US]=http://search.cpan.org/search?mode=\\{mode,2,""}&query=\\{query,q,1} ServiceTypes=SearchProvider Type=Service
In light of the impeding KDE4 release, I am going through all bug reports I am involved in. To the best of my knowledge, this issue is still open.
Created attachment 31125 [details] The patch from the initial bug report Credit to the original reporter, not my own work. Attached solely so that bugzilla knows that there is a patch
Thanks for the housekeeping :)
This makes sense. I will see if I can commit this one for 4.8.0. Otherwise, it will have to wait for 4.8.1.
Git commit b70933b23e8d205957d6df99a3672ebec54d0c4e by Dawit Alemayehu. Committed on 03/01/2012 at 21:59. Pushed by adawit into branch 'KDE/4.8'. When the second parameter is not specified default to empty not "dist". FIXED-IN: 4.8.1 M +90 -90 kurifilter-plugins/ikws/searchproviders/cpan.desktop http://commits.kde.org/kde-runtime/b70933b23e8d205957d6df99a3672ebec54d0c4e
Git commit 3d78686e2592fca34ccfe068635d7c4c1fbfbed2 by Dawit Alemayehu. Committed on 03/01/2012 at 21:59. Pushed by adawit into branch 'master'. When the second parameter is missing default to empty not "dist". FIXED-IN: 4.8.1 (cherry picked from commit b0efe1cbe84b4eb2e78d28896a5c450c314ce2bc) M +90 -90 kurifilter-plugins/ikws/searchproviders/cpan.desktop http://commits.kde.org/kde-runtime/3d78686e2592fca34ccfe068635d7c4c1fbfbed2