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 562913 - Changed signature format not written to GConf
Changed signature format not written to GConf
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.22.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[composer] evolution[signatu...
: 440958 540498 578322 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-12-01 21:24 UTC by Jorge Urdaneta
Modified: 2009-08-07 10:32 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
signature beign inserted as plain text (335 bytes, text/html)
2008-12-02 14:31 UTC, Jorge Urdaneta
Details
the refered image on the signature (48.31 KB, image/jpeg)
2008-12-02 14:32 UTC, Jorge Urdaneta
Details

Description Jorge Urdaneta 2008-12-01 21:24:56 UTC
Recently I configured my personal signature at Edit->Preferences->Editor->Signatures with a html format with an image.
Everything works great until I close Evolution and open it again. The sigature lose its html format and become plain text. It is added in the new message editor with raw html tags. So, every time I open Evolution I have to reconfigure the signature.
Comment 1 Jorge Urdaneta 2008-12-01 21:26:40 UTC
Forgot mention: I'm on ubuntu hardy
Comment 2 Matthew Barnes 2008-12-02 03:21:19 UTC
Haven't been able to reproduce this using Evolution 2.22.3.1 on Debian or Evolution 2.25.2 on Fedora.

Could you post the signature file that's causing the problem?  It would be one of the files under ~/.evolution/signatures.  If the signature is referencing a local image file, please post that too so I can try to reproduce the problem accurately.

Also, are you composing emails in plain text or HTML?  HTML signatures are converted to plain text when inserted into a plain text message, so if that's what you're doing then maybe the mechanism that handles the conversion is screwing up somehow.  Just a guess.
Comment 3 Matthew Barnes 2008-12-02 04:32:34 UTC
*** Bug 540498 has been marked as a duplicate of this bug. ***
Comment 4 Jorge Urdaneta 2008-12-02 14:31:49 UTC
Created attachment 123794 [details]
signature beign inserted as plain text
Comment 5 Jorge Urdaneta 2008-12-02 14:32:35 UTC
Created attachment 123795 [details]
the refered image on the signature
Comment 6 Jorge Urdaneta 2008-12-02 14:34:49 UTC
I'm composing all my messages as HTML by default. Everything works if I reconfigure it again. But... that work is lost in the next start up.
Comment 7 Jorge Urdaneta 2008-12-02 14:39:24 UTC
This is the content of the file I tryed to upload. Sorry for the inconvenients.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.18.3">
</HEAD>
<BODY>
<PRE>
<IMG SRC="file:///home/jurdaneta/multimedia/etiqueta%20jorge.jpg" ALIGN="bottom" BORDER="0">
</PRE>
</BODY>
</HTML>
Comment 8 Matthew Barnes 2008-12-02 15:38:48 UTC
Still can't reproduce this with the given signature.

Here's what I'm doing:

  1) Edit -> Preferences -> Composer Preferences -> Signatures -> Add
  2) In the signature editor, set mode to HTML.
  3) Insert -> HTML File..., select your signature file.
  4) Verify it appears correctly.
  5) Save and Close

  6) Open a new composer window.  Set mode to HTML.
  7) Select newly created signature.  Appears correctly.

  8) Restart Evolution.
  9) Repeat steps 6 & 7.  Signature still appears correctly.
Comment 9 Jorge Urdaneta 2008-12-02 15:54:14 UTC
try this variation:

* set that signature as the default for your account so it's added as default when you open the new message window

* set HTML format as default for message composing to support the HTML signature
Comment 10 Matthew Barnes 2008-12-02 16:22:33 UTC
Okay, tried that.  Signature still comes up fine for me.

I'm testing with Evolution 2.25.2.  I'll try this with an older version.
Comment 11 Jorge Urdaneta 2008-12-02 16:27:50 UTC
2.25.2???
oh please... it is a development version right?
this bug is related to 2.22.x
Is it out of support?
Should we move to newer/older versions?
Comment 12 Matthew Barnes 2008-12-02 17:26:58 UTC
Yes, 2.25.2 is a development release, but the relevant parts of the code should be identical to 2.24, which is the current stable release we're supporting.

If you want to try upgrading to 2.24 and see if the problem still exists, that would be helpful.  I'm still hoping I can reproduce the problem for myself with 2.22 and then demonstrate that it's fixed in 2.24/2.25.

Also, just double checking, when you insert the signature file into the editor, you are using Insert -> HTML File, correct?  As opposed to Insert -> Text File or copy/paste or some other method.
Comment 13 Jorge Urdaneta 2008-12-02 18:25:22 UTC
>Also, just double checking, when you insert the signature file into the editor,
>you are using Insert -> HTML File, correct?  As opposed to Insert -> Text File
>or copy/paste or some other method.

Edit->Preferences->Editor->Signatures->Add
Format->HTML (active HTML format - by default in my settings)
Insert->Image->(Pick the image file)
Save & Close
Comment 14 Matthew Barnes 2008-12-04 10:52:26 UTC
Evolution 2.22.3.1 on Debian Testing:

Created a signature by following the steps in comment #13.  Set it as the default signature for my default account.  Enabled HTML mode in the composer by default.  Shutdown Evolution completely and restarted.  Opened a new composer window with signature added automatically.

Still no luck.  Image in signature appeared correctly.

At this point I'd suggest either:

  - Record a screencast that demonstrates the issue.
  - Try reproducing the issue on a different distro.
  - Try upgrading to Evolution 2.24.
Comment 15 Matthew Barnes 2009-04-08 03:06:36 UTC
*** Bug 578322 has been marked as a duplicate of this bug. ***
Comment 16 Gérard Dethier 2009-08-06 11:56:38 UTC
Evolution version: 2.26.1
Distro: Ubuntu 9.04
Architecture: amd64

The problem occurs when a plain text signature is "converted" into an HTML encoded signature. The newly modified signature is correctly rendered in new mails until Evolution is restarted. After Evolution restart, the signature is inserted as plain text and HTML code appears instead of being rendered.

Steps to reproduce the bug:
1) Create a plain text signature in Evolution.
2) Close Evolution.
3) Restart Evolution and modify signature type (plain -> HTML).
4) Close Evolution.
5) Restart Evolution and compose a new mail. Insert the signature. HTML code appears as text instead of being rendered.

Workaround:
1) Close Evolution.
2) Launch gconf-editor and modify the key /apps/evolution/mail/signatures (which contains the list of signatures used by evolution) the following way :
2.1) Find the problematic signature in the list.
2.2) Change "format" attribut of tag "signature" from "text/plain" to "text/html".
3) Start Evolution, the signature should be rendered correctly in new mails.

It seems, regarding the workaround, that evolution does not update the format of signature in gconf database.
Comment 17 Matthew Barnes 2009-08-06 19:08:57 UTC
Ah ha!  Step 3 was the missing piece.  Signature type has to be changed after it was already saved.  I can finally reproduce this now.

Thanks for the detailed instructions!
Comment 18 Jorge Urdaneta 2009-08-06 19:19:13 UTC
Dear Mr Matthew Barnes,

If you confirmed this bug as your comment states, I suggest to set the status "NEW" to this bug

thanks
Comment 20 Matthew Barnes 2009-08-07 10:32:24 UTC
*** Bug 440958 has been marked as a duplicate of this bug. ***