Presence Plasmoid REMAKE

Francesco Nwokeka francesco.nwokeka at gmail.com
Wed May 25 19:39:41 CEST 2011


On Wednesday 25 May 2011 15:23:50 David Edmundson wrote:
> On Tue, May 24, 2011 at 2:35 PM, David Edmundson
> <david at davidedmundson.co.uk
> 
> > wrote:
> > 
> > Forwarded a message from nwoki about the presence plasmoid.
> > 
> > Nwoki: You may as well stick to the main ML, unless it's something
> > particularly secret.
> > 
> > ---------- Forwarded message ----------
> > From: Francesco Nwokeka <francesco.nwokeka at gmail.com>
> > Date: Tue, May 24, 2011 at 2:05 PM
> > Subject: Presence Plasmoid REMAKE
> > To: David Edmundson <david at davidedmundson.co.uk>
> > Cc: drf at kde.org
> > 
> > 
> > Hi mentors! [and other people - ed]
> > 
> >        The presence plasmoid is almost ready. It can now set the presence
> > 
> > status.
> > Today i'll be fixing a bug in the dataengine and then I'll be working on
> > the "CMakeLists.txt" file for
> > the plasmoid installation.
> > If you want to follow it you can find my repo here[1].
> > Please send feedback especially with negative observations if possible so
> > that I can make it better
> > where needed.
> > I'll be online all day and night on irc so you can catch me whenever you
> > want.
> > 
> > 
> > Francesco
> > 
> > 
> > [1]
> > http://quickgit.kde.org/?p=scratch%2Fnwokeka%2FKDE-Telepathy-presence-pla
> > smoid.git&a=summary
> 
> Been playing around with it, got some cool stuff - tested adding/removing
> accounts with it running, that all behaves. I'm quite pleased.
> 
> Bug/TODO List:
> 
>  - all the presences are in lower case (i.e "available" not "Available") as
> we are directly displaying id values. Not looked at your code, but I'd
> guess this means it's not translated either. It should probably go through
> a map of id -> translated pretty name.
> 
> (possibly this should be in the dataengine, it could have a global map of
> presence IDs -> presence icon + presence readable name.)
Yes, I retrieve values from the dataegine so I'd have to make a patch for that and change the 
presences.

>  - Doesn't behave in a panel for me.
Do you mean that you can't get it to fit in the system tray? Or is it displaying strange size 
behaviour?

>  - I'm not sure you'd ever want to open the accounts KCM in such a hurry
> that we need a link.
Ok, I can take away the launcher for that (I find it quite handy though).

> - If you try to connect an account that then fails (i.e password wrong),
> the plasmoid still says "available".
>    We also don't get an error notification because the CL isn't
> running..but that's a much bigger issue for another day.
> 
> - You've made CMake check that the contact-list is installed - as we have a
> button to launch it. This isn't a "compile dependency" so shouldn't really
> be in the CMake file. It should either be - a dependency at a packaging
> level, or ideally a run time check and only show the button if it's
> available (not sure we can do that with plasma JS bindings).
Posting what you told me in irc to use as a reminder

[19:34] <d_ed>you can use the "apps" dataengine
[19:34] <d_ed> then just look for kde4-telepathy-kde-contactlist.desktop

> - Would be really cool if we could see the protocol icon next to the name
> of the account somewhere. I think this requires a dataengine change.
Yes, this was in plan.

> - /All/ the avatars flash when any connection changes
Need to debug this one
 
> Having said that, I'm 100% happy for you to push to review (and then over
> the top of the old repo after review) as it currently is. Then we can
> slowly fix all the tiny issues together.
Pushed to review so that we can get other people debugging as well

> Dave


More information about the KDE-Telepathy mailing list