https://bugs.kde.org/show_bug.cgi?id=381105

--- Comment #30 from David Edmundson <k...@davidedmundson.co.uk> ---
I think I maybe see something interesting.

    SequentialAnimation {
        id: fadeAnim
        ParallelAnimation {
            OpacityAnimator {
            }
            OpacityAnimator {
                id: fadeOtherAnimator
            }
        }
        ScriptAction {
    }


we also have

        // only cross-fade if the new image could be smaller than the old one
        fadeOtherAnimator.enabled = Qt.binding(function() {
            return currentImage.paintedWidth < otherImage.paintedWidth ||
currentImage.paintedHeight < otherImage.paintedHeight
        })

        // Alleviate stuttering by waiting with the fade animation until the
image is loaded (or failed to)
        fadeAnim.running = Qt.binding(function() {
            return currentImage.status !== Image.Loading && otherImage.status
!== Image.Loading


paintedWidth will be changed after the image has loaded, so we're starting an
animation, then immediately disabling one of the animations within the group of
a running animation.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to