Version: (using Devel) OS: Linux Installed from: Compiled sources The python bindings have a bug which prevents Containments to be returned from the engine. Moreover if the scripted Applet is a containment it never reaches Applet::init() which calls AppletPrivate::setupScriptSupport(). I will provide a couple of patches for you to review.
Created attachment 40946 [details] sip file patch
Created attachment 40947 [details] calls Applet::init()
I did not mark it as a wish because I feel the scripting support for containers is mostly done, but bugs (in plasma and kdebindings) prevent it from working. Of course this bug also implies the whish of better scripting support, but filing some bugs and a wish did not make sense to me. [OT maybe bugzilla could benefit from a directory/subdirectory or tagging mechanism?] Anyhow, did anyone test the patches yet?
reviewboard.kde.org or the plasma mailing list are better to submit patches.
The patch got approved by aseigo: I will commit it later.
On Friday 12 March 2010 01:10:24 pm Vincenzo Di Massa wrote: > https://bugs.kde.org/show_bug.cgi?id=227767 > > > Vincenzo Di Massa <hawk.it@tiscali.it> changed: > > What |Removed |Added > --------------------------------------------------------------------------- > - Status|UNCONFIRMED |RESOLVED > Resolution| |LATER > > > > > --- Comment #5 from Vincenzo Di Massa <hawk it tiscali it> 2010-03-12 > 14:10:19 --- The patch got approved by aseigo: I will commit it later. I've already added the change to Containment::init() the other week.. -- Richard