When scope uses vertical-journal, it shows "See more"/"See less", but sometimes it doesn't

Bug #1593068 reported by Jin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity8 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Description:
When scope users vertical-journal as its layout, sometimes it shows the button,
but sometimes it does not, not sure which one is the correct behavior.

Reproduce Steps:
    a) Implement a scope with a vertical-journal layout
    b) Observe the scope showing

Expected Result:
The appearance of "See more"/"See less" need to be consistent

Actual Result:
Sometimes it shows "See more"/"See less", sometimes not.

Occurrence:
5/10 (50%)

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

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

Are you sure it doesn't depend on the number of results you're giving back?

If not we will need the scope you're using to reproduce the error

Revision history for this message
Jin (jindallo) wrote :

I am sure,
since the number of results > 10 as I configured.

You could use Today aggregator to see the results from Holidays scope here:
    https://code.launchpad.net/~todayscope-team/today-scope/trunk
    https://code.launchpad.net/~holidays-scope-team/holidays/trunk

The Holidays is shown by vertical-journal,
and you could check the behavior on the issued button.

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

Sorry my bad, what counts to decide if to show the more/less button is not the number of results you're giving back, what counts is how tall those results are.

I don't get any holidays on my today scope, so it doesn't work as a way to reproduce the error. Do you think you can produce something that is not dependant on the day of today and always reproduces this error?

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.