Departments break if going to a subdepartment of Store

Bug #1343242 reported by Paweł Stołowski
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Canonical Devices Products
unity-scope-click (Ubuntu)
Fix Released
Undecided
Paweł Stołowski
unity-scope-click (Ubuntu RTM)
Fix Released
Undecided
Paweł Stołowski
unity-scopes-shell (Ubuntu)
Fix Released
Undecided
Paweł Stołowski
unity-scopes-shell (Ubuntu RTM)
Fix Released
Undecided
Paweł Stołowski
unity8 (Ubuntu)
Fix Released
High
Albert Astals Cid
unity8 (Ubuntu RTM)
Fix Released
High
Michael Zanetti

Bug Description

Departments get confused / break when going from a subdepartment of Apps (click scope) to same subdepartment of Store via "Get more apps like this" orange Store button.

Steps to reproduce:
1) Open Apps.
2) Go to Games department
3) Click the orange 'Ubuntu store' icon at the bottom (its category title should say "Get more apps like this from the Store").
4) You should be presented with the 'Top Games' category of the store, and department tree has only "All" and "Games" subdepartment. It's not possible to navigate to the root of the store from it, as UI thinks "All" is the current department. Clicking "Games" department, and then "All" restores the correct departments menu.

Tags: ota-1 rtm14

Related branches

description: updated
description: updated
description: updated
tags: added: rtm14
Revision history for this message
Paweł Stołowski (stolowski) wrote :

lip 29 18:25<mhr3> tsdgeos, the problem is that a cannedquery can point to a specific department
lip 29 18:25<mhr3> tsdgeos, so it will either start in the middle of a tree, or even point to a leaf
lip 29 18:26<tsdgeos> that's not what we agreed when it was implemented
lip 29 18:26<tsdgeos> so it's not implemented like that

Revision history for this message
kevin gunn (kgunn72) wrote :

marking high as someone tagged rtm14

Changed in unity8:
status: New → Triaged
importance: Undecided → High
kevin gunn (kgunn72)
tags: added: touch-2014-10-30
Michał Sawicz (saviq)
Changed in unity8 (Ubuntu):
importance: Undecided → High
status: New → Triaged
Michał Sawicz (saviq)
no longer affects: unity8
kevin gunn (kgunn72)
Changed in unity8 (Ubuntu):
assignee: nobody → Albert Astals Cid (aacid)
kevin gunn (kgunn72)
tags: added: touch-2014-11-13
removed: touch-2014-10-30
tags: added: ota-1
removed: touch-2014-11-13
description: updated
Pete Woods (pete-woods)
no longer affects: unity-scopes-shell
Revision history for this message
Paweł Stołowski (stolowski) wrote :

I've just re-checked this bug, and it does affect store after all, but symptoms are slightly different, so I've updated the description.

description: updated
Revision history for this message
Albert Astals Cid (aacid) wrote :

According to Pawel we get

        received departments:
department id=, name=All, has_children=1
        subdepartments:
                department id=accessories, name=Utilities, has_children=0

So yeah, no siblings since the UI is told there's no siblings.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-scopes-shell (Ubuntu):
status: New → Confirmed
kevin gunn (kgunn72)
Changed in unity8 (Ubuntu RTM):
assignee: nobody → Albert Astals Cid (aacid)
importance: Undecided → High
status: New → Triaged
Olli Ries (ories)
Changed in canonical-devices-system-image:
assignee: nobody → Canonical Devices Products (canonical-devices-products-team)
importance: Undecided → High
milestone: none → r1
status: New → Confirmed
Revision history for this message
Paweł Stołowski (stolowski) wrote :

This is potentially non trivial to fix (the proper fix would probably involve changes to API which we cannot afford at this point or involve all layers of the stack). I need to dig into it to understand better what it takes to fix or workaround this.

dobey (dobey)
Changed in unity-scope-click (Ubuntu):
assignee: nobody → Pawel Stolowski (stolowski)
status: New → In Progress
Changed in unity8 (Ubuntu):
status: Triaged → In Progress
Michał Sawicz (saviq)
Changed in unity8 (Ubuntu RTM):
milestone: none → 14.09-ota-1
assignee: Albert Astals Cid (aacid) → nobody
Changed in unity-scopes-shell (Ubuntu):
assignee: nobody → Pawel Stolowski (stolowski)
Changed in unity-scope-click (Ubuntu RTM):
assignee: nobody → Pawel Stolowski (stolowski)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-scopes-shell - 0.5.4+15.04.20141212.2-0ubuntu1

