[Nepomuk] Activities protocol

Chani chanika at gmail.com
Tue Jul 13 21:42:28 CEST 2010


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 opened a document (or any
> other type of resource that has an url)
> 
> If the name is not specified, KWindowInfo is used to try and get it.
> 
> The reason for this is to make it possible to keep track of recently
> opened resources (and all the stats/rating stuff Lukas is working on)
> on a per-application basis.
> 
> KActivityConsumer uses QCoreApplication::applicationName() for this,
> so it is done 'behind a curtain'.

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?

> 
> 2. Does anyone have objections in automatically linking a resource
> (that the application reports is opened) with the current activity?
> From my point of view, it is something that should be done.

aseigo had objections at the last tokamak. me, I'm still on the fence. we 
should talk about this again, I guess.



More information about the Nepomuk mailing list