SUMMARY It seems that Krunner does not follow the Hidden=true and NoDisplay=true option in the desktop file STEPS TO REPRODUCE 1. Add Hidden=true or NoDisplay=true to any application. You can do it by directly editing .desktop file in ~/.local/share/applications or by using KDE Menu Editor 2. Open Krunner and start searching for application you just edited OBSERVED RESULT You still see hidden application EXPECTED RESULT When the .desktop file has the Hidden key set to true, the .desktop file must be ignored. When multiple .desktop files with the same name exists in multiple directories then only the Hidden key in the most important .desktop file must be considered: If it is set to true all .desktop files with the same name must be ignored SOFTWARE/OS VERSIONS KDE Plasma Version: 6.4.2 KDE Frameworks Version: 6.15.0 Qt Version: 6.9.1
Forgot to mention, it only happens when ~/.config/menus/applications-kmenuedit.menu file exist. The file is created when you move items from one category to another using KDE Menu Editor. If you remove it, then Krunner start honor Hidden=true and NoDisplay=true again