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

Dragging prevents QML animations from updating

    XMLWordPrintable

Details

    • bc01bb10da23d0d2308cf02a16947be836bc9a21

    Description

      The following example is reproducible on both N900 and my desktop linux box.
      To reproduce, simply drag the red square continuously over the white rotating block.
      This should not affect the rotating block, but instead all paint updates apart from the
      dragged rect are being ignored.

      import Qt 4.6
      import "content"

      Rectangle {
      id: screen
      width: 800; height: 480
      color: "black"
      Rectangle {
      color:"white"
      width:500
      height:600
      transform: Rotation {
      origin.x: 429;
      origin.y: 410;
      angle: SequentialAnimation {
      running: true
      repeat: true
      NumberAnimation

      { from:0; to: 360; duration: 50000 }

      }}
      smooth:true
      radius:4
      }
      Rectangle {
      id:widget1
      color: "red"
      width:240
      height:200
      MouseRegion

      { anchors.fill: parent; drag.target: widget1; drag.axis: "XandYAxis"; drag.minimumX: 0; drag.maximumX: screen.width; drag.minimumY: 0; drag.maximumY: screen.height; }

      }
      }

      Attachments

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

        Activity

          People

            bachewii Jens
            bachewii Jens
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes