Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.5.7, 6.7.3, 6.7, 6.8.0 Beta2, 6.9.0 FF
-
6.5, 6.6, 6.7
-
Ubuntu 22.04
-
21a070052 (dev), 4b7ad06dc (6.8), e2be39240 (6.7), aa0ef6e3d (tqtc/lts-6.5)
Description
As summary. Looking at qtdeclarative/src/quickcontrols/fusion/MenuItem.qml, the menu text colour uses "control.palette.text". On 6.4 this is "#bebebe" in the disabled state, but in 6.5 it's "#000000", i.e. the same as the active state. This is presumably something to do with the colours being derived from the GTK theme in 6.5+? I haven't checked styles other than Fusion but I would imagine they use the same palette colour.
6.4.3:
6.5.3:
import QtQuick import QtQuick.Controls ApplicationWindow { width: 640 height: 480 visible: true title: qsTr("Hello World") menuBar: MenuBar { Menu { title: "Menu" MenuItem { text: "Item" } MenuItem { text: "Disabled Item"; enabled: false } MenuItem { text: "Item 2" } } } }
Attachments
Issue Links
- relates to
-
QTBUG-112879 [QT6.5] gtk3 theme glitches when moving the window
-
- Closed
-
-
QTBUG-120139 GTK derived palette regression in 6.6.1
-
- Closed
-
For Gerrit Dashboard: QTBUG-123449 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
572021,5 | Gtk3 Theme: Fix disabled colors for texts | dev | qt/qtbase | Status: MERGED | +2 | 0 |
573675,2 | Gtk3 Theme: Fix disabled colors for texts | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
573723,2 | Gtk3 Theme: Fix disabled colors for texts | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |
574350,2 | Gtk3 Theme: Fix disabled colors for texts | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |