Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8.2, 6.9.0
-
None
Description
1) Boot a Fedora 41 Live ISO
2) Enable "Dark Style"
3) Start a Qt 6 application with QT_LOGGING_RULES='qt.qpa.gtk=true'
qt.qpa.gtk: Color map populated from defaults. qt.qpa.gtk: GTK theme initialized: "Adwaita" Qt::ColorScheme::Light qt.qpa.gtk: Creating palette: "SystemPalette" qt.qpa.gtk: System Palette defined "Adwaita" Qt::ColorScheme::Light QPalette(resolve=0x74ffffa7fffd3fff,"WindowText:[Active:#ff000000,Disabled:#ff7d7c7c,Inactive:#ff929595|#ff000000,Disabled:#ff7d7c7c,Inactive:#ff929595],Button:[Active:#fffaf9f8,Disabled:#fffaf9f8,Inactive:#fffaf9f8|#fffaf9f8,Disabled:#fffaf9f8,Inactive:#fffaf9f8],Light:[Active:#ffffffff,Disabled:#ffffffff,Inactive:#ffffffff|#ffffffff,Disabled:#ffffffff,Inactive:#ffffffff],Midlight:[Active:#ffffffff,Disabled:#ffffffff,Inactive:#ffffffff|#ffffffff,Disabled:#ffffffff,Inactive:#ffffffff],Dark:[Active:#ffdbdada,Disabled:#ffdbdada,Inactive:#ffdbdada|#ffdbdada,Disabled:#ffdbdada,Inactive:#ffdbdada],Mid:[Active:#ffffffff,Disabled:#ffffffff,Inactive:#ffffffff|#ffffffff,Disabled:#ffffffff,Inactive:#ffffffff],Text:[Active:#ff000000,Disabled:#ff7d7c7c,Inactive:#ff000000|#ff000000,Disabled:#ff7d7c7c,Inactive:#ff000000],BrightText:[Active:#ffffffff,Disabled:#ffffffff,Inactive:#ffffffff|#ffffffff,Disabled:#ffffffff,Inactive:#ffffffff],ButtonText:[Active:#ff000000,Disabled:#ff7d7c7c,Inactive:#ff000000|#ff000000,Disabled:#ff7d7c7c,Inactive:#ff000000],Base:[Active:#fffaf9f8,Disabled:#fffaf9f8,Inactive:#fffaf9f8|#fffaf9f8,Disabled:#fffaf9f8,Inactive:#fffaf9f8],Window:[Active:#fffaf9f8,Disabled:#fffaf9f8,Inactive:#fffaf9f8|#fffaf9f8,Disabled:#fffaf9f8,Inactive:#fffaf9f8],Shadow:[Active:#ff0c0c0c,Disabled:#ff0c0c0c,Inactive:#ff0c0c0c|#ff0c0c0c,Disabled:#ff0c0c0c,Inactive:#ff0c0c0c],Highlight:[Active:#ff3584e4,Disabled:#ff3584e4,Inactive:#ff3584e4|#ff3584e4,Disabled:#ff3584e4,Inactive:#ff3584e4],HighlightedText:[Active:#ffffffff,Disabled:#ff000000,Inactive:#ffffffff|#ffffffff,Disabled:#ff000000,Inactive:#ffffffff],AlternateBase:[Active:#ffeae9e8,Disabled:#ffeae9e8,Inactive:#ffeae9e8|#ffeae9e8,Disabled:#ffeae9e8,Inactive:#ffeae9e8],ToolTipBase:[Active:#ffffffdc,Disabled:#ffffffdc,Inactive:#ffffffdc|#ffffffdc,Disabled:#ffffffdc,Inactive:#ffffffdc],ToolTipText:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000|#ff000000,Disabled:#ff000000,Inactive:#ff000000],PlaceholderText:[Active:#ff646464,Disabled:#ff646464,Inactive:#ff646464|#ff646464,Disabled:#ff646464,Inactive:#ff646464]") ... qt.qpa.gtk: GTK theme changed to: "Adwaita" Qt::ColorScheme::Dark qt.qpa.gtk: Creating palette: "SystemPalette" qt.qpa.gtk: System Palette defined "Adwaita" Qt::ColorScheme::Dark QPalette(resolve=0x74ffffa7fffd3fff,"WindowText:[Active:#ff000000,Disabled:#ff7d7c7c,Inactive:#ff929595|#ff000000,Disabled:#ff7d7c7c,Inactive:#ff929595],Button:[Active:#fffaf9f8,Disabled:#fffaf9f8,Inactive:#fffaf9f8|#fffaf9f8,Disabled:#fffaf9f8,Inactive:#fffaf9f8],Light:[Active:#ffffffff,Disabled:#ffffffff,Inactive:#ffffffff|#ffffffff,Disabled:#ffffffff,Inactive:#ffffffff],Midlight:[Active:#ffffffff,Disabled:#ffffffff,Inactive:#ffffffff|#ffffffff,Disabled:#ffffffff,Inactive:#ffffffff],Dark:[Active:#ffdbdada,Disabled:#ffdbdada,Inactive:#ffdbdada|#ffdbdada,Disabled:#ffdbdada,Inactive:#ffdbdada],Mid:[Active:#ffffffff,Disabled:#ffffffff,Inactive:#ffffffff|#ffffffff,Disabled:#ffffffff,Inactive:#ffffffff],Text:[Active:#ff000000,Disabled:#ff7d7c7c,Inactive:#ff000000|#ff000000,Disabled:#ff7d7c7c,Inactive:#ff000000],BrightText:[Active:#ffffffff,Disabled:#ffffffff,Inactive:#ffffffff|#ffffffff,Disabled:#ffffffff,Inactive:#ffffffff],ButtonText:[Active:#ff000000,Disabled:#ff7d7c7c,Inactive:#ff000000|#ff000000,Disabled:#ff7d7c7c,Inactive:#ff000000],Base:[Active:#fffaf9f8,Disabled:#fffaf9f8,Inactive:#fffaf9f8|#fffaf9f8,Disabled:#fffaf9f8,Inactive:#fffaf9f8],Window:[Active:#fffaf9f8,Disabled:#fffaf9f8,Inactive:#fffaf9f8|#fffaf9f8,Disabled:#fffaf9f8,Inactive:#fffaf9f8],Shadow:[Active:#ff0c0c0c,Disabled:#ff0c0c0c,Inactive:#ff0c0c0c|#ff0c0c0c,Disabled:#ff0c0c0c,Inactive:#ff0c0c0c],Highlight:[Active:#ff3584e4,Disabled:#ff3584e4,Inactive:#ff3584e4|#ff3584e4,Disabled:#ff3584e4,Inactive:#ff3584e4],HighlightedText:[Active:#ffffffff,Disabled:#ff000000,Inactive:#ffffffff|#ffffffff,Disabled:#ff000000,Inactive:#ffffffff],AlternateBase:[Active:#ffeae9e8,Disabled:#ffeae9e8,Inactive:#ffeae9e8|#ffeae9e8,Disabled:#ffeae9e8,Inactive:#ffeae9e8],ToolTipBase:[Active:#ffffffdc,Disabled:#ffffffdc,Inactive:#ffffffdc|#ffffffdc,Disabled:#ffffffdc,Inactive:#ffffffdc],ToolTipText:[Active:#ff000000,Disabled:#ff000000,Inactive:#ff000000|#ff000000,Disabled:#ff000000,Inactive:#ff000000],PlaceholderText:[Active:#00000000,Disabled:#00000000,Inactive:#00000000|#00000000,Disabled:#00000000,Inactive:#00000000]")
An application that uses QGuiApplication::styleHints()->colorScheme() at startup gets a response of Qt::ColorScheme::Light
Also seen on Gentoo Linux with Qt 6.9.0.