Le samedi 22 décembre 2012 à 17:57 +0100, Bill Allombert a écrit : > What you are mentionned is the documented behaviour. > You can remove them with 'update-menus --remove'.
Documenting broken behavior does not make it less broken. > > This causes > > problems to desktop managers that exclude the Debian menu since they already > > provide desktop entries for most applications. > > Such desktop managers are not compliant with the menu policy. Please stop whining around with the menu policy. There is nothing in the Debian policy about WMs/DEs having to support the Debian menu. In this case, the menu-xdg behavior breaks gnome-shell’s application tracking by duplicating menu entries; all of this for zero added functionality. > > In Gnome3, all Debian menu > > entries will appear in the Other category and produce duplicates when using > > the > > app search. > > Yes, this is expected. This way the original menu layout is preserved. The Debian menu was removed from gnome-menus. As such, the menu entries should stop appearing, but they don’t always, because update-menus run as user spams the user directory for XDG menus. > > The expected behaviour would be to just dump the menu entries in ~/.menu, > > not > > all entries in the system. The ~/.local/share/applications/menu-xdg/ > > directory > > is meant for user installed menu entries and menu-xdg is currently breaking > > that assumption. > > What you suggest is not compatible with the menu specification. ~/.menu is an > override, not merely a set of menu entries. The current behavior is in violation of the XDG menu specification. Maybe the menu-xdg package should be removed from the archive if cannot comply with the specification it aims to implement. At the very least, for a possible fix, entries should be generated in another directory from ~/.local/share/applications, which is meant only for user entries. Then you can mention this new directory in /etc/xdg/menus/debian-menu.menu. Another possible fix is for menu-xdg to add a X-Debian category for all generated desktop files, in addition to the current X-Debian-foo-bar. This way we can blacklist all such entries at once. Cheers, -- .''`. Josselin Mouette : :' : `. `' `- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org