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 709396 - Quoted text truncated in editor when "Keep signature above original message" is set
Quoted text truncated in editor when "Keep signature above original message" ...
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.10.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[composer]
: 709409 712522 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-10-03 22:23 UTC by careca
Modified: 2013-11-17 00:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evo patch (2.05 KB, patch)
2013-10-17 18:13 UTC, Milan Crha
committed Details | Review

Description careca 2013-10-03 22:23:49 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).
Comment 1 Milan Crha 2013-10-08 13:29:16 UTC
*** Bug 709409 has been marked as a duplicate of this bug. ***
Comment 2 careca 2013-10-08 20:24:07 UTC
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.
<...>
---
Comment 3 Milan Crha 2013-10-17 18:13:39 UTC
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.
Comment 4 Milan Crha 2013-10-17 18:16:05 UTC
Created commit 7cc6ab1 in evo master (3.11.1+)
Created commit 5f3aa85 in evo gnome-3-10 (3.10.2+)
Comment 5 Matthew Barnes 2013-11-17 00:06:33 UTC
*** Bug 712522 has been marked as a duplicate of this bug. ***