Version: (using KDE 4.1.3) Compiler: gcc-4.2 gcc-4.3 g++4.3 OS: Linux Installed from: Ubuntu Packages What's happening is simple: If a menu item within a sub-menu is given a name in the General tab (Name:) that is the same as an existing item within that sub-menu, application launcher doesn't show in when accessing K Menu. The added menu item exists, as can be confirmed by accessing Menu Editor and checking. It is there. For the added item to be shown in application launcher, the entry name (General tab (Name:)) must be unique.
didn't understood exactly the explanation: if let's say there is the top level category "Internet" i create a link to an application called "Internet" too the link to the application called internet doesn't get shown correct?
Open Menu Editor. Click on System. Click on Terminal (Konsole). Note the Name: and Description: entries under the General tab. What I am describing is this: In the System Submenu, click on New Item. Give it the Name: Konsole and a Description: of Root Terminal and in Command: type konsole Now click on the Advanced tab and check the Run as different user box and in Username: type root Click on Save After the database has been updated, close Menu Editor. Now look for your new entry in K Menu (K Menu > Applications > System) and you will not find it. It is there, it just isn't being displayed. This is because in Intrepid Ibex, in order for a Submenu Item entry to be displayed, the Name must be unique - it can not be the same name of an existing item. Try it. You will see this to be true.
yeah, i found where it's done, duplicates are excluded to use just the later version if for instance both a kde3 and kde4 versions are present, so it's quite the intended behaviour, even if it can cause some hassle
It may be intended, and I'll not quibble that point, but it should be made clear to the user that this is how it works. The fact that the newly added item is actually saved means that the underlying editor doesn't have a problem with items that have the same names. So it's simply an issue on how the system displays the resulting K Menu. To me, it would seem a simple solution to build the index using the Name and Description of the items in Submenus. One could then have items with the same name (Terminal) but with different descriptions (Terminal and Root Terminal).
I think apart from name and description, command also matters. I think even if name and description are same but command is different, it should show the entry in kmenu. In my case, I used name "Konsole", description "Root Terminal" and Command "xterm" which didn't show up. I'm on r958058.
SVN commit 960100 by aseigo: only count items as duplicates if all user visible information matches (name, generic name and icon name) BUG:175161 M +20 -12 applicationmodel.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=960100