Cannot remove scripted plasmoid

Aaron J. Seigo aseigo at kde.org
Wed Jun 10 18:06:16 CEST 2009


On Wednesday 10 June 2009, Petri Damstén wrote:
> Seems that this is because mainConfig is created without containment:
> plasma-desktop(1574)/libplasma Plasma::AppletPrivate::mainConfigGroup:
> requesting config for "Now Rocking" without a containment!

which probably means that config() is being called during the applet ctor 
somewhere. this is obviously wrong an it would be good to track down where 
this is happening, e.g. by running now rocking in plasmoidviewer in gdb with a 
breakpoint set on that debug message in Applet::Private::config()

we should still catch such mistakes gracefully, however. does the attached 
patch help?



-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software

-------------- next part --------------
A non-text attachment was scrubbed...
Name: applet_fix_config_called_too_early.diff
Type: text/x-patch
Size: 1474 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090610/9d67febf/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090610/9d67febf/attachment.sig 


More information about the Plasma-devel mailing list