touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #32271
[Bug 1390191] [NEW] Department now shown if there is only one app and it uses X-Ubuntu-Default-Department-ID key
Public bug reported:
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.
** Affects: unity-scope-click (Ubuntu)
Importance: Undecided
Status: Confirmed
** Changed in: unity-scope-click (Ubuntu)
Status: New => Confirmed
** Description changed:
- Department is not shown in Apps if it has only one application which
- declares X-Ubuntu-Default-Department-ID=... department mapping (and is
- preinstalled, ie. wasn't installed from store).
+ 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.
--
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 now 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
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
Follow ups
-
[Bug 1390191] Re: Department not shown if there is only one app and it uses X-Ubuntu-Default-Department-ID key
From: Pat McGowan, 2015-01-14
-
[Bug 1390191] Re: Department not shown if there is only one app and it uses X-Ubuntu-Default-Department-ID key
From: Launchpad Bug Tracker, 2015-01-14
-
[Bug 1390191] Re: Department not shown if there is only one app and it uses X-Ubuntu-Default-Department-ID key
From: Pat McGowan, 2015-01-09
-
[Bug 1390191] Re: Department not shown if there is only one app and it uses X-Ubuntu-Default-Department-ID key
From: Launchpad Bug Tracker, 2014-12-16
-
[Bug 1390191] Re: Department not shown if there is only one app and it uses X-Ubuntu-Default-Department-ID key
From: Launchpad Bug Tracker, 2014-12-16
-
[Bug 1390191] Re: Department not shown if there is only one app and it uses X-Ubuntu-Default-Department-ID key
From: Rodney Dawes, 2014-12-01
-
[Bug 1390191] Re: Department not shown if there is only one app and it uses X-Ubuntu-Default-Department-ID key
From: Rodney Dawes, 2014-11-19
-
[Bug 1390191] Re: Department not shown if there is only one app and it uses X-Ubuntu-Default-Department-ID key
From: Pawel Stolowski, 2014-11-19
-
[Bug 1390191] Re: Department not shown if there is only one app and it uses X-Ubuntu-Default-Department-ID key
From: Pawel Stolowski, 2014-11-19
-
[Bug 1390191] Re: Department not shown if there is only one app and it uses X-Ubuntu-Default-Department-ID key
From: Pawel Stolowski, 2014-11-19
-
[Bug 1390191] Re: Department not shown if there is only one app and it uses X-Ubuntu-Default-Department-ID key
From: Rodney Dawes, 2014-11-12
-
[Bug 1390191] Re: Department not shown if there is only one app and it uses X-Ubuntu-Default-Department-ID key
From: Rodney Dawes, 2014-11-06
-
[Bug 1390191] [NEW] Department now shown if there is only one app and it uses X-Ubuntu-Default-Department-ID key
From: Pawel Stolowski, 2014-11-06
References