Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8
-
None
-
-
f6648c67c (dev), e9cb21dac (6.9), 0612c6d86 (6.8), 68061bec6 (tqtc/lts-6.5)
Description
When opening a Quick Dialog and switching the theme from light to dark mode or vice versa, the dialogButtonBox and the text have wrong colors, making it unreadable.
Reproduces with Fusion style, FluentWinUI3, macOS.
Sample application to reproduce the palette propagation issue:
import QtQuick import QtQuick.Controls import QtQuick.Layouts ApplicationWindow { id: window width: 640 height: 480 visible: true Pane { id: paneControl anchors.fill: parent property Component component: Button { id: button text: "Open popup" onClicked: { popup.open() } Popup { id: popup width: 100 height: 100 contentItem: Button { id: popupButton text: "Im Button" width: 50 height: 50 } } } // Loader { // Palette propagation works perfectly fine here // id: loader // sourceComponent: paneControl.component // } ListView { id: listView anchors.fill: parent spacing: 30 visible: true model: 1 delegate: ColumnLayout { Loader { // Palette propagation doesn't works here id: loader sourceComponent: paneControl.component } } } } }
Attachments
Issue Links
- is required for
-
QTBUG-130030 Consistent support for styling properties in Qt Quick Controls applications
-
- Open
-