[Qt-qml] PathView Delegates Not Always Displaying
Michael Dippold
mike at dippold.com
Thu Dec 9 17:30:26 CET 2010
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.jones at nokia.com <martin.jones at 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:mike at dippold.com]
>> Sent: Wednesday, 8 December 2010 2:55 AM
>> To: Jones Martin (Nokia-MS-Qt/Brisbane)
>> Cc: qt-qml at 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.jones at 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-bounces at trolltech.com
>> >> [mailto:qt-qml-bounces at trolltech.com]
>> On
>> >> Behalf Of ext Michael Dippold
>> >> Sent: Tuesday, 7 December 2010 10:52 AM
>> >> To: qt-qml at 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 at trolltech.com
>> >> http://lists.trolltech.com/mailman/listinfo/qt-qml
>> >
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.qml
Type: application/octet-stream
Size: 2255 bytes
Desc: not available
Url : http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20101209/b903d35a/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.xml
Type: text/xml
Size: 286 bytes
Desc: not available
Url : http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20101209/b903d35a/attachment.xml
More information about the Qt-qml
mailing list