Today's scope doesn't refresh automatically and indicates wrong day
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Canonical System Image |
Medium
|
Alejandro J. Cura | ||
| | Today Scope |
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
| Michał Sawicz (saviq) wrote : | #1 |
| Changed in unity8 (Ubuntu): | |
| assignee: | nobody → Chris Wayne (cwayne18) |
| Pete Woods (pete-woods) wrote : | #2 |
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.
| Launchpad Janitor (janitor) wrote : | #3 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in unity8 (Ubuntu): | |
| status: | New → Confirmed |
| tags: | added: bq |
| Chris Wayne (cwayne18) wrote : | #4 |
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..
| 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 |
| Marcus Tomlinson (marcustomlinson) wrote : | #5 |
Hey Chris, we have a little more detail on ResultTtl under the "Deployment" section of our API doc:
https:/
("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 |
| Kyle Nitzsche (knitzsche) wrote : | #6 |
Today scope has had "ResultsTtlType
| Changed in today-scope: | |
| status: | Confirmed → Fix Released |
| Changed in canonical-devices-system-image: | |
| status: | Confirmed → Fix Released |
| Roascio Paolo (roa) wrote : | #7 |
I can see that ResultsTtlType=
/custom/
but this does nothing, today scope is never refreshed until i swipe down, so, at least for me, this bug is not resolved

Chris, please reassign as applicable