So a simple fix would be to ship ubuntu-ui-toolkit-gallery.desktop in /usr/share/applications.
Another fix would be modify ubuntu-ui-toolkit-launcher to allow teaching UAL about a custom app on a temporary basis for such custom launches that aren't apps that we want to ship, but just apps-of-convenience. To do this, it could copy the provided desktop file into ~/.local/share/applications and delete it when done. OR we could add API to UAL that allows using a custom desktop file. I'm partial to options 1 and/or 2. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in Ubuntu. https://bugs.launchpad.net/bugs/1578319 Title: Some ubuntu-ui-toolkit AP tests failing to launch - rejected by unity8 as is using desktop_file_hint Status in ubuntu-app-launch package in Ubuntu: Invalid Status in ubuntu-ui-toolkit package in Ubuntu: New Bug description: I'm trying to run the ubuntu-ui-toolkit autopilot tests on today's image. First off, they could cause unity8 to crash, which is bug 1578258 which can be resolved with https://code.launchpad.net/~gerboland/qtmir/ual-catch-exception/+merge/293805 That causes unity8 to report it rejects some of the test apps the UITK AP test tries to launch: qtmir.applications: ApplicationController::createApp - UAL failed to create app for appId "ubuntu-ui-toolkit-gallery" : Invalid app ID: ubuntu-ui-toolkit-gallery UITK AP is launching like this: /usr/bin/ubuntu-ui-toolkit-launcher -testability -I /usr/lib/modules /usr/lib/arm-linux-gnueabihf/qt5/examples//ubuntu-ui-toolkit/examples /ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.qml --desktop_file_hint=/usr/lib/arm-linux-gnueabihf/qt5/examples/ubuntu- ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit- gallery.desktop which is not using upstart-app-launch - which would explain the fail. desktop_file_hint is not a supported means of launching an app (and can go away at any time), so UITK should change to use UAL in its AP tests. This indeed used to work until recently, but a recent refactoring broke the desktop_file_hint behaviour. Since it's not a supported behaviour, it should not be relied on, so it would be better to fix UITK than restore the old behaviour. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-app-launch/+bug/1578319/+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