<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-7">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="+1"><font face="Arial">Hello everyone,<br>
<br>
I am developing a plasmoid called Workflow, the project's
webpage can be found here:<br>
<a class="moz-txt-link-freetext" href="http://opentoolsandspace.org/en/projects/development/plasmoid-workflow">http://opentoolsandspace.org/en/projects/development/plasmoid-workflow</a><br>
<br>
I'd love to have your feedback, as I have a deadline in my head
for the first version<br>
mid-of September. The pieces are starting to get into place,
it's almost usable right now<br>
but until now I have faced the following issues, I am developing
it in KDE 4.8.4 at opensuse<br>
<br>
1) I am using the following code to remove an activity:<br>
<br>
void ActivityManager::remove(QString id) {<br>
ActivityManager::stop(id);<br>
<br>
Plasma::Service *service =
plasmaActEngine->serviceForSource(id);<br>
KConfigGroup op =
service->operationDescription("remove");<br>
op.writeEntry("Id", id);<br>
Plasma::ServiceJob *job =
service->startOperationCall(op);<br>
connect(job, SIGNAL(finished(KJob*)), service,
SLOT(deleteLater()));<br>
<br>
}<br>
<br>
plasmaActEngine is org.kde.activities,<br>
the behavior is that the activity is not removed from the
dataengine, there is a ghost activity<br>
in the dataengine that doesnt have some fields, name, icon
etc...<br>
In order for someone to delete it completely the user must use
the ActivityManager or make<br>
a logout/login<br>
<br>
2) The plasmoid is developed as a PopupApplet in order to be
able to be placed in a panel,<br>
I have tried many things but I can not restore the plasmoid in
its previous used size after a logout/login,<br>
the popupapplet changes the DialogWidth,DialogHeight properties
correctly in the plasmoids settings<br>
but after a logout/login the plasmoid remains in its default
size.<br>
<br>
3) I have tried to find a way to clone an activity through the
plasmoid but I did not have any success.<br>
I have seen that the ActivitiesEngine, in plasma/desktop/shell,
is using class PlasmaApp for most of the<br>
operations and not the dataengine, Is there a way to use
PlasmaApp also? or in the future cloning an activity<br>
is going to be supported through the dataengine?<br>
<br>
Thanks a lot everyone,<br>
Michail<br>
</font></font>
</body>
</html>