Forums

OverviewFelgo 2 Support (Qt 5) › VisibilityRefreshHandler.qml:92:3: QML Item: Binding loop detected for property

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #19211

    Arne

    Hi,

    I use a VisibilityRefreshHandler in the footer of my AppListView. When it becomes visible, it fires the backend.nextPage() method and updates the model.

    And after the model changed, the console is full of this errors:

    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML Item: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML Item: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML Item: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML Item: Binding loop detected for property "posInList"
    [...]

    I tried to look inside the file VisibilityRefreshHandler, but I get a message that I am not allowed to.

    Here is the AppListView Code:

    AppListView {
            id: listView
            anchors.top: customBar.bottom
            anchors.bottom: parent.bottom
            model: backend.model
            // This delegate is just for testing
            delegate: Item {
                width: parent.width
                height: dp(100)
    
                Rectangle {
                    color: "white"
                    anchors.fill: parent
    
                    Text {
                        font.pointSize: 20
                        text: "Element " + index
                        anchors.horizontalCenter:     parent.horizontalCenter
                        anchors.verticalCenter: parent.verticalCenter
                    }
                }
            }
    
            backgroundColor: "#000000"
            scrollIndicatorVisible: false
    
            // Load newer elements by pulling the list down
            PullToRefreshHandler {
                id: refreshHandler
                contentColor: Theme.navigationBar.titleColor
                onRefresh: {
                    backend.firstPage();
                }
            } // - end PullToRefreshHandler
    
            // Load more elements if this item becomes visible
            footer: VisibilityRefreshHandler {
                id: footerRefreshHandler
                onRefresh: {
                    backend.nextPage();
                }
            } // - end VisibilityRefreshHandler
    
            Component.onCompleted: {
                // init backend and fetch configuration from api
                backend.init();
                // init model
                backend.firstPage();
            }
        } // - AppListView end

    What am I doing wrong here?

    Cheers,

    Arne

    #19221

    Günther
    Felgo Team

    Hi Arne,

    does the ListView update and show the model correctly?

    The messages probably come from some temporary state during destruction of the old list item UI components. In case the list renders fine, you can ignore the messages for now – we’ll have a look to suppress them in the future in this case.

    Best,
    Günther

    #19240

    Arne

    Hi Günther,

    yes the ListView updates and show the model correctly. Except the other issue I have addressed in the other thread about restoring the old scroll position.

    Best,

    Arne

    #19431

    Arne

    Hi Günther,

    I have to re-open this thread.

    We see the errors from above on our test devices, while running the app in debug mode, cable connected. It shows the error messages and stops with “program received signal -111, thread … “. So I don’t know how I can fix that.

    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    qrc:///qml/VPlayApps/controls/VisibilityRefreshHandler.qml:92:3: QML QQuickItem*: Binding loop detected for property "posInList"
    program received signal -111, thread:51a61f;00:203012c001000000;01:a06908c801000000;02:0800000000000000;03:6c90bf8201000000;04:a06908c801000000;05:8209000000000000;06:606d08c801000000;07:8109000000000000;08:0000000000000000;09:8109000000000000;0a:0000000000000000;0b:0000000000000000;0c:82e8000000000000;0d:82e8000000000000;0e:0001000000000000;0f:82e8000000000000;10:3cc9d48201000000;11:0000000200000000;12:0000000000000000;13:20f634d001000000;14:203012c001000000;15:d08408c801000000;16:203012c001000000;17:40f0960901000000;18:000e320a01000000;19:0000000000000000;1a:f02abf0601000000;1b:d82abf0601000000;1c:d2f1a20601000000;1d:e010eb6a01000000;1e:38ad960501000000;1f:a00feb6a01000000;20:04a1930501000000;21:00000040;metype:1;mecount:2;medata:1;medata:38;memory:0x16aeb10e0=7011eb6a0100000020a0960501000000;memory:0x16aeb1170=9012eb6a010000008097960501000000;
    program received signal -111, thread:51a61f;00:203012c001000000;01:a06908c801000000;02:0800000000000000;03:6c90bf8201000000;04:a06908c801000000;05:8209000000000000;06:606d08c801000000;07:8109000000000000;08:0000000000000000;09:8109000000000000;0a:0000000000000000;0b:0000000000000000;0c:82e8000000000000;0d:82e8000000000000;0e:0001000000000000;0f:82e8000000000000;10:3cc9d48201000000;11:0000000200000000;12:0000000000000000;13:20f634d001000000;14:203012c001000000;15:d08408c801000000;16:203012c001000000;17:40f0960901000000;18:000e320a01000000;19:0000000000000000;1a:f02abf0601000000;1b:d82abf0601000000;1c:d2f1a20601000000;1d:e010eb6a01000000;1e:38ad960501000000;1f:a00feb6a01000000;20:04a1930501000000;21:00000040;metype:1;mecount:2;medata:1;medata:38;memory:0x16aeb10e0=7011eb6a0100000020a0960501000000;memory:0x16aeb1170=9012eb6a010000008097960501000000;
    program received signal -111, thread:51a61f;00:203012c001000000;01:a06908c801000000;02:0800000000000000;03:6c90bf8201000000;04:a06908c801000000;05:8209000000000000;06:606d08c801000000;07:8109000000000000;08:0000000000000000;09:8109000000000000;0a:0000000000000000;0b:0000000000000000;0c:82e8000000000000;0d:82e8000000000000;0e:0001000000000000;0f:82e8000000000000;10:3cc9d48201000000;11:0000000200000000;12:0000000000000000;13:20f634d001000000;14:203012c001000000;15:d08408c801000000;16:203012c001000000;17:40f0960901000000;18:000e320a01000000;19:0000000000000000;1a:f02abf0601000000;1b:d82abf0601000000;1c:d2f1a20601000000;1d:e010eb6a01000000;1e:38ad960501000000;1f:a00feb6a01000000;20:04a1930501000000;21:00000040;metype:1;mecount:2;medata:1;medata:38;memory:0x16aeb10e0=7011eb6a0100000020a0960501000000;memory:0x16aeb1170=9012eb6a010000008097960501000000;
    program received signal -111, thread:51a61f;00:203012c001000000;01:a06908c801000000;02:0800000000000000;03:6c90bf8201000000;04:a06908c801000000;05:8209000000000000;06:606d08c801000000;07:8109000000000000;08:0000000000000000;09:8109000000000000;0a:0000000000000000;0b:0000000000000000;0c:82e8000000000000;0d:82e8000000000000;0e:0001000000000000;0f:82e8000000000000;10:3cc9d48201000000;11:0000000200000000;12:0000000000000000;13:20f634d001000000;14:203012c001000000;15:d08408c801000000;16:203012c001000000;17:40f0960901000000;18:000e320a01000000;19:0000000000000000;1a:f02abf0601000000;1b:d82abf0601000000;1c:d2f1a20601000000;1d:e010eb6a01000000;1e:38ad960501000000;1f:a00feb6a01000000;20:04a1930501000000;21:00000040;metype:1;mecount:2;medata:1;medata:38;memory:0x16aeb10e0=7011eb6a0100000020a0960501000000;memory:0x16aeb1170=9012eb6a010000008097960501000000;
    program received signal -111, thread:51a61f;00:203012c001000000;01:a06908c801000000;02:0800000000000000;03:6c90bf8201000000;04:a06908c801000000;05:8209000000000000;06:606d08c801000000;07:8109000000000000;08:0000000000000000;09:8109000000000000;0a:0000000000000000;0b:0000000000000000;0c:82e8000000000000;0d:82e8000000000000;0e:0001000000000000;0f:82e8000000000000;10:3cc9d48201000000;11:0000000200000000;12:0000000000000000;13:20f634d001000000;14:203012c001000000;15:d08408c801000000;16:203012c001000000;17:40f0960901000000;18:000e320a01000000;19:0000000000000000;1a:f02abf0601000000;1b:d82abf0601000000;1c:d2f1a20601000000;1d:e010eb6a01000000;1e:38ad960501000000;1f:a00feb6a01000000;20:04a1930501000000;21:00000040;metype:1;mecount:2;medata:1;medata:38;memory:0x16aeb10e0=7011eb6a0100000020a0960501000000;memory:0x16aeb1170=9012eb6a010000008097960501000000;
    program received signal -111, thread:51a61f;00:203012c001000000;01:a06908c801000000;02:0800000000000000;03:6c90bf8201000000;04:a06908c801000000;05:8209000000000000;06:606d08c801000000;07:8109000000000000;08:0000000000000000;09:8109000000000000;0a:0000000000000000;0b:0000000000000000;0c:82e8000000000000;0d:82e8000000000000;0e:0001000000000000;0f:82e8000000000000;10:3cc9d48201000000;11:0000000200000000;12:0000000000000000;13:20f634d001000000;14:203012c001000000;15:d08408c801000000;16:203012c001000000;17:40f0960901000000;18:000e320a01000000;19:0000000000000000;1a:f02abf0601000000;1b:d82abf0601000000;1c:d2f1a20601000000;1d:e010eb6a01000000;1e:38ad960501000000;1f:a00feb6a01000000;20:04a1930501000000;21:00000040;metype:1;mecount:2;medata:1;medata:38;memory:0x16aeb10e0=7011eb6a0100000020a0960501000000;memory:0x16aeb1170=9012eb6a010000008097960501000000;
    hit maximum number of consecutive signals, stopping
    Ausführung beendet.

    Best, Arne

    #19438

    Günther
    Felgo Team

    Hi,

    I am unable to reproduce a crash with the above code. Which devices are you testing on?

    You can also send over a minimum runnable sample project, which produces the crash for you, to support@felgo.com. We can have closer look then.

    Best,
    Günther

    #19439

    Arne

    Hi Günther,

    I test on an iPhone 8.

    Best, Arne

    #19442

    Günther
    Felgo Team

    I see, I tested on both iOS and Android without a crash happening – so can you send over small example project which crashes for you?

    In case some certain steps are required for the crash to happen, please also let us know.

    Cheers,
    Günther

Viewing 7 posts - 1 through 7 (of 7 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support