Scope category layout: vertical-journal does not follow the value of collapsed-rows

Bug #1593035 reported by Jin
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-scopes-api (Ubuntu)
In Progress
Medium
Paweł Stołowski
unity8 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Description:
Scope vertical-journal layout does not follow the value of collapsed-rows.

Reproduce Steps:
    a) Implement a scope with category-layout: vertical-journal
    b) Add collapsed-rows property, for instance "collapsed-rows": 1
    c) Observe the showing of the scope

Expected Result:
Scope will collapsed the rows as only 1 row.

Actual Result:
Scope shows all the results with several rows.

Occurrence:
10/10 (100%)

Hardware Information:
    current build number: 442
    device name: mako
    channel: ubuntu-touch/rc-proposed/ubuntu
    last update: 2016-05-19 19:28:28
    version version: 442
    version ubuntu: 20160518.1
    version device: 20160401.1
    version custom: 20160518.1

Related branches

Jin (jindallo)
description: updated
Revision history for this message
Jin (jindallo) wrote :

Please help us to confirm it since it could be reproduced by 100%.

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

I saw this happen too.

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

What made you think that collapsed-rows is supported in a vertical journal?

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

Hi Albert.

Check this https://developer.ubuntu.com/api/scopes/cpp/sdk-15.04.4/unity.scopes.CategoryRenderer/

Search for "collapsed", you will find:
"
collapsed-rows Number of result rows displayed while the category is collapsed; possible values: any non-negative integer, where 0 fully expands the category (only affects grid and vertical journal)
"

Cheers

Revision history for this message
Paweł Stołowski (stolowski) wrote :

I'll update the documentation of CategoryRenderer as collapsed-rows is not supported in the vertical-journal.

Changed in unity-scopes-api (Ubuntu):
importance: Undecided → Medium
assignee: nobody → Pawel Stolowski (stolowski)
status: New → Confirmed
Changed in unity8 (Ubuntu):
status: New → Invalid
Changed in unity-scopes-api (Ubuntu):
status: Confirmed → In Progress
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.