Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
6.7
-
None
-
-
dd72694b6046d98a64bd99361ed9cb4613af78f8
Description
Since https://invent.kde.org/qt/qt/qtdeclarative/-/commit/dd72694b6046d98a64bd99361ed9cb4613af78f8 , the following QML code will cause infinite polish loop.
import QtQuick import QtQuick.Layouts import QtQuick.Controls as QQC2 Window { id: root width: 16 * 29 height: 16 * 35 visible: true ColumnLayout { spacing: 0 QQC2.ComboBox { id: modeSwitcher Layout.minimumWidth: 16 * 17 currentIndex: 0 model: ["Always off"] } GridLayout { columns: 2 QQC2.Label { // Match combobox width Layout.minimumWidth: modeSwitcher.width text: "Current temperature: " } QQC2.Label { text: `100K` textFormat: Text.PlainText } } } }
Attachments
Issue Links
- relates to
-
QTBUG-116634 Add functionality to help to identify causes of polish loops
- Reported
-
QTBUG-126740 found the simplest way yet to create an infinite polish loop
- Reported
-
QTBUG-126474 QQuickLayout Recursive Rearrange Locks Application
- Closed
- resulted from
-
QTBUG-117597 Add sensible defaults for layout properties to Qt Quick Controls
- Closed