Version: (using KDE KDE 3.1) Installed from: Gentoo Packages Compiler: gcc 3.2.1 OS: Linux I think a program similar to the menu updateing tool would be useful .... The program could look at each item and verify if the path is valid or not ... if the path is valid, leave the entry alone, but if the path is invalid .. the entry should be deleted from the menu
*** Bug 59988 has been marked as a duplicate of this bug. ***
*** Bug 65030 has been marked as a duplicate of this bug. ***
It could also be useful to find duplicated entries in the menu pointing to the same item.
Replaced dotnick@punkass.com with boyan17@bulgaria.com due to bounces by reporter
Instead of simply deleting broken entries, it would be helpful if the user was prompted what to do. Sometimes files get moved (e.g., from /usr/local/bin to /usr/bin, when a vendor finally provides an RPM for a package which was previously available only via source). KDE could probably check some default paths (/usr/bin, /usr/local/bin, /usr/sbin, etc.) to try to locate the missing file, and specify that as a default. An example dialog window might look as follows: +----------------------------------------------------------+ |KMenuEdit - Warning | +----------------------------------------------------------+ | | | Program Applications->Media->Foo Media Player not found. | | | | The path to the program was specified as | | | | /home/suzie/bin/foo | | | | but I cannot find it there. What should I do? | | | | ( ) Delete this entry from the menu | | ( ) Leave this entry as-is | | (*) Specify new path: +--------------------+ +---------+ | | |/usr/bin/foo | |Browse...| | | +--------------------+ +---------+ | | | | +--+ +------+ | | |OK| |Cancel| | | +--+ +------+ | +----------------------------------------------------------+
Oops... that ASCII diagram got screwed up somehow. Here's another, hopefully correct, attempt: +----------------------------------------------------------+ |KMenuEdit - Warning | +----------------------------------------------------------+ | | | Program Applications->Media->Foo Media Player not found. | | | | The path to the program was specified as | | | | /home/suzie/bin/foo | | | | but I cannot find it there. What should I do? | | | | ( ) Delete this entry from the menu | | ( ) Leave this entry as-is | | (*) Specify new path: +--------------------+ +---------+ | | |/usr/bin/foo | |Browse...| | | +--------------------+ +---------+ | | | | +--+ +------+ | | |OK| |Cancel| | | +--+ +------+ | +----------------------------------------------------------+
*** Bug 99735 has been marked as a duplicate of this bug. ***
*** Bug 124364 has been marked as a duplicate of this bug. ***