Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.2.1
-
None
-
Windows 7 & Android
-
1246a5673fe352f10dc3236c248b1ca36d89bd04
Description
I have two panes, left & right in landscape more, top and bottom in portrait mode. Left pane has a text item the updates and upon an update the text gets added into a ListView in the right pane. I animate the added item from the location of the text in the left pane into the ListView, mapping the text item coordinates on resizing or orientation change. Mapping looks good to me as displayed as "sourceOrigin" on the console.
Animation is as expected in initial landscape mode, but go into portrait mode and there it no animation. The x and y immediately get set to 0, this is despite the animation giving the 'to: 20' for the y coord.
Switch to landscape mode again and it sometimes works ok again, but sometimes the animation does not start at the source text item but with a y value that is displaced to a variable degree.
I have a cut-down example (its all relative) that illustrates this. I have the animation duration set to 10 secs so we can see what is happening and the timer duration to a longer 11 secs, otherwise the 'running' property is never unset (see https://bugreports.qt-project.org/browse/QTBUG-38099).
So run the example, takes 11 secs to start, and see the landscape looks ok, then press the Portrait/Landscape button to check the portrait fails.
Attachments
For Gerrit Dashboard: QTBUG-38229 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
84506,6 | Don't adjust the position of transitioning list items. | stable | qt/qtdeclarative | Status: ABANDONED | +2 | 0 |
85381,1 | Don't adjust the position of transitioning list items. | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |