← Back to team overview

touch-packages team mailing list archive

[Bug 1354362] Re: Removed department stays in the shell

 

** Also affects: unity-scopes-shell (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: unity-scopes-shell (Ubuntu)
     Assignee: (unassigned) => Pawel Stolowski (stolowski)

** Changed in: unity-scopes-shell (Ubuntu)
   Importance: Undecided => High

** Changed in: unity-scopes-shell (Ubuntu)
       Status: New => In Progress

** No longer affects: unity-scopes-shell

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-shell in
Ubuntu.
https://bugs.launchpad.net/bugs/1354362

Title:
  Removed department stays in the shell

Status in “unity-scopes-shell” package in Ubuntu:
  In Progress

Bug description:
  It's seems like the plugin doesn't notice when one of the departments
  disappears (is no longer returned by the scope) and doesn't notify
  shell about it, so that department is still displayed.

  This is visible with the following branch of click scope:
  https://code.launchpad.net/~stolowski/unity-scope-click/no-empty-
  departments/+merge/230077

  The case is as follows - consider we're always in the root of all departments in the dash.
  1) scope responds with A and B sub-departments of "All departments"; A and B are shown when you open the departments menu.
  2) scope content is refreshed somehow (e.g. you redo a search), and now it responds with A only.

  Result: both A and B are still shown.

  Expected result: only A is shown.

  Steps to reproduce with the above branch of click scope:
  1) Go to Ubuntu Store and install an app from a department, that was previously not shown in Apps.
  2) After installation completes, go back to Apps - search results are refreshed (new app appears), and new department appears in the departments menu.
  3) Uninstall that app: search results are refreshed, but the department that is now empty doesn't disappear (you can verify with scopes-cli that it's not returned anymore by the scope); after reboot however the department is not shown anymore

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-shell/+bug/1354362/+subscriptions