GNOME Bugzilla – Bug 127546
Telepathy/Empathy/Evolution presence integration
Last modified: 2021-05-19 11:37:56 UTC
We want the notion of "presence" to be integrated into the entire desktop, wherever the user encounters a person or a reference to a person. Providing a simple integrated presence concept in the mailer and addressbook user interfaces is a step in this direction. Post-2.0, Evolution will begin to integrate presence functionality into the backend addressbook APIs. That means that given a contact, you'll be able to programmatically ask the addressbook questions like: "Is this user online?" and "How can I send him a file?" That is our eventual goal. This task is focused on more surface, frontend integration. This item has several subtasks, all of which involve displaying an icon somewhere in Evolution to indicate whether a person is online or not, and to allow the user to click on this icon to open an IM conversation window with the person concerned. And so, the first challenge is to have a simple, general mechanism for displaying presence icons. This bug is part of the Integrated Collaborative Desktop Bounty Hunt. For more information on prizes, contest rules, and other bounty tasks, visit: http://www.gnome.org/bounties/ If you would like to start working on this bounty, please create a bugzilla account and append your intention to work on this bounty to this bug. If multiple people declare their intentions to work on a task, we encourage you to join forces and work together. Please do not close this bug. The contest organizers will mark this bug as FIXED when the prize is claimed.
Please see http://www.gnome.org/bounties/Addressbook.php3#127546 for more information.
Oops. The Correct URL for more information is: http://www.gnome.org/bounties/IM.php3#127546
I'll have a crack at this...
I'll give this one a shot :)
Might as well try...
I'll try ...
I will also try ..
hi .. i am working on the presence integration bounty ... struck up with updating the gtk_entry widget with an icon. ... :( can somebody guide me as to how to do it ? i mean ... displaying an icon in beside the text entry of the selected address ?
Hi. You should ask your question in the following places: evolution-hackers@lists.ximian.com #evolution or #bounties on irc.gimp.org (GIMPNet) They'll be able to help you come up with the answer. You can also try #gnome-hackers on GIMPNet.
I'm relatively near completion on this. Just redesigning some stuff. My design isn't bound to Gaim, though. Gossip, Kopete, irssi, GnomeMeeting, or whatever should be able to work, when support is added to each client.
wanna try
Is this bounty taken? I mean done??
Created attachment 31351 [details] Patch that solves this bug
Hi, Sorry the comments for the patch were not included. Here it is. Attached is a patch that solves this bug . The patch implements all the required features as mentioned on the webpage http://www.gnome.org/bounties/IM.html#127546 . There are a few issues that are left unresolved and also i would like to get some feedback on the patch, but the majority of the bug is fixed. The following issues are unresolved and i would really like some help solving them. No presence information is added to the contact editor. I was not sure where exactly to add. I asked this particular quetion on the list but nobody replied. Also the screen names can be edited in the contact editor and hence the presence information may not always be in sync and i felt that it is really not needed as the information is automatically updated in the addressbook view as soon as a contact is modified/added/removed. I could not make the columns showing presence info in addressbook table default . Right now you have to right click on the table and add the column "IM Presence manually". The floating dialog which appears when you click on presence icons is closed as soon as mouse leaves the dialog box. Ideally it should stay on as long as the mouse is clicked outside the dialog box. Any pointers on solving the above two issues are appreciated. Regarding the contact-editor issue can somebody tell me where exactly to put the icons/text indicating presence. Other than what is mentioned above everything mentioned on the webpage is implemented. The patches for evolution are split as i could not run the diff properly for the whole evolution directory. The summary of the changes are -- gaim-remote plugin is now multithreaded so as not to block the gaim UI. there is a separate library named libevogaimremote.so which can be used to issue presence queries. the result is conveyed back using callbacks. The library current has API applicable only to get back buddy information and send gaim uri requests which were required for evolution. I will probably implement all the request types as mentioned in remote.h later. EText is modified to put clickable icons at arbitrary places inside the EText widget. It is used right now to put icons in TO:,CC:,BCC: fields in the compoer and also for the Minicard view. HTML display of messages is modified to include clickable buddy icons indicating the contact the message is from. Addressbook list view and minicard view are modified to include presence information. TO, BCC, CC fields are modified to include presence icons. Select names table is modified to include presence icons. How to apply patches. there should be 8 patch files. evolution-addressbook.diff, evolution-art.diff, evolution-configure.diff, evolution-e-util.diff, evolutio-mail.diff, evolution-widgets-misc.diff, gal.diff, gaim.diff. The patches can be applied from within the specific application directories with "patch -p1 < xxx.diff". For evolution and gal the CVS versions can be used. I tested them with CVS versions from yesterday. For gaim please use the latest stable release gaim-0.82.1. The gaim from CVS has changed quite a lot and i am not even able to compile gaim cvs version on my computer. So the patch is for the latest stable release. I will modify it when the gaim CVS becomes stable/when i can compile it. Regarding icons, 4 of them are needed. buddy-online.png, buddy-offline.png, buddy-away.png and buddy-none.png. The first three can be gotten from the page which describes the bounty. The last one is used for a contact who is online/offline but has no contact photo/buddy icon associated. Please use any icon for that right now. All the above four icons must be present in art subdirectory of evolution. Please test/verify the patch and post back if there are any problems/bugs/crashes because of this.
Created attachment 31368 [details] [review] Updated patch for gaim-0.82.1 The is an updated patch for gaim-0.82.1. the previous patch was generated with a different source tree which contained a bug and i accidentally submitted that. Please use this patch for gaim instead of the previous one.
great!! i'll try it asap
well,i've compiled evolution and gaim with these patches... the integration seem quite good,i've only found problems when i try to click on some arrived mails where evolution seem to crash. however i like this integration it's a good work congratulation :)
Created attachment 32073 [details] Updated patch Updated patch. Galago can now be used as the other backed in addition to gaim-remote when querying for presence info. Other various code cleanups. Please check the README file present in the archive.
Created attachment 32211 [details] Some more fixes... Some more fixes, mainly presence icons displayed. Gaim dependency now optional, though enabled by default to send conversation request to gaim. Please see the README file for more details on the patch.
Wow, Praveen, this looks impressive! Have you updated your patches to current CVS? The next step is to get as many of these patches as possible into the upstream maintainers' source. Also, I think it would be best if the Evolution changes were, as much as possible, done in an EPlugin instead of modifying the code directly.
I haven't had a look at this for some time. Chritian Hammod (chipx86) said that he had a simpler implementation and was nearing completion at the time i posted the patch. I also wanted to simplify the patches but never got around to it. Anyway i will have a look at this weekend and port it to current CVS
Praveen; are you still working towards completing this?
Yeah, been a little busy lately but i have started working on this again.
I'm interested in working on this. It appears that several others are/were working on this and close to completing it, but it sounds like fun work so I'll give it a shot.
I'm interested in working on this bug. Is anyone still working on it?
This bounty was available in 2003 and is not available anymore.
Nowadays this should probably happen via Empathy/Telepathy and libfolks. Adjusting summary.
*** Bug 567723 has been marked as a duplicate of this bug. ***
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines and create a new enhancement request ticket at https://gitlab.gnome.org/GNOME/evolution/-/issues/ Thank you for your understanding and your help.