General applet test-case: Color change
Jamboarder
jamboarder at yahoo.com
Sun Dec 28 18:14:45 CET 2008
> From: Petri Damstén <petri.damsten at gmail.com>
> On Sunday 28 December 2008 13:28:49 Marco Martin wrote:
> > > > - System Monitor: graphs
> > >
> > > Currently hard coded. Not sure where to get good
> colors for these?
> >
> > plasma background and text color, with ad added quite
> hight amount of
> > alpha?
>
> cpu & temp use now text color for graph (They were
> using Qt::White so Oxygen
> should look like it was). Yellow and red for net graph seem
> to be already
> generated from TextColor (If it's dark or bright
> color). Maybe a bit dark on
> light backgrounds, feel free to tweak colors if needed. So
> there should be no
> hard coded colors anymore and all colors should change on
> theme change.
Try testing this as well:
- Select Aya theme (use latest version if possible)
- Change color from System Settings > Colors
- check applets to make sure colors are correctly updated.
The above was the test case the original report was for, so if it works for with your changes then great. :-)
Hope this helps,
Andrew
P.S. Depending on the applet, this test case may not quite be the same code path as for the theme change test case: If text/other colors are assigned outside of a paint event (or perhaps an explicit themeChanged slot) then the color may not get updated on a Colors kcm change.
More information about the Plasma-devel
mailing list