Using ContentStore disables silently any StateSaver capability
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Bill Filler | ||
content-hub (Ubuntu) |
Fix Released
|
High
|
Ken VanDine | ||
ubuntu-ui-toolkit (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
1. Create the default template project
2. Add on the page (with an id):
id: foo
}
3. run the app, type something in the field, xkill it, restart
-> the TextField content is restored by the StateSaver.
4. import Ubuntu.Content 1.1
-> StateSaver still works
5. add anywhere on the page:
ContentStore {
id: appContentStore
scope: ContentScope.App
}
-> The state is not restored anymore (note that it may be the first time, restoring when there was no ContentStore at kill time), then it constantly fails to restore.
There is no warning or anything that reported an issue.
Related branches
- PS Jenkins bot: Approve (continuous-integration)
- Michael Sheldon (community): Approve
- Sebastien Bacher: Approve
-
Diff: 29 lines (+5/-8)1 file modifiedsrc/com/ubuntu/content/hub.cpp (+5/-8)
tags: | added: devexp |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | New → Invalid |
importance: | Undecided → High |
Changed in content-hub (Ubuntu): | |
assignee: | nobody → Ken VanDine (ken-vandine) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
milestone: | none → ww40-2015 |
assignee: | nobody → Bill Filler (bfiller) |
importance: | Undecided → High |
Changed in canonical-devices-system-image: | |
status: | New → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
The logic to delay StateSaver when URI handler is installed did not land in toolkit, so I wonder why it does disable the statesaver...