> On May 3, 2015, 11:04 p.m., Albert Astals Cid wrote:
> > Can you please remind me again what this kactivities code exactly does and 
> > what's the benefit for the end user?

It reports the currently open document to kamd (K Activity Manager Daemon). 

- kamd saves the events (it is configurable whether the events are saved at 
all, and for which applications, see [1,2] - unlike KRecentDocs);
- the documents get an automatically calculated score (similar to what amarok 
does) based on the usage;

Side-effects (some screenshots available above in the comments to Jan):

 - documents opened in okular will pop up in the recent documents of kicker 
(soon, kickoff will also switch to kamd-powered recent documents);
 - the share applet will know what is the current document, and you'll be able 
to send it to somebody, post to facebook and similar ...;
 - right-clicking okular in the taskbar or kicker (in future kickoff as well) 
will show the recent documents;
 - for people that actually use activities, all this is on per-activity basis, 
so the recent documents, most used documents etc. are different in different 
activities;
 
Future:

 - there is no session management on Wayland, this information will be used to 
restore the previously open documents when a session needs to be restored (I, 
personally, do not use sessions, but it seems that a lot of people do);
 - possible document grouping based on the data of which documents were used 
with one another.
 - showing the currently open documents in the tasks applet (either in the 
context menu like the recent documents, or in a fully document-based tasks 
alternative applet)

[1] https://bugs.kde.org/show_bug.cgi?id=344575

[2]

![Setting the enabled 
apps](http://cukic.co/content/images-small/2014-08-kcm_1.png)


- Ivan


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123249/#review79821
-----------------------------------------------------------


On April 3, 2015, 8:39 p.m., Ivan Čukić wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/123249/
> -----------------------------------------------------------
> 
> (Updated April 3, 2015, 8:39 p.m.)
> 
> 
> Review request for Okular and Albert Astals Cid.
> 
> 
> Repository: okular
> 
> 
> Description
> -------
> 
> Since the a3fb02b881d commit, the KF5::Activities are a required dependency 
> (CMakeLists.txt:31).
> 
> Still, the actual code uses ifdefs for KActivities_FOUND macro which no 
> longer exists. This patch removes the macros and restores the feature.
> 
> 
> Diffs
> -----
> 
>   autotests/CMakeLists.txt 0a0f546 
>   shell/CMakeLists.txt ec36582 
>   shell/shell.h f345cf3 
>   shell/shell.cpp 6bb89c5 
> 
> Diff: https://git.reviewboard.kde.org/r/123249/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Ivan Čukić
> 
>

_______________________________________________
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel

Reply via email to