Seems to be a decision by ubuntu-app-launch The constructor of Desktop throws an exception if no "Icon" entry is found in the desktop file (application-info-desktop.cpp line 230)
I agree it seems too much of an aggressive stance to bring the shell down for a missing Icon in a desktop file. ** Changed in: unity8 (Ubuntu) Status: Triaged => Incomplete ** Also affects: ubuntu-app-launch (Ubuntu) Importance: Undecided Status: New ** Changed in: ubuntu-app-launch (Ubuntu) Status: New => Triaged ** Changed in: ubuntu-app-launch (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unity8 in Ubuntu. https://bugs.launchpad.net/bugs/1617348 Title: unity shell is crashing for apps without icon Status in Canonical System Image: New Status in ubuntu-app-launch package in Ubuntu: Triaged Status in unity8 package in Ubuntu: Incomplete Bug description: Trying to launch a app from terminal that does not contains a "Icon" etry on it desktop file causes the shell to crash. How to test =========== * Create a desktop entry without the icon entry (something like that): [Desktop Entry] Name=Sync Monitor Comment=Ask for online account authentication if the token expires Exec=/usr/lib/arm-linux-gnueabihf/sync-monitor/sync-monitor-helper %u Terminal=false Type=Application Version=1.0 X-Ubuntu-Gettext-Domain=sync-monitor * try to launch it from terminal or url launch: /usr/lib/arm-linux-gnueabihf/sync-monitor/sync-monitor-helper --desktop-file-hint=/usr/share/applications/sync-monitor-helper.desktop Expected ======== App appears Current ======= Shell crashes and go back to login screen. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1617348/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp