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

BusyIndicator in material style goes nuts when scrolling through ListView

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.7.1
    • 5.7.0
    • Quick: Controls 2
    • None
    • Qt 5.7 on KDE neon 16.04 and Windows 10
    • 320346d7dcc03afe4900bb496cabc6c7f885c01d

    Description

      When you have a BusyIndicator while using the material QtQuick Controls 2 style, scrolling to a list makes it go completely crazy.

      import QtQuick 2.7
      import QtQuick.Controls 2.0
      
      ApplicationWindow {
          visible: true
          width: 640
          height: 480
      
          ListView {
              anchors.fill: parent
              model: 500
      
              delegate: BusyIndicator {
                  running: true
              }
          }
      }
      

      Now scroll through the list and stop. The busy indicator will rotate at insane speeds now. This is not an issue with the default flat or univeral style. It is expected that the animation starts fresh as the items get destroyed and re-created as we scroll but it shouldn't go completely crazy.

      Attachments

        For Gerrit Dashboard: QTBUG-54472
        # Subject Branch Project Status CR V

        Activity

          People

            Unassigned Unassigned
            broulik Kai Uwe Broulik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes