Sorry, I guess I had to upgrade my glib libraries to build the latest. I have now built the latest and it seems to fix part of my issue but I am still having some trouble.
With the following example, line 19: carousel.currentIndex = 0; Does not appear to cause the path to redraw the delegates. Steps: 1) After loading click "<<" once ("7" should now be in the center box.) 2) Click "Home" which should reload the model which will trigger the currentIndex to be set at 0. You should see that nothing happens when Home is clicked. The currentItem is currently set to 0 but the path is currently displaying a different state. If you click "<<" again nothing will happen (now the path is in the state it should be in). Click "<<" again and the path will start to move. At line 17 if I set highlightMoveDuration to 10 (maybe anything other than 0) the problem is not visible. Thanks, Mike On 12/7/10, martin.jo...@nokia.com <martin.jo...@nokia.com> wrote: > This is not reproducible using the current Qt 4.7 branch. The 4.7 branch > from http://qt.gitorious.org/qt should always build and run. > > BR, > Martin. > >> -----Original Message----- >> From: ext Michael Dippold [mailto:m...@dippold.com] >> Sent: Wednesday, 8 December 2010 2:55 AM >> To: Jones Martin (Nokia-MS-Qt/Brisbane) >> Cc: qt-qml@trolltech.com >> Subject: Re: [Qt-qml] PathView Delegates Not Always Displaying >> >> I am using Qt 4.7.1, I just tried compiling from the latest from Git >> but could not get it to run. I was able to create a simple example on >> how to duplicate it and created a bug (QTBUG-15926). Hopefully it is >> reproducible on other systems. >> >> Thanks, >> Mike >> >> >> On Mon, Dec 6, 2010 at 10:20 PM, <martin.jo...@nokia.com> wrote: >> > Which version of Qt are you using? There have been some fixes in >> > PathView >> which your bug may be related to. I suggest trying the latest qt/4.7 from >> git. If you >> still see the problem then file a bug with an example that can be used to >> reproduce it (an unreliable example is better than none). >> > >> > BR, >> > Martin. >> > >> >> -----Original Message----- >> >> From: qt-qml-boun...@trolltech.com >> >> [mailto:qt-qml-boun...@trolltech.com] >> On >> >> Behalf Of ext Michael Dippold >> >> Sent: Tuesday, 7 December 2010 10:52 AM >> >> To: qt-qml@trolltech.com >> >> Subject: [Qt-qml] PathView Delegates Not Always Displaying >> >> >> >> I currently have a PathView that is binded to a XmlListModel. I >> >> animate the entire path and move it off of the screen, change the >> >> query of the XmlListModel to get new data, and then animate the entire >> >> path back onto the screen once the XmlListModel status is set to >> >> READY. >> >> >> >> I am having a problem where randomly the PathView will come back into >> >> the main window with missing delegates. If I use the mouse to barely >> >> move the PathView the delegates immediately get displayed. >> >> >> >> I have not yet found a way to reliably reproduce the issue. >> >> _______________________________________________ >> >> Qt-qml mailing list >> >> Qt-qml@trolltech.com >> >> http://lists.trolltech.com/mailman/listinfo/qt-qml >> > >
main.qml
Description: Binary data
<?xml version="1.0" encoding="iso-8859-1" ?> <root> <first> <item> <data>1</data> </item> <item> <data>2</data> </item> <item> <data>3</data> </item> <item> <data>4</data> </item> <item> <data>5</data> </item> <item> <data>6</data> </item> <item> <data>7</data> </item> </first> </root>
_______________________________________________ Qt-qml mailing list Qt-qml@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-qml