← Back to team overview

touch-packages team mailing list archive

[Bug 1390191] Re: Department not shown if there is only one app and it uses X-Ubuntu-Default-Department-ID key

 

** Changed in: unity-scope-click (Ubuntu)
   Importance: Undecided => High

** Also affects: unity-scope-click (Ubuntu RTM)
   Importance: Undecided
       Status: New

** Changed in: unity-scope-click (Ubuntu RTM)
       Status: New => Confirmed

** Changed in: unity-scope-click (Ubuntu RTM)
   Importance: Undecided => High

** Tags added: rtm14

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

Title:
  Department not shown if there is only one app and it uses X-Ubuntu-
  Default-Department-ID key

Status in “unity-scope-click” package in Ubuntu:
  Confirmed
Status in “unity-scope-click” package in Ubuntu RTM:
  Confirmed

Bug description:
  Department is not shown in Apps department drop-down menu if it has
  only one application which declares X-Ubuntu-Default-Department-ID=...
  department mapping (and is preinstalled, ie. wasn't installed from
  store).

  This is caused by too restrictive behavior of
  DepartmentsDb::get_children_departments(..), which filters out
  subdepartments that don't have any apps in the local departments db
  (which means that department will never be shown in the departments
  menu if it has no app installed from the store). This restriction
  should probably be removed from that method after careful verification
  if it has no undesired side effects.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scope-click/+bug/1390191/+subscriptions


References