Public bug reported: If a click package uses the "desktop" hook to attempt to install a .desktop file with NoDisplay=true set, a warning will be printed and the file will not be installed.
The code making the decision is desktop_to_exec(), which seems to be used by both the "hook" and "launch" executables: http://bazaar.launchpad.net/~indicator-applet-developers/ubuntu-app- launch/trunk.14.10/view/head:/helpers.c#L160 I don't have a problem with refusing to launch a NoDisplay app (although I'm not sure why it would be such a bad thing), but refusing to install them definitely seems like a bug: if the package didn't want the file installed, it wouldn't have used the hook. As a concrete use case, consider the online accounts settings page: underneath each account, it shows a list of services that can be enabled/disabled. The icon and description for each service comes from a .desktop file associated with the service. So if we have a non-application (such as a scope) that wants to use the online accounts infrastructure, it will still need to install a desktop file somewhere online accounts can see it. Since it is not an application, it would set NoDisplay=true to prevent it displaying in the apps scope. However this prevents the desktop file from being installed, defeating the purpose. ** Affects: ubuntu-app-launch (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1361109 Title: click hook refuses to install desktop files with NoDisplay=true To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-app-launch/+bug/1361109/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs