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

QtQuick ListView: Render Artefacts with huge models

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.7, 5.8, 5.12.0
    • Quick: SceneGraph
    • None
    • OS X, Windows
    • macOS

    Description

      Please have a look at the attached screenshots.

      The "renderbug_artefact" one illustrates the problem that is starting to show when ListView's contentY has a value larger that 4751073: Some horizontal lines have a wrong width or are not shown at all.

      The problematic contentY value seems to depend on the:

      • window height
      • the number of rectangles for each row

      I would rule out OpenGL driver issues as I can see that effect on two Macs with differents GPUs and on Windows 7 inside VMWare.

      The ListView has pixelAligned=true and the delegates are of integer height to avoid any subpixel alignment issues. I've checked the delegates y coordiantes to be integers too.

      Dumping the scene graph tree did not give me any hint about the problem.

      The example is derived from a calendar widget using an index representing the week number, thus the huge (actually virtual) model range.

      Attachments

        1. calendargridwiggly.tgz
          2 kB
        2. renderbug_artefact.png
          renderbug_artefact.png
          45 kB
        3. renderbug_ok.png
          renderbug_ok.png
          39 kB
        4. renderbug.tgz
          1 kB
        5. sg_artefact.dump
          18 kB
        6. sg_ok.dump
          18 kB

        Issue Links

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

          Activity

            People

              sletta Gunnar Sletta
              njeisecke Nils Jeisecke
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes