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

Strange color updates of custom quick items in the QML scene

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.1
    • 5.6.0
    • Quick: SceneGraph
    • None
    • Debian Jessie

    Description

      Simple test case: two custom quick items implementing a rectangle (by using an out-of-the-box QSGSimpleRectNode) are placed on a Flickable surface. When trying to change the color of the first rectangle (on a timer event) its color won't change until I drag the surface. When trying to change the color of the second rectangle in the same way, both rectangles change color. However, the first rectangle gets back to its original correct color when I drag the surface.

      Attachments

        1. main.cpp
          0.3 kB
        2. main.qml
          0.7 kB
        3. myrect.cpp
          0.4 kB
        4. myrect.h
          0.6 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sletta Gunnar Sletta
            dannix Daniel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes