On Thursday 12 September 2013, Aaron J. Seigo wrote: > On Friday, September 6, 2013 11:21:21 Nowardev-Team wrote: > > Hi i was creating\ testing an activity using desktop console > > > > qdbus org.kde.plasma-desktop /MainApplication showInteractiveConsole > > that’s because between the time the scripting controls were put into place > and now the way activities work changed. it is no longer managed by > plasma-desktop but by kactivitymanagerd. this means that creating an > “activity” with the scripting actually just creates a containment (which > plasma-desktop will try to de-orphan into a new activity) ... this can > cause problems. > > for Plasma 2, the scripting needs updating to allow creation of activities > properly as an API separate from the current API which is really for the > creation and management of containments
in plasma1 the binding to activities is in the library, so doesn't have access to the private stuff of the plasma shell, otherwise it should somewhat wrap PlasmaApp::createActivity() Activity *desktopcorona::activity() containment *Activity::containmentforscreen() and *should* be it in plasma2 the scripting support is all in the shell so should be easier -- Marco Martin _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel