GNOME Bugzilla – Bug 709396
Quoted text truncated in editor when "Keep signature above original message" is set
Last modified: 2013-11-17 00:06:33 UTC
Description of problem: Evolution starts normally. All tasks run normally (show mail folders, e-mails get retrieved, etc) Quoted-text truncated at first answered message after startup. Version-Release number of selected component (if applicable): 3.8.5 (Fedora 19) Same behavior since 3.6.? (Fedora 18) How reproducible: Always Steps to Reproduce: 1. Start Evolution 2. Answer an existing message 3. Internal Editor starts Actual results: At first answered Message: Quoted text gets shown shortly (fraction of a second) correct, but then it gets truncated at beginning (dashed line + first lines). At subsequent answered messages: Quoted text gets shown correctly. No problem. Expected results: No truncation of the quoted text when answering for the first time after Evolution start. Additional info: I could find out that it relates to the option: "Signatur beim Antworten über der Original-Nachricht behalten" (Keep signature above the original-message) If this option is "on", problem occurs. No problem when the option is "off". Problem occurs independently of settings like "HTML/plain text", "different kinds of quotation". The issue might relate to the handling of signatures. Editor could paste signature-holder (even if empty) at wrong place, not at beginning of text. Example of damaged quoted text: - ------- Weitergeleitete Nachricht --------A n: anyone@anywhere.orgD atum: Thu, 26 Sep 2013 10:16:26 +0000h ttps://bugzilla.redhat.com/show_bug.cgi?id=XXXXXX- -- Comment #XX from Anyone Outthere <anyone@anywhere.org> ---m entioning "noveau" (didn't know what that was at the time).I have dual screens, and had switched from fullscreen to windowed a couple of times. But the crash came minutes later.. (entire computer lock down, not even the num-lock indicator on the keyboard worked).
*** Bug 709409 has been marked as a duplicate of this bug. ***
Comments made at downstream bug report (Fedora): https://bugzilla.redhat.com/show_bug.cgi?id=1015317 --- Milan Crha 2013-10-04 01:17:44 EDT Thanks for a bug report. I can reproduce this with latest git master, which is quite the same as current stable, 3.10.0, in this part, and the interesting thing is that it does that cutting with the first reply only. The second on the same email works just fine. <...> ---
Created attachment 257574 [details] [review] evo patch for evolution; The GtkComboBox::changed signal is not called only on active-id change, but also on any content change, including each row add/change/removal into its model. These signals are delivered on the main thread, thus the result of e_mail_signature_combo_box_load_selected() is delivered later, which means that a call like gtk_list_store_clear() queues as many 'load_selected' operations as is the list items count. Such thing confused GtkHTML editor enough to garble the message body. This change is kind of workaround, which avoids unnecessary signature updates.
Created commit 7cc6ab1 in evo master (3.11.1+) Created commit 5f3aa85 in evo gnome-3-10 (3.10.2+)
*** Bug 712522 has been marked as a duplicate of this bug. ***