---------------
unity-scopes-shell (0.5.4+15.04.20141212.2-0ubuntu1) vivid; urgency=low

  [ Pawel Stolowski ]
  * Don't conclude too early that current department id should be reset.
    (LP: #1343242)
  * Add 'breaks' rule for unity8 that doesn't support new Manage dash.
    (LP: #1400296)

  [ Marcus Tomlinson ]
  * Animate the loading bar on the scope while OA retrieves a token.
    (LP: #1401860)

  [ Ubuntu daily release ]
  * New rebuild forced
 -- Ubuntu daily release <email address hidden> Fri, 12 Dec 2014 12:35:22 +0000

Changed in unity-scopes-shell (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
unity-scope-click (0.1.1+15.04.20141212-0ubuntu1) vivid; urgency=low

  [ Pawel Stolowski ]
  * Report all departments in the Store scope so that Shell receives
    also the siblings of current department and can properly render
    departments menu when going to a specific department via 'Ubuntu
    store' button of Apps scope. (LP: #1343242)

  [ Ubuntu daily release ]
  * New rebuild forced
 -- Ubuntu daily release <email address hidden> Fri, 12 Dec 2014 10:02:19 +0000

Changed in unity-scope-click (Ubuntu):
status: In Progress → Fix Released
Changed in unity8 (Ubuntu):
status: In Progress → Fix Released
Changed in unity8 (Ubuntu RTM):
assignee: nobody → Michael Zanetti (mzanetti)
status: Triaged → In Progress
Michał Sawicz (saviq)
Changed in unity-scope-click (Ubuntu RTM):
status: New → In Progress
Changed in unity-scopes-shell (Ubuntu RTM):
status: New → In Progress
assignee: nobody → Pawel Stolowski (stolowski)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-scope-click - 0.1.1+15.04.20141216~rtm-0ubuntu1

---------------
unity-scope-click (0.1.1+15.04.20141216~rtm-0ubuntu1) 14.09; urgency=low

  [ Pawel Stolowski ]
  * Report all departments in the Store scope so that Shell receives
    also the siblings of current department and can properly render
    departments menu when going to a specific department via 'Ubuntu
    store' button of Apps scope. (LP: #1343242)

  [ Ubuntu daily release ]
  * New rebuild forced
 -- Ubuntu daily release <email address hidden> Tue, 16 Dec 2014 22:06:18 +0000

Changed in unity-scope-click (Ubuntu RTM):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-scopes-shell - 0.5.4+15.04.20141216.1~rtm-0ubuntu1

---------------
unity-scopes-shell (0.5.4+15.04.20141216.1~rtm-0ubuntu1) 14.09; urgency=low

  [ Pawel Stolowski ]
  * Don't conclude too early that current department id should be reset
    (cherry-picked trunk rev. 178) (LP: #1343242)
  * Report loaded = true for leaf department nodes (cherry picked from
    trunk).

  [ Ubuntu daily release ]
  * New rebuild forced
 -- Ubuntu daily release <email address hidden> Tue, 16 Dec 2014 22:03:16 +0000

Changed in unity-scopes-shell (Ubuntu RTM):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity8 - 8.02+15.04.20150107~rtm-0ubuntu1

---------------
unity8 (8.02+15.04.20150107~rtm-0ubuntu1) 14.09; urgency=low

  [ Michael Zanetti ]
  * merge rtm (LP: #1343242)

  [ Albert Astals ]
  * merge rtm (LP: #1343242)

  [ Ubuntu daily release ]
  * New rebuild forced
 -- Ubuntu daily release <email address hidden> Wed, 07 Jan 2015 09:49:08 +0000

Changed in unity8 (Ubuntu RTM):
status: In Progress → Fix Released
Michał Sawicz (saviq)
Changed in canonical-devices-system-image:
status: Confirmed → Fix Released
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.