When the only app of a selected department is uninstalled, the empty department remains selected
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.
http://
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
- dobey (community): Approve
- PS Jenkins bot: Pending (continuous-integration) requested
-
Diff: 133 lines (+23/-15)5 files modifiedlibclickscope/click/scope_activation.cpp (+17/-6)
libclickscope/click/scope_activation.h (+1/-4)
scope/clickapps/apps-query.cpp (+3/-2)
scope/clickapps/apps-query.h (+1/-1)
scope/clickapps/apps-scope.cpp (+1/-2)
Changed in unity-scopes-shell (Ubuntu): | |
status: | New → Confirmed |
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 |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
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.