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

Animation leaves drawing artifacts when clipping is used

XMLWordPrintable

    • 4df9c96e2c213c39924e22e02621b0c61e83f8fe

      In QML, if an Item has clipping enabled and its scale or position is animated, its children leave a trail of drawing artifacts. See the attached example: when the red Rectangle is clicked, its scale changes, and the scaling is animated.

      This does not happen if "clip: true" is removed.

      Note this also does not happen if the viewport update mode is set to QGraphicsView::FullViewportUpdate rather than QGraphicsView::BoundingRectViewportUpdate in src/declarative/util/qdeclarativeview.cpp so it seems the region that is being repainted is not correct.

        1. app.qml
          0.6 kB
        2. main.cpp
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            bjnilsen Bjørn Erik Nilsen
            bealam Bea Lam (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes