You're right Adam. You got me there. I have actually never noticed that
particular paragraph in the spec before :-) Thanks for digging into
this!

It is, however, a pretty nasty part of the spec since it requires
excessive stat()ing of files. Consider:

  /home/kamstrup/.local/share/applications/wine-Programs-Songbird-
Songbird (Profile Manager).desktop

This maps down to 2^3=8 possible paths the .desktop file could live
under (all permutations of - and /) since '-' is also a legal character
in a desktop file id (consider gnome-power-preferences.desktop).

To make matters slightly ridiculous: If I had a file
/usr/share/applications/gnome/power/preferences.desktop, and that file
was included from an <AppDir> element at any later point in the .menu
file than gnome-power-preferences.desktop; then the spec tells us that
this file (preferences.desktop) takes precedence over gnome-power-
preferences.desktop. Go figure :-)

Nonetheless we need to look into this for Natty. If we can make it work
with Wine programs across the stack we could consider an SRU for
Maverick, but to be honest I fear that these changes have non-trivial
ramifications.


** Changed in: unity
    Milestone: backlog => natty-backlog

** Changed in: unity-place-applications
       Status: New => Triaged

** Changed in: unity-place-applications
     Assignee: (unassigned) => Mikkel Kamstrup Erlandsen (kamstrup)

-- 
Wine applications not listed in Unity Applications Place
https://bugs.launchpad.net/bugs/635223
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to