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

Emitter: negative emitRate causes app to hang

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.6.0
    • Fix Version/s: 5.6.1
    • Component/s: Quick: Particles
    • Labels:
      None
    • Environment:
      Windows 10
    • Commits:
      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

            Assignee:
            mitch_curtis Mitch Curtis
            Reporter:
            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