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

Bugs with lottie animations

    XMLWordPrintable

Details

    • Windows
    • 8b7128b92 (dev), f467e29f7 (dev), 930db8b30 (6.4), 528ca10ab (6.4), eb96127e1 (tqtc/lts-6.2), 146defd6a (tqtc/lts-6.2)

    Description

      Hello,

      There seem to be a few issues with lottie animations. Using the LottieAnimation type and trying to run various different animation downloaded for the internet, I am noticing a few strange issues.

      It seems this might be related to a previous un-resolved bug linked below, but I wanted to bring this up again as it is present in Qt 6.

      Previous issue: https://bugreports.qt.io/browse/QTBUG-73803

      In Qt 6.2.3 some lottie animations will run while others don't, I have attached a Qt project which has a few animation some of which run and other don't.

      9744-sample-animation.json: runs but produces the error "Error: qt.lottieqt.bodymovin.parser: Unsupported shape type: "mm""

      96848-astronaut-running.json: runs without error

      1370-confetti.json: does not run and produces error "qt.lottieqt.bodymovin.parser: Unsupported layer type: 0"

      failure_animation.json: Only displays and image but does not produce an error message

      In Qt 5.15.9 

      96848-astronaut-running.json - ( no image was displayed)
      qml: Loading
      qt.lottieqt.bodymovin.parser: assets not supported
      qt.lottieqt.bodymovin.parser: Unsupported layer type: 2

      9744-sample-animation.json: static image is displayed with the following error message "qt.lottieqt.bodymovin.parser: Unsupported shape type: "mm""

       

      96848-astronaut-running.json - no image is displayed with the following error messages 
      qt.lottieqt.bodymovin.parser: assets not supported
      qt.lottieqt.bodymovin.parser: Unsupported layer type: 2

       

      failure_animation.json: Static image is displayed 

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kwpark Kwanghyo Park
              benjamin.hadra Benjamin Hadra
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes