18 Oct 2007 vicious   » (Master)

Looking at the freedesktop.org vfolder menu spec, I am getting the feeling that the original intention got totally derailed. The reason I looked at it since I needed to fix up the genius .desktop file. Anyway, the original intention was not to enforce any particular menu structure, and to allow arbitrary queries based on exhaustive set of keywords (categories). The way most menus nowdays work is that if you define two main categories which do overlap for your application, you might appear in two badly designed menus. Some arbitrarily badly picked "main categories" subset of all categories was chosen, and most menus just treat those as basically menu titles. The OnlyUnallocated query is totally screwed up now according to spec, since it doesn't make a distinction from excluded and deleted. That means that if your queries are only slightly tougher than normal, some .desktops might not appear even if OnlyUnallocated was used for some submenu.

The intention of the original implementation was that all installed apps appear unless the user intentionally turns off the icons in some menu editor. Why would I ever install something unless I wanted to run it. Any other behavior is a critical bug in my opinion.

Picking "main categories" was exactly what the menu spec was supposed to avoid. That is, you should pick the CORRECT categories, not miscategorize your application just in order for it to appear in some currently badly designed menu. The set of category keywords was supposed to be independent of the menu structure!

Example of total miscategorization: Science/Mathematics apps. There's quite a bit of them, but they will never appear in a proper category, so they are all miscategorized just so that they appear. Properly, something like Octave or Maxima should include Application;Science;Math; and should appear in "Other" or in "Science" or "Science & Math" submenu. As it is, Maxima for example, appears in "Education" in fedora.

In any case the situation is no better (and it may in fact be worse) than it was before the vfolder menu spec. Stupid arbitrary submenus are pretty much enforced and you MUST categorize your application within these in order for your app to appear. So even if a good implementation came along, it wouldn't correctly categorize your menus since the .desktop files have bogus (or not enough) information in them. At least in the way things were done before all apps were at least displayed.

Anyway, I just felt like ranting.

Latest blog entries     Older blog entries

New Advogato Features

FOAF updates: Trust rankings are now exported, making the data available to other users and websites. An external FOAF URI has been added, allowing users to link to an additional FOAF file.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!