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

List:       kde-panel-devel
Subject:    Re: Hello... WorkFlow Plasmoid
From:       Marco Martin <notmart () gmail ! com>
Date:       2012-06-22 16:33:45
Message-ID: 201206221833.46125.notmart () gmail ! com
[Download RAW message or body]

On Friday 22 June 2012, Ivan Čukić wrote:
> > i seen this problem in the past.
> > seems that to be correctly deleted the deletion should happen at least an
> > event loop after the stop. (like being done by a slot connected with a
> > timer with 0 timeout).
> > 
> > if this is still the case in master is worth investigating why this
> > happens.
> 
> Ok, as I said in the last mail, (repeating just for the sake of
> records) I'd go for using libkactivities for this, and not the data
> engine.
> 
> IMO, the data engine shouldn't have any service related to the
> management of activities - I don't think that a regular plasmoid has
> to do anything in that area - we have even separated the API in two
> classes for that sole reason - KActivities::Consumer and
> KActivities::Controller. Marco, does this exist because of Active?

yeah, the activity switcher in active is pure qml (not even a plasmoid) so 
needs bindings for that.
there could be a binded qobject instead of passing trough a service, but it 
wouldn't change that much in the end, still the same code path

Cheers,
Marco Martin
_______________________________________________
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