I have a scenario where I use a GridView with a delegate Button component with a custom background property. Once I run the application and scroll through the grid I receive several errors in my output and an equivalent number of blank spaces in the grid itself. As soon as I remove my custom background, everything works great. This occurs on both desktop and embedded builds.
The error output is: <Unknown File>: QML VisualDataModel: Error creating delegate
The main.qml code is as follows:
I also see the same problem when I use a ListView
|For Gerrit Dashboard: QTBUG-52096|
|161723,2||WIP: Ugly workaround for "Object destroyed during incubation" issues||5.7||qt/qtquickcontrols2||Status: ABANDONED||-2||0|
|162519,3||WIP: Cancel incubation of replaced delegates||5.7||qt/qtquickcontrols2||Status: DEFERRED||-2||0|
|162520,3||WIP: Allow canceling incubation||5.7||qt/qtdeclarative||Status: ABANDONED||-2||0|