Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-6623

Wrong currentValue() in QPropertyAnimation if setKeyValue() was used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.6.0
    • None
    • 2705480b5cd740eee3ed684a26508b0497b00477

      I have a QPropertyAnimation and call setKeyValue() multiple times. Then I call setCurrentTime and currentValue to get the interpolated values. The result is different than expected. The values change in unexpected progress parts of the animation, than the keypoints define. Only with with linear easing, it works as expected.

      See the attached screenshot. Source is also attached.

        1. QVariantAnimation.png
          8 kB
          Alessandro Portale
        2. qvariantinterpolation.zip
          1 kB
          Alessandro Portale
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            smd Jan Arve
            portale Alessandro Portale
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes