Containments, Layouts [destroy() BUG?]

Oszkar Ambrus oszkar.ambrus at deri.org
Fri May 30 19:23:48 CEST 2008


Oszkar Ambrus wrote:
> 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?
>
>   
Sorry for posting this in two emails.
The application hangs in graphicsview/qgraphicswidget_p.cpp in 
fixFocusChainBeforeReparenting() in the while loop.
Does it mean I didn't set the parents as I should have?
> Thanks,
> Oszkar_______________________________________________
> Panel-devel mailing list
> Panel-devel at kde.org
> https://mail.kde.org/mailman/listinfo/panel-devel
>
>   


More information about the Panel-devel mailing list