<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Strange rescaling at the end of scale animation (Linux only)]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I did a simple animation which changes scale of an item and also x and y. It works fine in Windows system but in Ubuntu I can observe strange tick at the end. Moreover it's not reproducible all the time. Is it a bug or it can be fixed somehow? In gif I've attached you can observe that sometimes strange rescaling occured and sometimes not.</p>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/ffaf1887-036f-4c9d-82c8-126e0509b2b3.gif" alt="0_1559915062125_gif.gif" class=" img-fluid img-markdown" /></p>
<pre><code>        Rectangle {
            x:0
            y:0
            width: 4000
            height: 4000
            anchors.centerIn: parent
            color: "white"
            z: 1
        }

        Timer {
            running: true
            repeat: true
            interval: 2000
            onTriggered: {
                if (funnyRect.state === "ONE") {
                    funnyRect.state = "SECOND"
                } else {
                    funnyRect.state = "ONE"
                }
            }
        }

        Rectangle {
            id: funnyRect
            x: 1256
            y: 64
            width: 500
            height: 500
            color: "grey"
            z: 2

            state: "ONE"

            states: [
                State {
                    name: "ONE"
                    PropertyChanges { target: funnyRect; scale: 1.0}
                    PropertyChanges { target: funnyRect; x: 1256}
                    PropertyChanges { target: funnyRect; y: 64}
                },
                State {
                    name: "SECOND"
                    PropertyChanges { target: funnyRect; scale: 0.65}
                    PropertyChanges { target: funnyRect; x: 1331}
                    PropertyChanges { target: funnyRect; y: 174}
                }
            ]

            transitions: [
                Transition {
                    to: "*"
                    ScaleAnimator   { duration: 1000; easing.type: Easing.InOutCubic }
                    PropertyAnimation { properties: "x,y"; duration: 1000; easing.type: Easing.InOutCubic }
                }
            ]
        }
</code></pre>
]]></description><link>https://forum.qt.io/topic/103657/strange-rescaling-at-the-end-of-scale-animation-linux-only</link><generator>RSS for Node</generator><lastBuildDate>Tue, 18 Aug 2026 17:41:43 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/103657.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 07 Jun 2019 13:46:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Strange rescaling at the end of scale animation (Linux only) on Tue, 11 Jun 2019 07:48:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/killersmath">@<bdi>KillerSmath</bdi></a> Time is not a problem, in my app I don't revert animation immediately but on user request  and the problem still occurrs.<br />
Actually I've found a solution : simply remove <code>Transition</code> and instead of this use <code>Behavior on</code></p>
]]></description><link>https://forum.qt.io/post/534302</link><guid isPermaLink="true">https://forum.qt.io/post/534302</guid><dc:creator><![CDATA[Cyna]]></dc:creator><pubDate>Tue, 11 Jun 2019 07:48:52 GMT</pubDate></item><item><title><![CDATA[Reply to Strange rescaling at the end of scale animation (Linux only) on Fri, 07 Jun 2019 16:30:22 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/cyna">@<bdi>Cyna</bdi></a></p>
<p dir="auto">I guess your problem is when you try to revert the animation before the time has been over.</p>
<p dir="auto">Take a look at this Transition Documentation and check if it solves your problem.<br />
<a href="https://doc.qt.io/qt-5/qml-qtquick-transition.html#reversible-prop" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-5/qml-qtquick-transition.html#reversible-prop</a></p>
]]></description><link>https://forum.qt.io/post/533720</link><guid isPermaLink="true">https://forum.qt.io/post/533720</guid><dc:creator><![CDATA[KillerSmath]]></dc:creator><pubDate>Fri, 07 Jun 2019 16:30:22 GMT</pubDate></item></channel></rss>