Containments, Layouts [destroy() BUG?]

Oszkar Ambrus oszkar.ambrus at deri.org
Fri May 30 17:21:40 CEST 2008


Oszkar Ambrus wrote:
> Aaron J. Seigo wrote:
>   
>> On Monday 26 May 2008, Oszkar Ambrus wrote:
>>   
>>     
>>> But now I might have found a bug: I have some context menus for my
>>> applets, by which they can be removed.
>>> I connected the triggered signal to the applet's destroy slot. If I
>>> remove two applets on after the other, then the application crashes. If
>>> I wait for a few seconds, that everything's ok.
>>> Is there an explanation for this?
>>>     
>>>       
>> hm.. that sounds odd indeed. can you provide a backtrace?
>>
>>   
>>     
> Well never mind this, because it works in today's Plasma :)
> I've been using last Thursday's version.
>   
This error has reappeared lately.
Sometimes it occurs even on the first element removed, but usually on 
the second.
And I can't provide a backtrace, because it doesn't crash, it just hangs.

Is this an Applet problem? I've seen that appletAnimationComplete() is 
only called when animationFinished() is emitted.
But in my case the removed applet doesn't disappear entirely, it just 
shrinks, and then my application freezes.

Any suggestions?

Thanks,
Oszkar


More information about the Panel-devel mailing list