[Evolution-hackers] bug #47549 is really a bug or not?



Hello, everyone, I wonder if you can spare some time to this.

During my analyzing to bug #47549, I found a question.

First, I should post its description here.
  =============================================
   1.Invoke evolution
   2.compose a new html mail(FIle->New->Mail Message)
   3.select bullet list from format toolbar and input some text.
   4.send mail say to yourself.
   5.Open the received mail.
   6.Observe that bullet appears as asterisk in the received mail
 =============================================
Follow these steps above, you'll get a mail in which the bullet appears as asterisk indeed.

Then I will analyze this problem.

During the all processing, the real mail content is stored in two parts, they are plain texts and format/style informations.

During the composing described above, we can see the bullet appears when we pressed "Bulleted List" on the bar.
This is because the mail content is drawed on the widget by gtkhtml, in fact, this bullet is drawed as a little dot, but not displayed as any character.
If we view this message body as plain-text, we will found that in the real content of this html, there is an asterisk where the bullet should be.

Here we know that when we use Bulleted List style, gtkhtml draw a dot standing for a bullet.
And when we require the plain-text format, gtkhtml write an asterisk character instead of the bullet.

And During the sending described above, in fact, we have just sent out a mail in the text format by default, but not in the html format.
(If we want to send a mail in the html format, we should use the Format -> HTML submenu, and that is ok without this bug.)
Such we sent out a mail without any format/style information, but just the plain-text content.
So in what we sent, we have just an asterisk but not any bullets.

To avoid seeing any asterisk where the bullets should be, we could only make gtkhtml to write a bullet for the Bulleted List style in the PLAIN-TEXT format.(But we cannot do that at last!)
But unfortunately, the bullet character's ascii value is 149. If we want to send a mail in the plain-text format, we should only use the characters whose ascii value is between 0 and 127. So gtkhtml use an asterisk(its ascii value is 48) standing for the bullet, because it looks like a item tag more than other 127 characters.

What I want to say is:
Our evolution have this feature of sending plain-text mail, and we should keep it pure and simplex, so we can just use an asterisk standing for the Bulleted List style tag. Attempting to fix this "bug" in any method could only make things worse.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]