Bug 21920

Summary: xdg-desktop-menu install does not remove "Deleted" entries
Product: Portland Reporter: Stefan Wachter <stefan.wachter>
Component: xdg-utilsAssignee: Portland Bugs <portland-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: rdieter, stefan.wachter
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Stefan Wachter 2009-05-25 00:38:17 UTC
OS: Suse 11.1
KDE: 4.1.3
xdg-utils: 1.0.2

When a directory entry is manually deleted from the start menu using the KDE menu editor then a "Deleted" entry is stored in the file

~/.config/menus/application-kmenuedit.menu. E.g.:

<Menu>
    <Name>polfha-verzeichnis</Name>
    <Deleted/>
</Menu>

If the directory is to be reinstalled using

xdg-desktop-menu install polfha-verzeichnis.directory <list of menu entries...>

then the directory entry does not appear in the start menu. It is was not before I had removed the "Deleted" entry from application-kmenuedit.menu that the reinstalled directory entry showed up in the start menu.
Comment 1 Rex Dieter 2010-07-09 08:23:18 UTC
This is a kde/kmenuedit implementation detail, and I'm not sure if there's anything xdg-desktop-menu can (or should) do about it.
Comment 2 GitLab Migration User 2019-02-16 13:29:44 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xdg/xdg-utils/issues/33.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.