Crash with Python scripting
Simon Edwards
simon at simonzone.com
Tue Jan 20 23:34:26 CET 2009
Hi,
Luca Beltrame wrote:
> while experimenting with the layout options provided by Plasma, I managed to
> get a reliable crash, 100% of the time. It seems that using a
> QGraphicsGridLayout causes a crash right when adding items.
>
> After further investigation, the problem arises when I exceed the size set in
> self.resize(). In my program, self.resize(125,125) is apparently too little
> for a Plasma.LineEdit and a Plasma.Label. And as a matter of fact, I reliably
> obtain the crash if I shrink the applet.
It looks like the label is being destroyed too early (read: bug). Assign
label to self.label as a workaround in the meantime.
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
simon at simonzone.com | http://www.simonzone.com/software/
Nijmegen, The Netherlands | "ZooTV? You made the right choice."
More information about the Plasma-devel
mailing list