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

ListView delegates positioned badly due to float roundoff error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4: Low
    • None
    • 5.5.1, 5.6.0
    • None
    • Ubuntu Linux 15.10, OS X 10.11, OS X 10.10.5, Windows 7 64Bit SP1
    • macOS

    Description

      In a ListView element with 10,000,000 elements the spacing of the delegate paintings becomes odd at element 3355444 for some reason.

      See the attached image and example code for a demonstration. Will test whether it is the same on Windows and Mac and update this bug.

      Not sure if this is the correct project to file this in. Feel free to move it to the correct one.

      Attachments

        1. main.qml
          0.7 kB
        2. list-view-bug.png
          list-view-bug.png
          18 kB

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              hvoigt Heiko Voigt
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes