appid:// entries in FrequentlyUsedAppsModel are not handled correctly

Bug #1285286 reported by Michael Zanetti
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
unity-mir (Ubuntu)
Fix Released
Undecided
Unassigned
unity8 (Ubuntu)
Fix Released
High
Michael Zanetti

Bug Description

In FrequentlyUsedAppsModel.qml we have some apps defined as appid://com.ubuntu.whatever/whatever/current-user-version. This is not handled correctly in unity-scopes-shell and unity8 yet.

Right now this works because unity-scopes-shell doesn't recognize it as an app and passes it on to the catch-all case calling QDesktopServices::openUrl(). On the phone this correctly launches the app so this didn't get noticed so far. But this causes the following issues:

* The app startup animation is not shown properly. If you launch apps from the Apps scope, you'll notice that directly on tapping the (so far white) app splash screen comes up. This doesn't happen with appid:// urls.
* Tests trying to launch them will fail anywhere else than on the phone as it most likely ends up in chrome instead of spawning the application.

I think the solution is to emit activateApplication in unity-scopes-shell with only the short-appid as parameter, and add support for the short-appid in unity's ApplicationManager.

Revision history for this message
Michał Sawicz (saviq) wrote :

FWIW, we should support, and improve if possible, the url-dispatcher story, too. I.e. bring the splash screen as soon as upstart tells us this app is launching.

I know there are improvements coming to url-dispatcher / upstart-app-launch that are supposed to help with the time it takes to launch apps now.

Changed in unity8:
assignee: nobody → Michael Zanetti (mzanetti)
status: New → Triaged
importance: Undecided → High
Revision history for this message
Michael Zanetti (mzanetti) wrote :

Given that we now have aligned the appid usage throughout the shell and also the FrequentlyUsedAppsModel,qml is gone, this shouldn't be an issue any more.

Changed in unity8:
status: Triaged → Fix Released
Changed in unity-mir (Ubuntu):
status: New → Fix Released
Michal Hruby (mhr3)
no longer affects: unity-scopes-shell (Ubuntu)
Michał Sawicz (saviq)
affects: unity8 → unity8 (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.