GNOME Bugzilla – Bug 562913
Changed signature format not written to GConf
Last modified: 2009-08-07 10:32:24 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.
Forgot mention: I'm on ubuntu hardy
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.
*** Bug 540498 has been marked as a duplicate of this bug. ***
Created attachment 123794 [details] signature beign inserted as plain text
Created attachment 123795 [details] the refered image on the signature
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.
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>
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.
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
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.
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?
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.
>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
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.
*** Bug 578322 has been marked as a duplicate of this bug. ***
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.
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!
Dear Mr Matthew Barnes, If you confirmed this bug as your comment states, I suggest to set the status "NEW" to this bug thanks
Fixed in http://git.gnome.org/cgit/evolution/commit/?id=e679d6b55cb60208dbf3804072f31827ff070233
*** Bug 440958 has been marked as a duplicate of this bug. ***