Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.5.0
-
None
-
Qt 5.5.0 - MinGW
Description
An example as simple as the following generates a warning for a binding loop on fill:
import QtQuick 2.4 import QtQuick.Controls 1.3 ApplicationWindow { title: "test window" width: 500 height: 500 visible: true TextArea { wrapMode: TextEdit.NoWrap } }
The exact warning is:
[..]/mingw492_32/qml/QtQuick/Controls/ScrollView.qml:340:13: QML Item: Possible anchor loop detected on fill.
Setting width/height does not improve the result (as well as setting anchors). It seems that everything is related to the value "TextEdit.NoWrap" since by removing it the warning simply disappears.
A possible workaround is to set the "wrapMode" property in the "Component.onCompleted" handler.