QQuickLoader: do not incubate if the source arrives after setActive(false)
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Thu, 29 Sep 2022 08:39:46 +0000 (09:39 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Thu, 29 Sep 2022 08:39:46 +0000 (09:39 +0100)
commitabb84abcd000343db91adbac6689397b1e86efea
tree494c5fde84a0e61666bf4ea0200cfb99dcdb822c
parent6a26ffd937e40ec91d01947bb6134408d8729bb7
QQuickLoader: do not incubate if the source arrives after setActive(false)

Origin: upstream, https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=e78c068700fa74ab
Last-Update: 2022-07-01

Otherwise we end up in the crazy place of active being false but item
being non-null and forces us to workaround within the apps.

Gbp-Pq: Name QQuickLoader-Do-not-incubate-if-the-source-arrives-a.patch
src/quick/items/qquickloader.cpp
tests/auto/quick/qquickloader/data/loader-async-race-rect.qml [new file with mode: 0644]
tests/auto/quick/qquickloader/data/loader-async-race.qml [new file with mode: 0644]
tests/auto/quick/qquickloader/tst_qquickloader.cpp