hiding existing kde application entry has no effect in xfce menu

Bug #1406989 reported by Juergen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MenuLibre
New
Undecided
Unassigned

Bug Description

Installed a kde-based application (digikam) with apt-get on Xubuntu 14.04. This created some .desktop files in /usr/share/applications/kde4/ (note the subfolder kde4!). All other systemwide non-kde .desktop files are in /usr/share/applications.

I wanted to hide some of these entries from the menu using MenuLibre. MenuLibre reads all entries correctly. If I select one of these entries, e.g. /usr/share/applications/kde4/panoramagui.desktop, select the option "hide from menus" and save the settings, it is saved under ~/.local/share/applications/panoramagui.desktop. Note that the subfolder "kde4" is missing.

The menu item for panoramagui is still visible in the menu.

After restarting MenuLibre, it shows two entries for panoramagui, the original one from /usr/share/applications/kde4/ and the hidden one from ~/.local/share/applications/.

After I move ~/.local/share/applications/panoramagui.desktop to ~/.local/share/applications/kde4/panoramagui.desktop (inside a newly created subfolder "kde4"), everything works: The menu item is not shown in the menu and after restarting MenuLibre, only one entry is shown - i can even unhide and hide it again because MenuLibre now saves the .desktop file in the kde4 subfolder.

It seems similar than this bug: https://bugs.launchpad.net/menulibre/+bug/1293151, but I think it is a different issue. When running with 'menulibre --verbose' there are no error messages; it only states where the file is (wrongly) saved:
DEBUG:menulibre: save_launcher() 'Saving launcher as "~/.local/share/applications/panoramagui.desktop"' and after the 'fix':
DEBUG:menulibre: save_launcher() 'Saving launcher as "~/.local/share/applications/kde4/panoramagui.desktop"'

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.