activities dataengine
Chani
chanika at gmail.com
Thu Oct 28 19:25:15 CEST 2010
On October 28, 2010 17:34:53 Marco Martin wrote:
> On Thursday 28 October 2010, Chani wrote:
> > I've been hacking on a dataengine for activities the last couple of
> > evenings.
> >
> > the original plan was to have it encapsulate the ugly hack that the
> > activitybar plasmoid and activityswitch mouseaction now contain - using
> > real activities for plasma-desktop and faking them with containments for
> > plasma- netbook.
> >
> > however, since dataengines apparently don't have access to the corona...
> > the only way I see for the engine to get that itself is to grab it from
> > netbook's PlasmaApp (cast from qApp), which means linking to
> > plasma-netbook (right?)
>
> meh, yeah...
> the problem is.. shells that aren't plasma netbook
> Plasma-mobile and possibly mediacenter :/
yes, I'm not sure how they would expect the ActivityBar to behave - if they
use it, that is.
>
> > 5) convince notmart that using the Activity service is worthwhile ;)
>
> problem is.. would be code that would have to be copied into plasmanetbook
> (well all needed bits can be moved to plasmageericshell...) and
> plasma-mobile (that won't never ever link to plasmagenericshell)
a bit of code copied and it'd make it easier to sync things up. :)
and ivan's cleaned up some of the code recently, even...
hrm, the only thing that could be tricky is deciding on proper behaviour if
someone switches back&forth between the two shells *and* changes activities a
lot - my overzealous migration code in plasma-desktop would respawn any
activities deleted while in plasma-netbook.
...it probably just shouldn't *do* that. :P all I need is a way to check that
the activitymanager is actually sane before deciding to delete things it says
should've been deleted.
--
Chani
http://chani.ca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20101028/83d0ed61/attachment.sig
More information about the Plasma-devel
mailing list