Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.4.2, 6.7.0
-
None
-
-
6f7deef6d (dev), 0bd1fa6ce (6.7), 1bc30751d (tqtc/lts-6.5), df267df5a (6.7.1)
Description
Tested in a completely new QtQuick application. For some reason, setting margins to 1 crashes the application on startup with a QList exception for index out of range.
ASSERT failure in QList::at: "index out of range", file C:\Users\qt\work\qt\qtbase\include\QtCore\../../src/corelib/tools/qlist.h, line 423
I attached an example application, where you'll find a layout and comments stating how to have the application not crash on startup. This doesn't seem intended though, how setting anchors.margins to 1 causes this.