Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
5.8.0
-
None
-
Ubuntu 16.04 LTS
Description
We switched from Qt 5.4 to Qt 5.8 and encountered the issue. We had there following layout:
Rectangle { ColumnLayout { anchors.fill: parent spacing: 0 Item { Layout.fillHeight: true } Text { anchors.fill: parent font.pixelSize: 15 color: "white" horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter } Item { Layout.fillHeight: true } } }
This was meant to center the text inside Rectangle. It is the stupidest way to do such thing, nevertheless, it was used. This code caused some infinite loop and application hanged up eating out all of the processor. The issue was easily fixed, but it was quite hard to find. Project to reproduce is in attach.