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

QListView content blinks when adding rows with the layout mode QListView::Batched

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.0
    • Widgets: Itemviews
    • None
    • Windows

    Description

      QListView content blinks when repeatedly adding rows, only with the layout mode set to QListView::Batched. (QListView::SinglePass works fine)

      I made a minimal example (qt_listview_bug.zip) that shows the issue in attachment.

      In the example, I have a QListView feeded by a QStandardItemModel. Each second I add 100 rows to the model. Each times I add the rows QListView content blinks.
      When I try to scroll down a bit, the scroll position seems to start to "oscillate" each times rows are added, the scroll cursor goes to the bottom, then come back to the top of the scrollbar making it unusable. After some time, the QListView become completely blank.
      I also tried with a custom model with same results.

      I attached a video of the minimal example running.

      Attachments

        1. qlistview_bug.mp4
          1.77 MB
          Iohann Rabeson
        2. qt_listview_bug.zip
          0.8 kB
          Iohann Rabeson
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            iohannrabeson Iohann Rabeson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes