StateSaver doesn't work on ListView delegates

Bug #1276166 reported by Ugo Riboni
6
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."

Tags: statesaver
Revision history for this message
Ugo Riboni (uriboni) wrote :
Changed in ubuntu-ui-toolkit:
assignee: nobody → Zsombor Egri (zsombi)
Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit:
milestone: none → february-2014
Zsombor Egri (zsombi)
tags: added: statesaver
Changed in ubuntu-ui-toolkit:
milestone: february-2014 → march-2014
Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit:
milestone: march-2014 → june-2014
Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit:
milestone: june-2014 → september-2014
Revision history for this message
Zsombor Egri (zsombi) wrote :

I tested this on ListViews, and we even have code to support this in StateSaver. Couldn't reproduce the bug.

Changed in ubuntu-ui-toolkit:
importance: Undecided → Medium
status: New → Incomplete
Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit (Ubuntu):
assignee: nobody → Zsombor Egri (zsombi)
importance: Undecided → Medium
status: New → Incomplete
Zoltan Balogh (bzoltan)
no longer affects: ubuntu-ui-toolkit
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.