Re: Crash with Python scripting

2009-01-20 Thread Luca Beltrame
On Tuesday 20 January 2009 23:34:26 Simon Edwards wrote: > It looks like the label is being destroyed too early (read: bug). Assign > label to self.label as a workaround in the meantime. Actually, if I explicitly call self.setLayout(self.layout), I don't have any more crashes. It's odd because w

Re: Crash with Python scripting

2009-01-20 Thread Simon Edwards
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 excee

Crash with Python scripting

2009-01-18 Thread Luca Beltrame
Hello, 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.res