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

Render Error when updating a QQuickItem

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.11.1
    • Quick: SceneGraph
    • None
    • OS: Windows 10 Home 1803 (17134.228)
      kit: MSVC2017_64
    • Windows

    Description

      I attached the example.

      I create a QQuickItem according to the documentation Scene Graph - Custom Geometry. It draws lots of lines to show that there are lots of point pairs. It's called poinpairs.h/cpp in the attachment.

      The error occurs  when doing the following actions:

      1. Run the application
      2. Click 'Button2' to load an image
      3. Press and move the mouse in order to 'draw' the line
      4. Try Step 3 many times and you will see there aren't any lines (In fact they are just invisible now).
      5. Click 'Button2' and the image will load again
      6. The orange lines are visible now.
      7. Try Step 3 to draw more lines and everything is fine.

      In fact you don't even need to click Button2 (to load the image again) in Step 5. If there is a button doing nothing, clicking it will also works. The effect is like this gif.

      You may find there is an empty whole in the image after Step 2. It's another bug in this project. It has been reported as QTBUG-70046. These two bugs are independent with each other.

       

      By the way, I create some other QQuickItem. They won't cause this problem. But I'm sure I create this PointPairs carefully according to the documentation and you can check it.

      Attachments

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

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            wangfys 风宇声 王
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes