When the only app of a selected department is uninstalled, the empty department remains selected

Bug #1378186 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Committed
Medium
Alejandro J. Cura
unity-scope-click (Ubuntu)
Fix Released
Medium
Marcus Tomlinson
unity-scopes-shell (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I found this on on krillin #87 while testing silo 18 with unity-plugin-scopes 0.5.4+14.10.20141002.1-0ubuntu1
http://people.canonical.com/~platform/citrain_dashboard/#?distro=ubuntu-rtm&q=landing-018
I haven't tested it without the silo.

Steps to reproduce:
Install an app that will add a new department to the list of installed apps. I installed 2ubuntu.
Go back to the home.
Select the newly added department. In my case, Books & Comics.
Long press on the newly installed app.
Uninstall it.
The dash is refreshed and the app disappears, but the empty department remains selected. See the attachment.

I think that if the dash is refreshed and the selected department is empty, we should be back to All the apps.

Related branches

Revision history for this message
Leo Arias (elopio) wrote :
Changed in unity-scopes-shell (Ubuntu):
status: New → Confirmed
Revision history for this message
Paweł Stołowski (stolowski) wrote :

It's still the case. I don't think the shell should implement any logic for such cases. Click scope could check if the department becomes empty after uninstall step and - if so - return the ActivationResponse with a CannedQuery that requests the root department.

Changed in unity-scopes-shell (Ubuntu):
status: Confirmed → Invalid
Changed in canonical-devices-system-image:
assignee: nobody → Alejandro J. Cura (alecu)
importance: Undecided → Medium
Changed in unity-scope-click (Ubuntu):
importance: Undecided → Medium
Changed in canonical-devices-system-image:
milestone: none → 11
Changed in unity-scope-click (Ubuntu):
assignee: nobody → Rodney Dawes (dobey)
Changed in canonical-devices-system-image:
status: New → Confirmed
Changed in unity-scope-click (Ubuntu):
assignee: Rodney Dawes (dobey) → Pawel Stolowski (stolowski)
Changed in canonical-devices-system-image:
milestone: 11 → backlog
Changed in unity-scope-click (Ubuntu):
assignee: Pawel Stolowski (stolowski) → Marcus Tomlinson (marcustomlinson)
status: New → In Progress
Changed in canonical-devices-system-image:
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-scope-click - 0.1.1+16.10.20160601-0ubuntu1

---------------
unity-scope-click (0.1.1+16.10.20160601-0ubuntu1) yakkety; urgency=medium

  [ Marcus Tomlinson ]
  * Return apps scope to root department if current department becomes
    empty after an uninstall (LP: #1378186)

  [ Rodney Dawes ]
  * Don't add the accounts attributes to the payments button. (LP:
    #1582804)
  * Don't specify that only 'rating' as required for reviews. (LP:
    #1580935)
  * Use 5 stars for visualizing the rating value. (LP: #1489395)

 -- Rodney Dawes <email address hidden> Wed, 01 Jun 2016 13:37:06 +0000

Changed in unity-scope-click (Ubuntu):
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
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.