-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4.3
-
None
-
c6b401a31 (dev), ce77d45d8 (6.5), 01de6b246 (6.6), e4ba076e4 (dev), 3d7f38140 (6.5), 0822bdf6a (6.6)
Material.theme and Material.accent are not properly propagated to children if set on Item objects. This isn't the case if set on Window or ApplicationWindow.
The following example shows, if Material.theme is set on the Rectangle rather than on the Window the ComboBox Popup isn't affected by the theme colors.
https://stackoverflow.com/questions/76705911/qml-combobox-applying-material-them
import QtQuick import QtQuick.Controls.Material Window { width: 640 height: 480 visible: true title: qsTr("Hello World") Rectangle { id: rectangle anchors.fill: parent color: "#2a2929" border.width: 4 Material.theme: Material.Dark Material.accent: Material.Indigo ComboBox { id: comboBox x: 40 y: 425 model: 5 } } }
- relates to
-
QTBUG-115554 QQuickAttachedPropertyPropagator cannot propagate through popup and window
-
- Closed
-
- resulted in
-
QTBUG-115707 REG: Child popup inherits palette from parent popup rather than its associated window
-
- Closed
-
For Gerrit Dashboard: QTBUG-115322 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
492452,9 | Fix attached property propagation when accessed on QQuickPopupItem | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
493437,2 | Fix attached property propagation when accessed on QQuickPopupItem | 6.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
493438,2 | Fix attached property propagation when accessed on QQuickPopupItem | 6.5 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
493843,10 | Doc: explain popup property propagation | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
499831,2 | Doc: explain popup property propagation | 6.5 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
499832,2 | Doc: explain popup property propagation | 6.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |