Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Animated FastBlur causes Qt Quick application to crash on exit

    QML and Qt Quick
    2
    5
    1611
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      brachna last edited by

      Hello.

      I have a problem with animated ShaderEffect, FastBlur. When application exits after playing animation it crashes with following statement: "Error - RtlWerpReportException failed with status code :-1073741823. Will try to launch the process directly".
      If I change ending radius value to 0. it will not crash on exit.
      Not sure if it's a bug or I made some mistakes that lead up to that.

      Application is the default Qt Quick 2.2 application (no changes) with following QML file:

      @import QtQuick 2.2
      import QtQuick.Window 2.1
      import QtGraphicalEffects 1.0

      Window {
      visible: true
      width: 360
      height: 360

      MouseArea {
          anchors.fill: parent
          onClicked: {
              if ( mouse.button == Qt.LeftButton ){
                  animations.restart();
              }
          }
      }
      
      SequentialAnimation {
          id: animations;
          NumberAnimation {
              target: coverBlur;
              property: "radius";
              from: 0.0;
              to: 64.0
              duration: 2000;
              easing.type: Easing.InOutQuad
          }
          NumberAnimation {
              duration: 3000;
          }
          NumberAnimation {
              target: coverBlur;
              property: "radius";
              from: 64.0;
              to: 0.0
              duration: 2000;
              easing.type: Easing.InOutQuad
          }
      }
      
      Rectangle {
          id: albumRect;
          width: parent.width;
          height: parent.height;
          color: "transparent";
      
          FastBlur{
              id: coverBlur;
              source: coverImg;
              anchors.fill: coverImg;
              radius: 64;
          }
      
          Image {
              id: coverImg;
              smooth: true;
              anchors.rightMargin: 10;
              anchors.leftMargin: 10;
              anchors.bottomMargin: 10;
              anchors.topMargin: 10;
              anchors.fill: parent;
              source: "qrc:///cover.png";
              opacity: 1.0;
              fillMode: Image.PreserveAspectFit;
              visible: false;
          }
      }
      

      }@

      1 Reply Last reply Reply Quote 0
      • S
        stevenceuppens last edited by

        Hi,

        It looks like a Bug, I tested your code and have the same issue..

        I have to look into it more deeply...

        I also found a related issue

        http://www.qtcentre.org/threads/55375-Weird-RtlWerpReportException-error

        Steven CEUPPENS
        Developer / Architect
        Mobile: +32 479 65 93 10

        1 Reply Last reply Reply Quote 0
        • S
          stevenceuppens last edited by

          I create a Jira Issue

          https://bugreports.qt-project.org/browse/QTBUG-38468

          Steven CEUPPENS
          Developer / Architect
          Mobile: +32 479 65 93 10

          1 Reply Last reply Reply Quote 0
          • B
            brachna last edited by

            So it was a bug after all. Thanks for reporting. Hope it will be resolved in Qt 5.3.

            1 Reply Last reply Reply Quote 0
            • S
              stevenceuppens last edited by

              Issue seems to be solved in Qt5.3

              https://bugreports.qt-project.org/browse/QTBUG-38468

              Steven CEUPPENS
              Developer / Architect
              Mobile: +32 479 65 93 10

              1 Reply Last reply Reply Quote 0
              • First post
                Last post