<div dir="ltr"><br><div class="gmail_extra">Hey Jorg<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 22, 2013 at 2:35 AM, Jörg Ehrichs <span dir="ltr"><<a href="mailto:Joerg.Ehrichs@gmx.de" target="_blank">Joerg.Ehrichs@gmx.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
today I used my day off to have a look into how all this QML stuff works.<br>
As I wanted to change the nepomukcontroller for 4.11 anyway to support<br>
status information for the akonadi feeder and<br>
the webminer as well as a possibility to enable/disable each service,<br>
this was a good start.<br>
<br>
While most stuff in the systray shows neat qml plasmoids, the nepomuk<br>
controller should do the same.<br>
<br>
I've created the Plasma::DataEngine and Plasma::Service to interact on<br>
the dbus level with each available service<br>
and corresponding qml plasmoid to make use of them.<br>
<br>
The whole thing is more a proof of concept but it does already work.<br>
Except for the missing WebMiner status information (as I haven't added<br>
the dbus interface for it yet)<br></blockquote><div><br></div><div>This is a good idea.<br><br></div><div>I had been thinking about doing something like this for 4.11. My main motive was to give the user a somewhat better idea of what is going on when nepomuk/virtuoso are consuming resources.<br>
<br></div><div>I don't particularly like the idea of giving users the ability to stop services, as that is too low level. They shouldn't need to bother that much. In my head I was thinking about reporting the following -<br>
<br></div><div>* Nepomuk File Indexer<br></div><div>** Exactly which cleaning job is going on - mimetype, invalid files, etc<br></div><div>** Exactly which file is being indexed<br></div><div>** How many files are remaining? Maybe some kind of progress window?<br>
</div><div><br></div><div>* Nepomuk File Watcher<br></div><div>** Report when the metadata of a file has been moved or is in the process of moving. This is useful when a large directory has been renamed.<br><br></div><div>
* Email<br></div><div>** Tell them which email/contact/whatever is being indexed<br></div><div>** An approximate progress window<br><br></div><div>The user should be able to suspend/resume each of these processes, or maybe even delay them for later? But they shouldn't be able to stop the process all together. Cause these services are there for a reason.<br>
</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
You can get the sources in my scratch repo:<br>
<a href="http://quickgit.kde.org/?p=scratch%2Fjehrichs%2Fnepomukcontroller-qml.git" target="_blank">http://quickgit.kde.org/?p=scratch%2Fjehrichs%2Fnepomukcontroller-qml.git</a><br>
git clone git@git.kde.org:scratch/jehrichs/nepomukcontroller-qml<br>
<br>
And a small preview here:<br>
<a href="http://wstaw.org/m/2013/01/21/nepomukcontroller-qml.jpg" target="_blank">http://wstaw.org/m/2013/01/21/nepomukcontroller-qml.jpg</a><br>
<br></blockquote><div><br></div><div>My OCD is going crazy. I have this annoying super power where I can notice when stuff isn't properly aligned. Down to single pixels.<br><br></div><div>We will need to improve this, but it is a great start.<br>
<br></div><div>Where do you think this should be placed? kde-runtime? Another repo? It's UI stuff so it's not going in nepomuk-core.<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Any thoughts, opinions and comments are welcome.<br>
<br>
Kind regards,<br>
Jörg<br>
_______________________________________________<br>
Nepomuk mailing list<br>
<a href="mailto:Nepomuk@kde.org">Nepomuk@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/nepomuk" target="_blank">https://mail.kde.org/mailman/listinfo/nepomuk</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><span style="color:rgb(192,192,192)">Vishesh Handa</span><br>
</div></div>