Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

BusyIndicator in ListView Bug?



  • Hello there guys,

    I got a strange thing going on in my ListView.
    When the Item is Created the first time the BusyIndicator works normaly.
    But if i flick the View and Scroll down and go up again the BusyIndicator is spinning and flickering like a flashlight.

    Am i doing something wrong ?
    I tryied it in a Loader but same problem again.

    this is my Code:

    import QtQuick 2.7
    import QtQuick.Layouts 1.3
    import QtQuick.Controls 2.0
    import QtQuick.Controls.Material 2.0
    import QtQuick.Controls.Universal 2.0

    ListView {
    id: listViewOne
    width: page.width
    height: page.height
    topMargin: 10
    model: 10
    spacing: 10

    delegate: FeedItem {
    width: listViewOne.width

            BusyIndicator {
                id: busyIndicator
                anchors.centerIn: parent
                running: true
                width: 100
                height: 100
                Material.theme: Material.Dark
                Material.primary: "#FFFFFF"
                Material.accent: "#FFFFFF"
            }
        }
    

    }


Log in to reply