Home > Forums > BC Gmail Signatures > Bug Reports > Signatures not saved in Drafts

Signatures not saved in Drafts

    [register]

Aug. 16, 2008 - 11:35am

This problem is related to constraints explained in the response to the Suggestion "Replace previous signatures".

Because this is specifically a bug report, I decided to open a new topic rather than to respond to the Suggestions topic.

I have submitted the bug via e-mail but will repeat it here with more information:

«If a Draft containing a signature is saved, the signature is lost if the draft is not left open until eventualy sent.
If one "leaves" the saved Draft to do something else in Gmail and later re-opens it, the signature is gone.

As far as I can establish, it happens consistently.

To fix this, I assume that one would have to be able to entice or "force" Gmail in some way to save the signature together with the other contents of the draft.»

Jerome, I found the following in your response to the Suggestion "Replace previous signatures"

«The signature is currently wrapped as follows:

<blockquote>your signature</blockquote>

This is the only non-visible text wrapper that Gmail doesn't strip.»

I use html tables for my signatures in order to facilitate vertical alignment. The signatures are wrapped in the following blockquote (Firefox View selection source):

<blockquote style="margin: 1.5em 0pt;"> . . </blockquote>

According to your response quoted above, this wrapper will be stripped by gmail when the draft is saved. The wrapped content is stripped as well.

The following may be relevant:

  • What version of the add-on are you using? I tested in 1.11.05 1.11.06 1.11.07
  • What version of Firefox are you using? 3.0.1
  • What locale is your Firefox set to? en-US
  • Are you using regular Gmail or Google Apps? Gmail
  • Do you have any "send as" addresses set up? Yes
  • What language is your Gmail account set to? English (US)
Aug. 17, 2008 - 3:20am

More information:

In my case the signatures are not saved regardless of how simple or complicated they are.
The following are a few simple examples of signatures not saved:

1.
<table>
  <tr>
    <td>R1C1</td>
    <td>R1C2</td>
  </tr>
</table>

2.
<p>R1C1 R1C2</p>

3.
<p>R1C1<br>
R2C1</p>

With only the signature in the message body, the html generated at the time the message is saved are basically the same for all three examples.
In the case of the third example:

<html style="background: transparent none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><head><style>body {margin:8px} .tr-field {font:normal small arial} img {-moz-force-broken-image-icon: 1;}</style></head><body dir="ltr" g_editable="true" hidefocus="true" class="editable tr-field" id=":x" style=""><br><blockquote style="margin: 1.5em 0pt;"><p>R1C1<br>
R2C1</p>
</blockquote><br></body></html>

Aug. 21, 2008 - 7:49am

"If a Draft containing a signature is saved, the signature is lost if the draft is not left open until eventualy sent.
If one "leaves" the saved Draft to do something else in Gmail and later re-opens it, the signature is gone."

I have done my best to reproduce the bug you are describing, but to no avail. I have no trouble creating a draft, saving it, going to do something else, then coming back to it later. The signature is still there, and if I change "From" addresses after re-opening the draft, the signature gets correctly replaced. Not sure why this would be a problem for you.

"<blockquote style="margin: 1.5em 0pt;"> . . </blockquote>

According to your response quoted above, this wrapper will be stripped by gmail when the draft is saved. The wrapped content is stripped as well."

I may have misspoken. I was trying to say that unique attributes such as id="" get stripped. The rest should, and does in my experience stay.

Last edited Aug. 21, 2008 - 7:51am by Jerome Dane

Recent Projects:

3 users online:

0 members - 3 guests