Re: Activities protocol

2010-07-19 Thread Marco Martin
On Saturday 17 July 2010, Chani wrote: > hey, I was wondering... have you guys seen this? > http://doc4.mandriva.org/bin/view/labs/New+features+toward+the+task+oriente > d+desktop and > http://doc4.mandriva.org/bin/view/labs/Mandriva_Smart_Desktop_2010-0 > I always wondered: how much of the mandr

Re: Activities protocol

2010-07-17 Thread Chani
hey, I was wondering... have you guys seen this? http://doc4.mandriva.org/bin/view/labs/New+features+toward+the+task+oriented+desktop and http://doc4.mandriva.org/bin/view/labs/Mandriva_Smart_Desktop_2010-0 ___ Plasma-devel mailing list Plasma-devel@kd

Re: Activities protocol

2010-07-14 Thread Ivan Čukić
> only thing that concernes me a bit is that this kind of association in kwin, > and in the kded seems a bit uhm separate This is only temporary > > -- > Marco Martin > ___ > Plasma-devel mailing list > Plasma-devel@kde.org > https://mail.kde.org/mailma

Re: Activities protocol

2010-07-14 Thread Marco Martin
On Wednesday 14 July 2010, Ivan Čukić wrote: > > which is a bit of a design flaw imho. being able to know what URI(s) a > > window > > It is not a design flaw, it is about the design not being used at the > moment :) > > Naturally, once the apps start using our new protocol, we'll have the > wid-

Re: Activities protocol

2010-07-14 Thread Ivan Čukić
> which is a bit of a design flaw imho. being able to know what URI(s) a window It is not a design flaw, it is about the design not being used at the moment :) Naturally, once the apps start using our new protocol, we'll have the wid-uri association. (this is the most awesome side effect of acti

Re: Activities protocol

2010-07-14 Thread Aaron J. Seigo
On July 14, 2010, Sebastian Trüg wrote: > The idea on my end is to create nuao:DesktopEvent instances which link > to the opened file and the application opening it. For the latter the that sounds very sensible, and would get rid of the false positives due to automatically associating files issue

Re: Activities protocol

2010-07-14 Thread Aaron J. Seigo
On July 14, 2010, Marco Martin wrote: > just possible to retrieve uris of resources (and from the taskbar i can't > know what documents are open by a particular task...) which is a bit of a design flaw imho. being able to know what URI(s) a window is interacting with could be useful in so many wa

Re: Activities protocol

2010-07-14 Thread Marco Martin
On Wednesday 14 July 2010, Ivan Čukić wrote: > Hi Sebastian, > > First of all, I hope you are on plasma-devel since a lot of people > didn't take me seriously concerning the cross-posting... > > > So applications need to notify it about opening a doc manually? I am > > asking because I started im

Re: Activities protocol

2010-07-14 Thread Sebastian Trüg
On 07/13/2010 09:57 PM, Aaron J. Seigo wrote: > On July 13, 2010, Ivan Čukić wrote: >> a.s. This is a cross-post >> >> Hi, >> >> A few notifications and questions. >> >> 1. The ActivityManager (KDED module) now accepts application name/id >> when the application notifies it that it has opened a doc

Re: Activities protocol

2010-07-14 Thread Sebastian Trüg
On 07/13/2010 04:04 PM, Marco Martin wrote: > On Tue, Jul 13, 2010 at 3:55 PM, Ivan Čukić wrote: >> On 13 July 2010 15:45, Marco Martin wrote: >>> it must be done indeed. >>> but is it possible to automatically unlink it as well when the window >>> is detached from the activity? >> >> Yes, but th

Re: Activities protocol

2010-07-14 Thread Ivan Čukić
Hi Sebastian, First of all, I hope you are on plasma-devel since a lot of people didn't take me seriously concerning the cross-posting... > So applications need to notify it about opening a doc manually? I am > asking because I started implementing the exact same thing and we should Yes, the app

Re: Activities protocol

2010-07-14 Thread Sebastian Trüg
Hi Ivan, On 07/13/2010 03:13 PM, Ivan Čukić wrote: > 1. The ActivityManager (KDED module) now accepts application name/id > when the application notifies it that it has opened a document (or any > other type of resource that has an url) > > If the name is not specified, KWindowInfo is used to try

Re: Activities protocol

2010-07-14 Thread Ivan Čukić
> just curious, why's he doing... whatever he's doing... on a per-application > basis? does it matter whether I opened a document in kate, kwrite or okular? Stats like this are always good to have when you can have them. 1. Apps' recent files could be replaced to work better (with activities and a

Re: Activities protocol

2010-07-13 Thread Chani
On July 13, 2010 12:57:35 Aaron J. Seigo wrote: > On July 13, 2010, Ivan Čukić wrote: > > a.s. This is a cross-post > > > > Hi, > > > > A few notifications and questions. > > > > 1. The ActivityManager (KDED module) now accepts application name/id > > when the application notifies it that it has

Re: Activities protocol

2010-07-13 Thread Aaron J. Seigo
On July 13, 2010, Ivan Čukić wrote: > a.s. This is a cross-post > > Hi, > > A few notifications and questions. > > 1. The ActivityManager (KDED module) now accepts application name/id > when the application notifies it that it has opened a document (or any > other type of resource that has an ur

Re: Activities protocol

2010-07-13 Thread Chani
On July 13, 2010 06:13:15 Ivan Čukić wrote: > a.s. This is a cross-post hmm, so it is. I'm only on the plasma list, and I see we've already uncrossposted the thread there :) > > 1. The ActivityManager (KDED module) now accepts application name/id > when the application notifies it that it has o

Re: Activities protocol

2010-07-13 Thread Marco Martin
On Tue, Jul 13, 2010 at 3:55 PM, Ivan Čukić wrote: > On 13 July 2010 15:45, Marco Martin wrote: >> it must be done indeed. >> but is it possible to automatically unlink it as well when the window >> is detached from the activity? > > Yes, but that would be undesired - if you open a file from an >

Re: Activities protocol

2010-07-13 Thread Ivan Čukić
On 13 July 2010 15:45, Marco Martin wrote: > it must be done indeed. > but is it possible to automatically unlink it as well when the window > is detached from the activity? Yes, but that would be undesired - if you open a file from an activity, it belongs to it. (and possibly other activities as

Re: Activities protocol

2010-07-13 Thread Marco Martin
On Tue, Jul 13, 2010 at 3:13 PM, Ivan Čukić wrote: > a.s. This is a cross-post > > Hi, > > A few notifications and questions. > > 1. The ActivityManager (KDED module) now accepts application name/id > when the application notifies it that it has opened a document (or any > other type of resource t