GNOME Bugzilla – Bug 549284
Does not log incoming messages which have not been displayed when Empathy closes
Last modified: 2009-03-06 09:52:13 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:
*** This bug has been marked as a duplicate of 518414 ***
This isn't a duplicate of 518414; 518414 would be one way to fix it.
*** Bug 549587 has been marked as a duplicate of this bug. ***
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.
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.
Then log "pending" messaging that still needs to be displayed in a buffer log and move them out once they have been displayed ?
My log-manager branch is in the to-merge branch and should be merged to HEAD soon. Therefore, I am closing this bug.