Version: unspecified (using KDE 4.5.1) OS: Linux When you try to create an index in khelpcenter, it looks for /usr/bin/htdig and if it can't find it, it opens a dialog asking to the user to install it. This dialog is not friendly at all for new users, and should be replaced with a more friendly dialog explaining the problem and proposing to the user to install the missing program through the distribution package manager. It should say something like: "To build application index you need the program "htdig", but it's not currently installed. Do you want to install it now? (you will need administrator password)" Reproducible: Always Steps to Reproduce: when /usr/bin/htdig is missing, click on menu Settings -> Build Search Index, and then check something in search scope and click on build index. Actual Results: It displays a dialog saying: "Document 'kde_application_manuals' (Application Manuals): '/usr/bin/htdig' not found, install the package containing it" Expected Results: It should say something like: "To build application index you need the program "htdig", but it's not currently installed. Do you want to install it now? (you will need administrator password)"
This is useful in general: > man cnf ... > which cnf /usr/bin/cnf > rpm -qf /usr/bin/cnf command-not-found-0.1.0-34.1.noarch
Git commit 163133768d77ae16e36b31d1174d6c60d53cfdce by Pino Toscano. Committed on 12/03/2016 at 23:01. Pushed by pino into branch 'master'. Remove the ht://dig support ht://dig is basically unmantained for the past decade, and its integration in khelpcenter has always been a sort of hack (execute a CGI, and print its resulting HTML text). Since Xapian is used as better solution, all of the htp://dig supporting code can be removed completely. Related: bug 122437, bug 125276, bug 152671, bug 158633, bug 209415, bug 244091, bug 256397, bug 277464, bug 103266, bug 112958 M +0 -2 CMakeLists.txt D +0 -14 README.htdig M +0 -14 doc/khelpcenter/index.docbook M +0 -9 docmetainfo.cpp M +0 -3 docmetainfo.h D +0 -61 htmlsearch.cpp D +0 -51 htmlsearch.h D +0 -47 htmlsearch/CMakeLists.txt D +0 -5 htmlsearch/Messages.sh D +0 -23 htmlsearch/checked.xpm D +0 -470 htmlsearch/htmlsearch.cpp D +0 -254 htmlsearch/htmlsearch.desktop D +0 -62 htmlsearch/htmlsearch.h D +0 -25 htmlsearch/index.cpp D +0 -371 htmlsearch/kcmhtmlsearch.cpp D +0 -84 htmlsearch/kcmhtmlsearch.h D +0 -52 htmlsearch/klangcombo.cpp D +0 -47 htmlsearch/klangcombo.h D +0 -246 htmlsearch/ktagcombobox.cpp D +0 -92 htmlsearch/ktagcombobox.h D +0 -6 htmlsearch/long.html D +0 -4 htmlsearch/meinproc_wrapper D +0 -21 htmlsearch/nomatch.html D +0 -89 htmlsearch/progressdialog.cpp D +0 -32 htmlsearch/progressdialog.h D +0 -1 htmlsearch/short.html D +- -- htmlsearch/star.png D +- -- htmlsearch/star_blank.png D +0 -19 htmlsearch/syntax.html D +0 -22 htmlsearch/unchecked.xpm D +0 -16 htmlsearch/wrapper.html D +0 -156 htmlsearchconfig.cpp D +0 -58 htmlsearchconfig.h M +0 -1 kcmhelpcenter.cpp M +0 -2 kcmhelpcenter.h M +2 -14 searchhandlers/CMakeLists.txt D +0 -8 searchhandlers/docbook.desktop.cmake D +0 -8 searchhandlers/htdig.desktop.cmake D +0 -2 searchhandlers/htdig_long.html D +0 -222 searchhandlers/khc_docbookdig.pl.cmake D +0 -148 searchhandlers/khc_htdig.pl.cmake D +0 -117 searchhandlers/khc_htsearch.pl M +1 -2 tests/CMakeLists.txt http://commits.kde.org/khelpcenter/163133768d77ae16e36b31d1174d6c60d53cfdce