PanelSvg not reacting to themechanged()

Jamboarder jamboarder at yahoo.com
Sun May 18 19:36:58 CEST 2008


--- Marco Martin <notmart at gmail.com> wrote:
> hmm, i kinda see the problem, but looking at the
> code it seems that it should 
> present only with themes that has multiple prefixes
> in them.
> when the theme changes svg emits a repaintneeded
> and panelsvg is connected to that with updateSizes,
> that deletes only the 
> cache of the local element, so calling clearcache on
> themeupdated seems 
> right, but emeitting another repaintneeded shouldn't
> be necessary uhmm..

Quick question: Why does PanelSvg cache the pixmap
data in the panels PanelData object even though
Plasma:Svg is already uses a QPixmapCache?

I'm thinking that the problem lies somewhere in here. 
But, I've tried several different ways of trying to
clear this separate cache and I can't seem to get it
sorted out.

Hope this helps,
Andrew (Jamboarder) Lake



More information about the Panel-devel mailing list