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

Emitter: negative emitRate causes app to hang

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.6.1
    • 5.6.0
    • Quick: Particles
    • None
    • Windows 10
    • f5685e350017ff7c34d44e6b87d38c00439c0111

    Description

      Not exactly a valid use case, but it definitely shouldn't hang.

      import QtQuick 2.3
      import QtQuick.Window 2.2
      
      import QtQuick.Particles 2.0
      
      Window {
          visible: true
          width: 400
          height: 400
      
          Rectangle {
              width: 100
              height: 100
              color: "blue"
              anchors.centerIn: parent
      
              NumberAnimation on rotation {
                  from: 0
                  to: 360
                  duration: 3000
                  loops: Animation.Infinite
                  running: true
              }
          }
      
          ParticleSystem {
              Emitter {
      //            emitRate: -1
              }
          }
      }
      

      Attachments

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

        Activity

          People

            mitch_curtis Mitch Curtis
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes