Bug 284593

Summary: kmenuedit items don't show up
Product: [Applications] kmenuedit Reporter: Henrik Hudson <rhavenn>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Henrik Hudson 2011-10-21 06:25:34 UTC
Version:           unspecified (using KDE 4.7.2) 
OS:                Linux

Somewhere between 4.7.1 and 4.7.2 kmenuedit either changed how it writes application files or KDE changed how it reads them. I'm not sure if this is a kmenuedit bug or a KDE menu bug.

I'm able to create application items and new sub-menus, but once I close kmenuedit and re-open it the application items are gone. The sub-menu's persist. The applications also don't show up in the KDE menu and since they're "empty" neither do the sub-menus.

The .desktop files get written correctly to:
~/.local/share/applications

Removing the line:
OnlyShowIn=

or changing it to:
OnlyShowIn=KDE;

fixes the issue. Once this change is done the application items show up in the KDE menu and in kmenueditor.

Reproducible: Always

Steps to Reproduce:
fresh install of Arch Linux and KDE 4.7.2 meta packages. Open kmenuedit, create a new sub-menu and add an application item.

Actual Results:  
no applications icons show up in the KDE menu

Expected Results:  
new menu items in the KDE menu

I don't know if it's the interpretation of the "OnlyShowIn=" line that changed between 4.7.1 and 4.7.2 or if kmenuedit changed how it writes them.
Comment 1 Henrik Hudson 2011-10-21 06:27:34 UTC
and by "application files" I mean the .desktop files
Comment 2 Christoph Feck 2011-10-21 08:15:24 UTC

*** This bug has been marked as a duplicate of bug 283658 ***