Bug 310775 - Show last time contact has been seen online
Summary: Show last time contact has been seen online
Status: RESOLVED UNMAINTAINED
Alias: None
Product: telepathy
Classification: Unmaintained
Component: contactlist (show other bugs)
Version: 0.5.1
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-27 18:18 UTC by jovin
Modified: 2024-09-18 18:14 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
kde: Decision-Required+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jovin 2012-11-27 18:18:21 UTC
The contact information tab and mouseover should also show when a user last time logged in. That would make them a bit more useful.
I only use the MSN and ICQ protocoll, so I don't know if other do already support it.



Reproducible: Always
Comment 1 Martin Klapetek 2012-11-27 20:05:29 UTC
We could perhaps show the last time /you/ saw them online, but we don't have available the info about when the user was last time online (for example when you were offline and your friend was online).

Is the last time you saw them what you meant?
Comment 2 jovin 2012-11-27 20:32:26 UTC
(In reply to comment #1)
> We could perhaps show the last time /you/ saw them online, but we don't have
> available the info about when the user was last time online (for example
> when you were offline and your friend was online).
> 
> Is the last time you saw them what you meant?

Yup. Corrected to prevent confusion.
Comment 3 heena 2012-12-24 15:05:01 UTC
Did you mean to include Log details in kdetelepathy?
Comment 4 heena 2012-12-24 16:53:59 UTC
This feature is available in the latest version of kde telepathy 

Cheers
Comment 5 Martin Klapetek 2012-12-24 19:18:04 UTC
No, this feature is not available in kde-telepathy, nor any work has been started on this.
Comment 6 heena 2012-12-26 05:25:25 UTC
oh,I discussed about it with a kde developer .I may have misinterpret his statement ,Sorry for the wrong information .

Regards
Comment 7 Martin Klapetek 2013-01-15 21:52:54 UTC
Can we use the logger for this? Or would we have to store it ourselves and if yes, where? Config file or can we use the logger db (it's logging after all)?
Comment 8 David Edmundson 2013-01-15 21:56:29 UTC
Logger only records channels/conversations.

If we store it ourselves we could use a config file.. the kded module would need to do that, and it already has code monitoring user's coming online. The hard part is you'd need signals everywhere to keep things updated (right?), and that gets messy.
Comment 9 Martin Klapetek 2013-01-15 22:25:54 UTC
Regarding signals - I think we can do without them. Kded could store it in the config (probably causing slight spike in ios though) and then we could read it only when we need this data, which would be in tooltip event. There's no need for this to be contstantly visible, so no need for signals everywhere...right?
Comment 10 Dennis Schridde 2013-01-15 22:43:14 UTC
Wouldn't the kded solution stop working if someone also used Empathy? Then, when Telepathy/KDE was not running, but Telepathy alone is, no last-seen stuff would be recorded.
Comment 11 Martin Klapetek 2013-01-15 22:49:39 UTC
You are correct. And there's nothing we can do about that. Unless someone implements it in Telepathy itself.
Comment 12 Daniele E. Domenichelli 2013-01-16 11:13:49 UTC
(In reply to comment #7)
> Can we use the logger for this? Or would we have to store it ourselves and
> if yes, where? Config file or can we use the logger db (it's logging after
> all)?

The logger doesn't, perhaps zeitgeist does?
Comment 13 Martin Klapetek 2013-01-16 11:23:05 UTC
Ooh, zeitgeist could be used and I believe they already have some telepathy integration. However that would mean introducing new dependencies for one very very small feature.
Comment 14 Dennis Schridde 2013-01-16 13:13:52 UTC
(In reply to comment #11)
> You are correct. And there's nothing we can do about that. Unless someone
> implements it in Telepathy itself.
I guess that is the most simple solution then? Add another tag to telepathy-logger's XML files (or another folder besides "logs") which saves status changes. Then read them in kde-telepathy, empathy and others. Then you do not need to introduce additional dependencies, create custom logs, or implement solutions which work only half the time.
Comment 15 Dennis Schridde 2013-01-16 13:20:10 UTC
See also: https://bugs.freedesktop.org/show_bug.cgi?id=59465
Comment 16 Daniele E. Domenichelli 2013-01-16 13:30:32 UTC
I really think that is not the kind of stuff that I would like to see in telepathy-logger, as that is a lot of events
Moreover afaik telepathy-logger is no longer using the xml files, but switched to some database.

If we want to add such a feature, zeitgeist is the direction that we should take, as that is exactly what it was created for.

@mck182 in case we should introduce the new dependency to zeitgeist, I'm quite sure that we can find some other reasons to use it (for example presenting the "most recent" or the "more used" contacts, etc)
Comment 17 Roman 2013-03-04 11:16:52 UTC
Daniele, I think, we'd rather not do that. We make an IM client, not a statistical software. More features we add,  more headache and distraction we get. We have a lot of things to implement - kpeople,  contact list redesign, 3 'crash' bugreports etc.
We can implement plugins support later though, it's the best place to do such statistics. Or can't.
Comment 18 Daniele E. Domenichelli 2013-03-04 16:37:54 UTC
The good thing of kde-telepathy is that we make very small and independent modules, so I don't mean that I want to write a statistical software, but if one wants to do it, because he really misses that feature from kopete, he can do it.
Comment 19 Roman 2013-03-04 16:42:04 UTC
The bug report above requires contact-list patching, it has nothing to do with all those modular independency. So, our contact-list will depend on zeitgeist.
Comment 20 Daniele E. Domenichelli 2013-03-04 17:09:54 UTC
Not really, if I understood how zeitgeist work, it will push the events in nepomuk, and the contact list can fetch them from there. If you want to do more advanced searches you can use zeitgeist directly
Comment 21 Martin Klapetek 2013-03-04 22:53:35 UTC
For the record - as the contact list maintainer, I'm not going to prevent anyone from doing this using zeitgeist. However I myself have other priorities now.

@Daniele - not exactly, afaiu the nepomuk-pushing-thing is dead as it was not really good solution. 

I spoke with Seif (the zeitgeist developer) at fosdem, he is willing to split zeitgeist into smaller pieces so we can depend purely on the telepathy parts, so the users don't have to install (and use) the whole thing. Still, I would make it an optional dependency (and use it for more things).

Maybe a GSoC?
Comment 22 Christoph Cullmann 2024-09-18 18:14:26 UTC
Dear user, unfortunately Telepathy is no longer maintained.

Please migrate to another solution, e.g. for Jabber a possibility is Kaidan, for Matrix a candidate is NeoChat.