Re: on Activities on Plasma2

2013-10-30 Thread Ivan Čukić
* the activity manager daemon creates the activity, associeting the template identifier in the activity metadata (and doing operations that's probably better be done by the daemon, like starting/stopping applications) I've kept the reply window open for a day now to have the time to think and

Re: on Activities on Plasma2

2013-10-30 Thread Aaron J. Seigo
On Wednesday, October 30, 2013 16:08:04 Ivan Čukić wrote: I don't have an issue with kamd providing the template information, but I don't like the idea of it having to actually deal with the template handling. If plasma is creating containments based on the template, some other part of the

Re: on Activities on Plasma2

2013-10-30 Thread Marco Martin
On Wed, Oct 30, 2013 at 4:08 PM, Ivan Čukić ivan.cu...@kde.org wrote: I don't have an issue with kamd providing the template information, but I don't like the idea of it having to actually deal with the template handling. If plasma is creating containments based on the template, some other

Re: on Activities on Plasma2

2013-10-30 Thread Ivan Čukić
Aaron: for instance, if we have a “Presentation Mode” activity template, PowerDevil could have settings in the template that are appropriate for presentations (turn off screen sleep), kscreen could set up multiple screens in a presentation mode (e.g. not clone), and the desktop shell can put

Re: on Activities on Plasma2

2013-10-30 Thread Ivan Čukić
p.s. We will need more meta-data than templates. - bookMarkoed (no idea what was that about :) :P) - currently opened resurces belonging to activity - ... -- Make your code readable. Pretend the next person who looks at your code is a psychopath and they know where you live. -- Philip

Re: on Activities on Plasma2

2013-10-30 Thread Marco Martin
On Wed, Oct 30, 2013 at 4:55 PM, Ivan Čukić ivan.cu...@kde.org wrote: p.s. We will need more meta-data than templates. - bookMarkoed (no idea what was that about :) :P) just in brief since is partly OT: I wanted to try to do a version of activitybar that only listed activities that are

Bookmarked activities (OT: Activities on Plasma2)

2013-10-30 Thread Ivan Čukić
I wanted to try to do a version of activitybar that only listed activities that are bookmarked in some way, to make it a bit more useful (right now if you have more than 3-4 activities, activitybar becomes quite useless) not sure if it will be a good paradigm or not.. wanted to discuss before

Re: Bookmarked activities (OT: Activities on Plasma2)

2013-10-30 Thread Bhushan Shah
Hello, I think there should be some option in current activitybar applet which allows to select which activities to show? P.S. If you will kill activitybar, my first KDE/Plasma contribution (Porting activitybar to QML) will never go public! :'( Thanks! On Wed, Oct 30, 2013 at 9:55 PM, Ivan

Re: on Activities on Plasma2

2013-10-30 Thread Aaron J. Seigo
On Wednesday, October 30, 2013 16:53:02 Ivan Čukić wrote: Aaron: for instance, if we have a “Presentation Mode” activity template, PowerDevil could have settings in the template that are appropriate for presentations (turn off screen sleep), kscreen could set up multiple screens in a

Re: Bookmarked activities (OT: Activities on Plasma2)

2013-10-30 Thread Aaron J. Seigo
On Wednesday, October 30, 2013 17:25:34 Ivan Čukić wrote: Other than that, I don't see much of a purpose of activity starting/stopping. (i don't use session stuff, memory usage was a side-effect of the plasma's design to load all the activities in memory... imo, it would be better to load on

on Activities on Plasma2

2013-10-29 Thread Marco Martin
Hi all, so, activities are getting back in plasma2, and thanks to Ivan, the api of the client library is getting better as well. So, waht we can do at the moment with it? we can switch activities, start/stop them, basic stuff, not all is 100% back but we can start from there This gives us the

Re: Activities in Plasma2

2013-10-21 Thread Marco Martin
On Friday 18 October 2013, Ivan Čukić wrote: Hi, The new library API is done, needs yet to be merged into fr-sc branch. I haven't changed the service API, and I don't plan to do so for the time being (the big changes already happened in 4.x). I'm writing a few tests to commit before the

Re: Activities in Plasma2

2013-10-21 Thread Aaron J. Seigo
On Monday, October 21, 2013 08:11:05 Damian Ivanov wrote: And please make it possible to deactivate all usage of activities in already been discussed years ago. it won’t be made optional. the benefit to the people who would take advantage of this is outweighed by the cost in maintenance and

Re: Activities in Plasma2

2013-10-18 Thread Marco Martin
On Fri, Oct 18, 2013 at 2:35 PM, Marco Martin notm...@gmail.com wrote: Hi all, I now have in the branch mart/useActivities of plasma-framework a port of the shell for activity usage. It means that now as in plasma1 the desktop containment depends from the current activity (we also have a

Re: Activities in Plasma2

2013-10-18 Thread Ivan Čukić
Hi, The new library API is done, needs yet to be merged into fr-sc branch. I haven't changed the service API, and I don't plan to do so for the time being (the big changes already happened in 4.x). I'm writing a few tests to commit before the merge. As for the branch, we could say that