After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 127546 - Telepathy/Empathy/Evolution presence integration
Telepathy/Empathy/Evolution presence integration
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: general
3.4.x (obsolete)
Other Linux
: Normal enhancement
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
: 567723 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-11-20 20:11 UTC by Benjamin Kahn
Modified: 2021-05-19 11:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch that solves this bug (34.61 KB, application/x-bzip)
2004-09-07 06:58 UTC, Praveen
  Details
Updated patch for gaim-0.82.1 (31.68 KB, patch)
2004-09-07 12:59 UTC, Praveen
none Details | Review
Updated patch (50.42 KB, application/x-compressed-tar)
2004-09-29 14:42 UTC, Praveen
  Details
Some more fixes... (44.09 KB, application/octet-stream)
2004-10-04 14:23 UTC, Praveen
  Details

Description Benjamin Kahn 2003-11-20 20:11:54 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.
Comment 1 Benjamin Kahn 2003-11-20 20:12:38 UTC
Please see http://www.gnome.org/bounties/Addressbook.php3#127546 for
more information.
Comment 2 Benjamin Kahn 2003-11-20 21:05:47 UTC
Oops.  The Correct URL for more information is:
http://www.gnome.org/bounties/IM.php3#127546
Comment 3 Chris Williams 2003-11-23 08:26:35 UTC
I'll have a crack at this...
Comment 4 Christian Hammond 2003-11-23 12:05:27 UTC
I'll give this one a shot :)
Comment 5 Jørgen Fogh 2003-11-23 21:43:10 UTC
Might as well try...
Comment 6 Fernando Villacis Postigo 2003-11-25 11:02:37 UTC
I'll  try ...
Comment 7 raghav 2003-12-16 13:02:39 UTC
I will also try ..
Comment 8 raghav 2003-12-29 13:20:11 UTC
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 ? 
 
Comment 9 Benjamin Kahn 2003-12-29 13:33:25 UTC
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.
Comment 10 Christian Hammond 2004-02-25 05:23:23 UTC
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.
Comment 11 TomTOm 2004-08-07 13:52:46 UTC
wanna try
Comment 12 Ankit 2004-08-27 16:13:01 UTC
Is this bounty taken? I mean done?? 
Comment 13 Praveen 2004-09-07 06:58:52 UTC
Created attachment 31351 [details]
Patch that solves this bug
Comment 14 Praveen 2004-09-07 07:00:17 UTC
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. 
Comment 15 Praveen 2004-09-07 12:59:59 UTC
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.
Comment 16 Luca.T 2004-09-12 17:24:00 UTC
great!! i'll try it asap


Comment 17 Luca.T 2004-09-13 14:48:50 UTC
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 :)




Comment 18 Praveen 2004-09-29 14:42:06 UTC
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.
Comment 19 Praveen 2004-10-04 14:23:40 UTC
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.
Comment 20 Nat Friedman 2005-03-06 20:45:18 UTC
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.
Comment 21 Praveen 2005-03-08 11:23:09 UTC
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
Comment 22 Brian Geppert 2005-04-07 04:55:21 UTC
Praveen;  are you still working towards completing this?
Comment 23 Praveen 2005-04-07 06:27:15 UTC
Yeah, been a little busy lately but i have started working on this again.  
Comment 24 Paul Sutherland 2005-06-07 05:32:54 UTC
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.
Comment 25 Matthew Martin 2006-12-02 02:22:18 UTC
I'm interested in working on this bug. Is anyone still working on it?
Comment 26 André Klapper 2012-02-19 17:03:56 UTC
This bounty was available in 2003 and is not available anymore.
Comment 27 André Klapper 2012-06-27 10:06:07 UTC
Nowadays this should probably happen via Empathy/Telepathy and libfolks.
Adjusting summary.
Comment 28 Milan Crha 2014-04-29 07:38:44 UTC
*** Bug 567723 has been marked as a duplicate of this bug. ***
Comment 29 André Klapper 2021-05-19 11:37:56 UTC
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.