As fare as I understand is that only qml/plasma mobile apps can use the colorScheme stuff so all qwidget apps are not effected. so if you use a light color scheme you have to use the breeze(leight) icons. qwidget apps can't change the icon collor (sorry)
cu Andreas 2016-02-24 14:41 GMT+01:00 Milian Wolff <[email protected]>: > Hey all, > > I notice that breeze icons now adapt to the selected color scheme - which > is > really awesome! But I also see that they do not properly react on palette > changes. To reproduce, use a bright or dark color scheme, start any app, > then > switch to a dark or bright color scheme. Results look like this then e.g. > for > kmail: > > http://i.snag.gy/CuFt1.jpg > > Any idea how we can update this? I know that there are two Qt events > emitted > when we change the color scheme, i.e. ApplicationPaletteChange and > PaletteChange. Would applications need to react to that and trigger some > kind > of update? How? Afaik the images are cached internally by QIcon (or?). > > While trying to fix a somewhat related bug in KDevelop [1], I also noticed > that KColorScheme returns the same values before and after handling the > PaletteChange event. Do I need to add an event filter on the > ApplicationPaletteChange event? When should creating a new KColorScheme > instance return the updated palette? > > [1]: https://bugs.kde.org/show_bug.cgi?id=358776 > > Thanks > > -- > Milian Wolff > [email protected] > http://milianw.de
