You can log bugs at http://bugreports.qt.nokia.com.  Select the "Declatative 
(QML)" component when entering the bug.

Br,
Martin.

From: [email protected] 
[mailto:[email protected]] On Behalf Of ext 
Michael Nosov
Sent: Tuesday, 1 February 2011 12:32 AM
To: [email protected]
Subject: [Qt-qml] ListView sections are not updated on item changes

Hello,

I'm using QML ListView with sections to display content of my own 
QSortFilterProxyModel. Seems that sections are not updated when some item in a 
list has changed.
I'm attaching test application (based on Qt's abstractItemModel example) to 
demonstrate the issue. This application shows list of animals sorted by name.

- Run ./abstractitemmodel
- Click on 'Set best' for some 'CAnimal' item in the middle of the list
Expected result: 'CAnimal' shall be placed on top of list, Section name on top 
shall be 'Best'
Actual result: 'CAnimal' is placed on top of list BUT section names are not 
updated

I've found a workaround how to refresh the list - if you set impossible search 
criteria, and then unset search criteria - the list will be refreshed with 
correct data. But this workaround is not applicable for some reasons.

Does anyone know if I can somehow submit a bug on Qt-Qml against that?

Thanks a lot,
Michael
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to