Re: [Nepomuk] Nepomukcontroller rewritten in QML

2013-03-27 Thread David Edmundson
Nicely done, a few minor comments still, but a "ship it!" from me. Applet: Missing Messages.sh file This is needed to tell the translation mechanism to extract the messages in the i18n functions Copy this from another existing applet. Make sure you copy a version from an applet that already u

Re: [Nepomuk] Nepomukcontroller rewritten in QML

2013-03-27 Thread Jörg Ehrichs
> > Is it ready to give it another review? > Yes it is, but please have a look at the nepomukcontroller-qml branch in kde-workspace as this is the codebase I like to git merge in about 2 weeks if no one is against it. The code base is the same as in my scratch repo, but the cmake part is a bit di

Re: [Nepomuk] Nepomukcontroller rewritten in QML

2013-03-27 Thread David Edmundson
Awesome, Is it ready to give it another review? David ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel

Re: [Nepomuk] Nepomukcontroller rewritten in QML

2013-03-27 Thread Jörg Ehrichs
> > Nicely done! I did a quick look over the code and you're still using > > QDBusConnection::sessionBus().interface()->isServiceRegistered > > which unfortunately is a blocking DBus call. You can however replace it with > something like [...] > Thanks a lot for the hint. I've change my code to us

Re: [Nepomuk] Nepomukcontroller rewritten in QML

2013-03-26 Thread Martin Klapetek
On Tue, Mar 26, 2013 at 11:29 AM, Jörg Ehrichs wrote: > > [...] > > > > These things should really be async. > > > > Especially if there can be multiple services that you have no control > about, > > they will hang at some point, and then your UI is blocked -- never a good > > thing. > > > > We'v

Re: [Nepomuk] Nepomukcontroller rewritten in QML

2013-03-26 Thread Jörg Ehrichs
> [...] > > These things should really be async. > > Especially if there can be multiple services that you have no control about, > they will hang at some point, and then your UI is blocked -- never a good > thing. > > We've had a non-funny amount of UI problems due to sync calls across IPC, or > i

Re: [Nepomuk] Nepomukcontroller rewritten in QML

2013-03-25 Thread Sebastian Kügler
On Wednesday, March 20, 2013 20:55:02 Jörg Ehrichs wrote: > > IMHO all of these need to be replaced with the async variants. This > > unfortunately affects a lot of your code. The service job should be > > easy as you don't wait for the results, the service engine is less of > > any easy change. Yo

Re: Nepomukcontroller rewritten in QML

2013-03-21 Thread Jörg Ehrichs
> > Well, the feeder agent's configure dialog can be invoked via D-Bus > See the configure method of interface org.freedesktop.Akonadi.Agent.Control > Thanks a lot. Sadly the akonadi feeders only option is the indle time delay. Not sure this is what the user expects, I've settle with kcm_akonadifo

Re: [Nepomuk] Nepomukcontroller rewritten in QML

2013-03-20 Thread Martin Klapetek
On Wed, Mar 20, 2013 at 8:55 PM, Jörg Ehrichs wrote: > > IMHO all of these need to be replaced with the async variants. This > > unfortunately affects a lot of your code. The service job should be > > easy as you don't wait for the results, the service engine is less of > > any easy change. You m

Re: Nepomukcontroller rewritten in QML

2013-03-20 Thread Kevin Krammer
On Wednesday, 2013-03-20, Jörg Ehrichs wrote: > > One question > > - Would it make more sense to show the feeder config dlg rather than the > > generick nepomuk one? > > Ah I remember I wanted to fix this. I wanted to show this, but the call to: > kcmshell4 kcm_akonadi_resources > returns an empty

Re: Nepomukcontroller rewritten in QML

2013-03-20 Thread Jörg Ehrichs
> > i still not tried it, will do just a couple of suggestions.. > * make sure that when in the systray is always hidden by default and show it > only when something important occurs (with appropriate setStatus) > This is already implemented. This tray icon will only be "active" and shown if there

Re: Nepomukcontroller rewritten in QML

2013-03-20 Thread Jörg Ehrichs
> > One question > - Would it make more sense to show the feeder config dlg rather than the > generick nepomuk one? > Ah I remember I wanted to fix this. I wanted to show this, but the call to: kcmshell4 kcm_akonadi_resources returns an empty dialog all the time, while the dialog works like a char

Re: [Nepomuk] Nepomukcontroller rewritten in QML

2013-03-20 Thread Jörg Ehrichs
> > - Is there a reason nepomukserviceengine.cpp has a different license? > No this was simply an error, I'll fix it. > - You are making a lot of synchronous dbus calls in the dataengine. > Synchronous dbus calls block all of plasma-desktop until Nepomuk > replies. > > IMHO all of these need to b

Re: Nepomukcontroller rewritten in QML

2013-03-20 Thread Jörg Ehrichs
> > For that, a few screenshots would be very useful. Could you make a few and > post them here? > -- http://wstaw.org/m/2013/03/20/nepomukcontroller-qml1.jpg http://wstaw.org/m/2013/03/20/nepomukcontroller-qml2.jpg http://wstaw.org/m/2013/03/20/nepomukcontroller-qml3.jpg http://wstaw.org/m/2013/0

Re: Nepomukcontroller rewritten in QML

2013-03-20 Thread Sebastian Kügler
On Tuesday, March 19, 2013 19:01:12 Jörg Ehrichs wrote: > Any comments and especially hints on the code part or usability > experts are very welcome. For that, a few screenshots would be very useful. Could you make a few and post them here? -- sebas http://www.kde.org | http://vizZzion.org | GP

Re: Nepomukcontroller rewritten in QML

2013-03-20 Thread Marco Martin
On Tuesday 19 March 2013, Jörg Ehrichs wrote: > Hello everyone, > > i like to announce a replacement for the Nepomuk system tray > controller plugin that is written in QML and Plasma::DataEngine. [1] > Unlike the old controller, the new one expose status information of > any Nepomuk service (FileW

Re: Nepomukcontroller rewritten in QML

2013-03-19 Thread Lindsay Mathieson
On Tue, 19 Mar 2013 07:01:12 PM Jörg Ehrichs wrote: > As this looks now better and adds more (needed) features, I like to > get this in 4.11 as a replacement for the current systray applet. Thank you, I like this a lot - it is really good to see the email feeder status there. One question - Would

Re: [Nepomuk] Nepomukcontroller rewritten in QML

2013-03-19 Thread David Edmundson
On Tue, Mar 19, 2013 at 6:34 PM, Jörg Ehrichs wrote: > 2013/3/19 Ignacio Serantes : >> Hi, >> >> Installed and is an amazing improvement. Only for contribute with minor >> thing: >> >> A method to call a manual backup or a restore. >> A start/stop/restart nepomuk method. >> > > Start/Stop for any

Re: [Nepomuk] Nepomukcontroller rewritten in QML

2013-03-19 Thread Jörg Ehrichs
2013/3/19 Ignacio Serantes : > Hi, > > Installed and is an amazing improvement. Only for contribute with minor > thing: > > A method to call a manual backup or a restore. > A start/stop/restart nepomuk method. > Start/Stop for any service is available in the Plasma::DataEngine you can check with t

Nepomukcontroller rewritten in QML

2013-03-19 Thread Jörg Ehrichs
Hello everyone, i like to announce a replacement for the Nepomuk system tray controller plugin that is written in QML and Plasma::DataEngine. [1] Unlike the old controller, the new one expose status information of any Nepomuk service (FileWatch/File Indexer/PIM Indexer and the Webminer) and allows