[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: activities dataengine
From:       Chani <chanika () gmail ! com>
Date:       2010-10-28 17:25:15
Message-ID: 201010281925.23164.chanika () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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

["signature.asc" (application/pgp-signature)]

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic