• Andrew den Exter's avatar
    [qtdeclarative] Fix crash due to an interaction between an item layer and anchors. Fixes JB#44681 · dcf3fbd9
    Andrew den Exter authored
    Evaluating anchors in QQuickItem::componentComplete() will change size
    and position bindings and the right code reacting to those changes could
    create a layer after QQuickItemPrivate::completeCreate is set to true
    which means QQuickItemLayer::classBegin() would not be called, but
    QQuickItemLayer::componentComplete() would be meaning
    QQuickItemLayer::activate() would be called twice and it would be added
    as an item change listener twice. If the layer was then ever deactivated
    it would only be removed as a listener once and changes to the parent
    size would update the layers size when it wasn't expecting it.
    dcf3fbd9
Name
Last commit
Last update
bin Loading commit data...
dist Loading commit data...
examples Loading commit data...
rpm Loading commit data...
src Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.qmake.conf Loading commit data...
.tag Loading commit data...
LGPL_EXCEPTION.txt Loading commit data...
LICENSE.FDL Loading commit data...
LICENSE.GPLv3 Loading commit data...
LICENSE.LGPLv21 Loading commit data...
LICENSE.LGPLv3 Loading commit data...
qtdeclarative.pro Loading commit data...
sync.profile Loading commit data...