Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.4.1
-
None
Description
Create a Qt application with some disabled QPushButtons. Run the application within a KDE 3.5.9 desktop.
"Grayed out" ButtonText on the disabled buttons is expected, but instead, the button text for all buttons remains the same, regardless of enable/disable status. ButtonText color for both Active and Disabled groups are identical.
KDE 3 color palettes provide a single buttonForeground color. qt_set_x11_resources() uses this color to set the palette, but it is being set for all color groups, not just the active, at qapplication_x11.cpp:1148. Instead, QApplication should calculate a separate color for the Disabled group.