Strangely, even this makes it work as expected qDebug() << qapp.style(); qDebug() << qapp.palette().color(QPalette::Normal, QPalette::ButtonText) << qapp.palette().color(QPalette::Disabled, QPalette::ButtonText); QPalette palette(qapp.palette().color(QPalette::Button)); qapp.setPalette(palette); qDebug() << qapp.palette().color(QPalette::Normal, QPalette::ButtonText) << qapp.palette().color(QPalette::Disabled, QPalette::ButtonText);
But the output at the terminal is: Breeze::Style(0x865d40, name = "breeze") QColor(ARGB 1, 0.192157, 0.211765, 0.231373) QColor(ARGB 1, 0.192157, 0.211765, 0.231373) QColor(ARGB 1, 0, 0, 0) QColor(ARGB 1, 0.46862, 0.470573, 0.472541) Im not sure where the real problem. I can only imagine that wherever pure Qt apps read the palette information is not properly setup. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1430767 Title: Widgets that are disabled do not render themselves in the faded state To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/breeze-qt4/+bug/1430767/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
