Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. [SOLVED]Issue with particle system and hanging window
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]Issue with particle system and hanging window

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 1.4k Views 1 Watching
  • 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 Offline
    B Offline
    belab
    wrote on last edited by
    #1

    With the downloaded Qt5.0.2 - msvc2012_64 on win7 when I try to move the window of the following qmlscene, the window keeps hanging at its current position and doesn't react anymore until changing the focus with alt+tab.

    @
    import QtQuick 2.0
    import QtQuick.Particles 2.0

    Rectangle {
    width: 224
    height: 288
    color: "black"
    id: background

    ParticleSystem {
        anchors.fill: parent
    
        ImageParticle {
            source: "star.png"
            colorVariation: 1.0
        }
    
        Emitter {
            width: background.width;
            height: 1
            size: 8
            sizeVariation: 5
            anchors.top: parent.top
            lifeSpan: 6000
            velocity: AngleDirection {
                angle: 90
                angleVariation: 1
                magnitude: 150
                magnitudeVariation: 100
            }
        }
    }
    

    }
    @

    Without the particle system I can move the window around. I already recognized this behavior in 5.0 but I thought this would be fixed in an upcoming version.

    1 Reply Last reply
    0
    • slettaS Offline
      slettaS Offline
      sletta
      wrote on last edited by
      #2

      There is a rather ugly issue with timers starving system events when you combine msvc 2012 with win7. In Qt 5.1 there is a new renderloop for Qt Quick for windows which, amongst other things, avoids this particular issue.

      1 Reply Last reply
      0
      • B Offline
        B Offline
        belab
        wrote on last edited by
        #3

        Thanks for your reply, so I'm looking forward to Qt 5.1.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved