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 670886 - Bottom pane refreshes and destroys my state every time I receive a message.
Bottom pane refreshes and destroys my state every time I receive a message.
Status: RESOLVED OBSOLETE
Product: empathy
Classification: Core
Component: Archives
3.2.x
Other Linux
: Normal normal
: 3.4
Assigned To: empathy-maint
empathy-maint
Depends on:
Blocks:
 
 
Reported: 2012-02-27 14:09 UTC by Will Thompson
Modified: 2018-05-22 15:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Will Thompson 2012-02-27 14:09:32 UTC
Every time I receive a new message, the bottom pane of the log viewer window (which is called “Previous Conversations” in menus, has the title “History”, and is known as “Archives” in Bugzilla) refreshes, collapsing any conversations I happened to have open. Since I am in a number of busy chat rooms, this means it is essentially impossible to copy-paste from an old conversation without signing out.
Comment 1 Will Thompson 2012-02-27 14:26:01 UTC
It doesn't help that it takes around three seconds to refresh each time. I even have an SSD!
Comment 2 Guillaume Desmottes 2012-03-16 12:37:05 UTC
When a new message is received/send, log_window_chats_get_messages() is called. This function clear all the messages currently displayed and re-load them.

Ideally before calling this function we should save the state of the different expanders and restore it afterward.

Danni: IIRC you're the one who wrote the html/js code; is there a way to do that?
Comment 3 Will Thompson 2012-03-16 13:07:20 UTC
(In reply to comment #2)
> When a new message is received/send, log_window_chats_get_messages() is called.
> This function clear all the messages currently displayed and re-load them.
> 
> Ideally before calling this function we should save the state of the different
> expanders and restore it afterward.

No… ideally, the new message would just be appended to the existing view. Why would you reload all the existing messages?
Comment 4 Danielle Madeley 2012-03-17 00:34:21 UTC
The HTML/JS code just connects to the model signals, and does whatever the model does. So if you don't clear the model, then things should work well. (I think)
Comment 5 GNOME Infrastructure Team 2018-05-22 15:23:10 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/empathy/issues/506.