diff options
author | Santhosh Kumar <santhosh.kumar.selvaraj@qt.io> | 2024-06-04 21:20:19 +0200 |
---|---|---|
committer | Santhosh Kumar <santhosh.kumar.selvaraj@qt.io> | 2024-06-19 11:08:30 +0200 |
commit | 49f7eabeac959fb448482bd0a7ebb1b774bc5bcb (patch) | |
tree | f585ceb0235068412d3b569342bfaffc52d068d6 /tests/auto/qml/qqmlxmlhttprequest/tst_qqmlxmlhttprequest.cpp | |
parent | c9938ae89115ec61d5bebc5c44c3b7b73f8116aa (diff) |
The patch 3fa4719789921ff8be440ec760d8b9ab569758eb skip geometry change
of layout items when it has already been invalidated. This can cause
problems when we have nested layouts, as the dirty flag set in the
child layout during invalidate blocks further rearranging its items
(i.e. setting geometry to its items).
This patch fixes it by allowing rearrange when the parent item is a
layout by itself. For other cases (i.e. not the nested layout), the
child layout schedules the polish, and this polish takes care of
further rearranging its items.
Fixes: QTBUG-125481
Pick-to: 6.8 6.7
Change-Id: I86c5b584e27fbe71b3e740fe7b3fdb0f3ac7ae14
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlxmlhttprequest/tst_qqmlxmlhttprequest.cpp')
0 files changed, 0 insertions, 0 deletions