Skip to content

use again the palette coming from Kirigami.Theme

Marco Martin requested to merge work/mart/usePalettesAgain into kf5

It's supposed to be possible to change "color set" of controls by setting their inherit flag to false, but at some point that got broken in commit 939176f4 as a fix to bug 406295

but this caused bug 465054

bring partially back the palette binding, but for most controls, only when inherit of their attached theme property is true (which is not default) as the application of color is not perfect (this is due to incompatibilities between QPalette api and the horrible KColorScheme api, wonder if it can be corrected in kf6 to play a bit nicer)

checkboxes still not apply the palette, so there is no risk of 406295 happening again and in general by default everything doesn't look with altered colors, but one has to "want" it by setting inherit

BUG:465054

Merge request reports