StateSaver doesn't work on ListView delegates
Bug #1276166 reported by
Ugo Riboni
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
Incomplete
|
Medium
|
Zsombor Egri |
Bug Description
In the attached example I'm trying to use StateSaver to save a property on a ListView delegate.
But I get and error message containing the following text:
QML Text: Warning: attachee's UUID is already registered, state won't be saved
According to Zsombor "as a quick look on the log seems the ID traversing (parent traversing) needs to be improved so we traverse not only the parents but also the parentItems. In this case the inner list's parent is the same as the outer's one. That's may cause ID conflicts."
Changed in ubuntu-ui-toolkit: | |
milestone: | none → february-2014 |
tags: | added: statesaver |
Changed in ubuntu-ui-toolkit: | |
milestone: | february-2014 → march-2014 |
Changed in ubuntu-ui-toolkit: | |
milestone: | march-2014 → june-2014 |
Changed in ubuntu-ui-toolkit: | |
milestone: | june-2014 → september-2014 |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Zsombor Egri (zsombi) |
importance: | Undecided → Medium |
status: | New → Incomplete |
no longer affects: | ubuntu-ui-toolkit |
To post a comment you must log in.
I tested this on ListViews, and we even have code to support this in StateSaver. Couldn't reproduce the bug.