GNOME Bugzilla – Bug 760900
libmenu: Remove support for legacy-dirs
Last modified: 2016-05-23 15:44:51 UTC
See patch. Those directories are already ignored in a regular GNOME session, and the disagreement between GIO and GMenu about what applications are available is causing trouble for the apps-menu extension (see bug 759004). Removing the support after over ten years of deprecation seems fair enough ...
Created attachment 319455 [details] [review] libmenu: Remove support for legacy-dirs Those directories have been deprecated for over a decade and GIO's GDesktopAppInfo API already ignores them ... It's time to let go, simply ignore any <LegacyKDEDirs> and <LegacyDir> elements in menus.
Review of attachment 319455 [details] [review]: OK.
Attachment 319455 [details] pushed as 13c6790 - libmenu: Remove support for legacy-dirs
Isn't this still part of the xdg menu specification?
Yes, which is why the parser still accepts them as valid input. But after being deprecated for 13 years, expecting people to not rely on them seems fair enough to me. In particular as other parts of the platform have been ignoring them for years - the file manager's "Open with ..." menu, GTK+'s application picker, gnome-shell's app view and other bits have ignore legacy dirs for a long time or never supported them in the first place.