QQuickLoader: do not incubate if the source arrives after setActive(false)
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Fri, 1 Jul 2022 20:08:41 +0000 (21:08 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Fri, 1 Jul 2022 20:08:41 +0000 (21:08 +0100)
commitea1dc79de5c2b36c9764c5558c3c47814715fbc6
tree38feb698267399beab0d22f6781579bf27d04386
parent7f7f1d3e98dd8adc5c61122d324d8d16c779577f
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