Containments, Layouts [destroy() BUG?]
Oszkar Ambrus
oszkar.ambrus at deri.org
Thu Jun 5 19:14:17 CEST 2008
>>>>> 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?
>>>>>
>>>>>
>> 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?
>
It turns out, I'd added a Label to the Applet object outside of any
Layout. After removing that everything works fine.
>> Thanks,
>> Oszkar_______________________________________________
>> Panel-devel mailing list
>> Panel-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/panel-devel
>>
>>
>>
> _______________________________________________
> 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