Today's scope doesn't refresh automatically and indicates wrong day

Bug #1422309 reported by Sebastien Bacher
88
This bug affects 20 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Medium
Alejandro J. Cura
Today Scope
Fix Released
Undecided
Chris Wayne

Bug Description

Not sure if that's rather something for unity8 or the "today", but that page should auto-refresh on day changes. Otherwise when you pick your phone in the morning and unlocks it you get welcomed with the wrong date info until you pull down to manually refresh the view

Tags: bq
Revision history for this message
Michał Sawicz (saviq) wrote :

Chris, please reassign as applicable

Changed in unity8 (Ubuntu):
assignee: nobody → Chris Wayne (cwayne18)
Revision history for this message
Pete Woods (pete-woods) wrote :

A solution to this could be to set:

ResultsTtlType = Large

in the today scope ini file.

This will cause the scope results to become invalid (and therefore refreshed) after an hour or so since it was last requested and the user looks at the scope.

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

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

Changed in unity8 (Ubuntu):
status: New → Confirmed
tags: added: bq
Revision history for this message
Chris Wayne (cwayne) wrote :

Is there any documentation on what ResultsTtlType actually does? All I've been able to find is that it can be none small medium or large, but no indication of what any of those actually mean..

Michał Sawicz (saviq)
affects: unity8 (Ubuntu) → unity-scopes-shell (Ubuntu)
Changed in canonical-devices-system-image:
assignee: nobody → Alejandro J. Cura (alecu)
importance: Undecided → Medium
milestone: none → backlog
status: New → Confirmed
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

Hey Chris, we have a little more detail on ResultTtl under the "Deployment" section of our API doc:

https://developer.ubuntu.com/api/scopes/cpp/sdk-15.04.1/index/
("ResultTtl determines how long results should be cached...")

Currently these values are set (in unity-scopes-shell) to:

const int RESULTS_TTL_SMALL = 30000; // 30 seconds
const int RESULTS_TTL_MEDIUM = 300000; // 5 minutes
const int RESULTS_TTL_LARGE = 3600000; // 1 hour

affects: unity-scopes-shell (Ubuntu) → today-scope
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

Today scope has had "ResultsTtlType=Large" in the scope ini file for quite a while now.

Changed in today-scope:
status: Confirmed → Fix Released
Changed in canonical-devices-system-image:
status: Confirmed → Fix Released
Revision history for this message
Roascio Paolo (roa) wrote :

I can see that ResultsTtlType=Large is in (OTA-12):

/custom/click/com.canonical.scopes.dashboard/4.7.0/com.canonical.scopes.dashboard_dashboard.ini

but this does nothing, today scope is never refreshed until i swipe down, so, at least for me, this bug is not resolved

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.