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 549284 - Does not log incoming messages which have not been displayed when Empathy closes
Does not log incoming messages which have not been displayed when Empathy closes
Status: RESOLVED FIXED
Product: empathy
Classification: Core
Component: General
2.23.x
Other All
: Urgent critical
: ---
Assigned To: empathy-maint
empathy-maint
: 549587 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-08-25 11:19 UTC by Will Thompson
Modified: 2009-03-06 09:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Will Thompson 2008-08-25 11:19:38 UTC
Please describe the problem:
Empathy only writes messages to the log when they have been displayed in a conversation window.  As a result, if you don't notice the systray icon blinking and quit Empathy, you lose those messages forever.  (You also lose them if Empathy crashes, which of course never happens.  :-))

Messages should be logged as soon as humanly possible.

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Frederic Peters 2008-08-25 11:29:18 UTC

*** This bug has been marked as a duplicate of 518414 ***
Comment 2 Will Thompson 2008-08-25 16:44:55 UTC
This isn't a duplicate of 518414; 518414 would be one way to fix it.
Comment 3 Dafydd Harries 2008-08-27 15:24:44 UTC
*** Bug 549587 has been marked as a duplicate of this bug. ***
Comment 4 Xavier Claessens 2008-09-22 07:35:03 UTC
I investigated this bug Friday but it is not simple to fix this. Here is the problem:

If I log messages received before displaying the chat window, when I'll open the chat window I'll take the 10 last logged messages for the backlog and then display pending messages. Which leads to duplicated messages when opening the chat window.

Removing dups from backlog already turned out to be a pain and error-prone for jabber chatroom backlogs. I'm not sure how to fix that properly, but probably won't happen in the stable branch.
Comment 5 Dafydd Harries 2008-12-12 13:33:48 UTC
Empathy also sometimes doesn't log messages that were sent promptly. E.g. if Empathy crashes then messages which I sent are sometimes not in the log.
Comment 6 Henti Smith 2009-01-23 06:48:20 UTC
Then log "pending" messaging that still needs to be displayed in a buffer log and move them out once they have been displayed ? 

Comment 7 Jonny Lamb 2009-03-06 09:52:13 UTC
My log-manager branch is in the to-merge branch and should be merged to HEAD soon. Therefore, I am closing this bug.