Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
5.12.2
Description
If defines id name is "row" as following, it will ignore thus rendering incorrectly.
import QtQuick 2.11 import QtQuick.Window 2.11 Window { visible: true width: 640 height: 480 title: qsTr("Hello World") Row { id: row x: 10 y: 80 spacing: 5 Repeater { model: 4 Rectangle { color: "red"; width: row.x; height: row.x } } } }
Qt 5.11 works expected, but 5.12 won't. Also if id name is different like "row2", it works as expected. Please check attached sample. It seems "row" is reserved word.
Attachments
Issue Links
- is duplicated by
-
QTBUG-70031 [5.12 QML REG] Can no longer access items named 'column' from inside a Repeater
- Closed