Closed Bug 664615 Opened 13 years ago Closed 12 years ago

Message compose window inserts </font> tag inappropriately after backspace key is used

Categories

(Thunderbird :: Message Compose Window, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 812638

People

(Reporter: dhurler, Unassigned)

References

Details

User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML, like Gecko) Ubuntu/10.10 Chromium/13.0.773.0 Chrome/13.0.773.0 Safari/535.1 Build Identifier: 20110424085659 After typing in a few sentences into the message compose window I deleted some words using the backspace key and typed in a new sentence on the same line/paragraph. The closing </font> tag was left in the original position where the text ended before I used the backspace key to delete text. This only seems to happen on replies and forwards. I just confirmed this by replying to my own message so I know it's not a bug with some other email client reformatting the text. Reproducible: Always Steps to Reproduce: 1.Send email to self 2.Reply to that email by typing a few random sentences in. Go to the end of the last sentence and delete it using either CTL-A and "backspace" or just "backspace". 3.Send reply to self and "view source" of this. 4.If you reply using another non-Thunderbird client the </font> tag bug is obvious because you will typically see a totally different font rendered. Outlook is especially bad in thus regard but the problem with the closing </font> tag is in Thunderbird. Actual Results: From - Wed Jun 15 16:51:52 2011 X-Account-Key: account2 X-UIDL: ph2!!!4*#!c?V!!%`@!! X-Mozilla-Status: 0011 X-Mozilla-Status2: 00000000 X-Mozilla-Keys: Return-Path: <jim@jimbrockman.com> Received: from [192.168.2.2] (adsl-70-137-138-225.dsl.snfc21.sbcglobal.net [70.137.138.225]) by lovingprivacy.com (8.11.6/8.11.0) with ESMTP id p5FNphf50912 for <jim@jimbrockman.com>; Wed, 15 Jun 2011 23:51:43 GMT (envelope-from jim@jimbrockman.com) Message-ID: <4DF9458C.3090203@jimbrockman.com> Date: Wed, 15 Jun 2011 16:51:40 -0700 From: Jim <jim@jimbrockman.com> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 ThunderBrowse/3.3.5 MIME-Version: 1.0 To: Jim <jim@jimbrockman.com> Subject: Re: test References: <4DF94543.8020502@jimbrockman.com> In-Reply-To: <4DF94543.8020502@jimbrockman.com> X-Enigmail-Version: 1.1.2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-UIDL: ph2!!!4*#!c?V!!%`@!! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font face="Helvetica, Arial, sans-serif">What the?</font> IJDMWPID?<br> <br> On 06/15/2011 04:50 PM, Jim wrote: <blockquote cite="mid:4DF94543.8020502@jimbrockman.com" type="cite"> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <font face="Helvetica, Arial, sans-serif">I am trying to duplicate a bug here. Ajakiaksak.<br> <br> <br> </font> </blockquote> </body> </html> Expected Results: From - Wed Jun 15 16:51:52 2011 X-Account-Key: account2 X-UIDL: ph2!!!4*#!c?V!!%`@!! X-Mozilla-Status: 0011 X-Mozilla-Status2: 00000000 X-Mozilla-Keys: Return-Path: <jim@jimbrockman.com> Received: from [192.168.2.2] (adsl-70-137-138-225.dsl.snfc21.sbcglobal.net [70.137.138.225]) by lovingprivacy.com (8.11.6/8.11.0) with ESMTP id p5FNphf50912 for <jim@jimbrockman.com>; Wed, 15 Jun 2011 23:51:43 GMT (envelope-from jim@jimbrockman.com) Message-ID: <4DF9458C.3090203@jimbrockman.com> Date: Wed, 15 Jun 2011 16:51:40 -0700 From: Jim <jim@jimbrockman.com> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 ThunderBrowse/3.3.5 MIME-Version: 1.0 To: Jim <jim@jimbrockman.com> Subject: Re: test References: <4DF94543.8020502@jimbrockman.com> In-Reply-To: <4DF94543.8020502@jimbrockman.com> X-Enigmail-Version: 1.1.2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-UIDL: ph2!!!4*#!c?V!!%`@!! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font face="Helvetica, Arial, sans-serif">What the? IJDMWPID?</font><br> <br> On 06/15/2011 04:50 PM, Jim wrote: <blockquote cite="mid:4DF94543.8020502@jimbrockman.com" type="cite"> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <font face="Helvetica, Arial, sans-serif">I am trying to duplicate a bug here. Ajakiaksak.<br> <br> <br> </font> </blockquote> </body> </html>
Do you see the same behavior at <http://www.mozilla.org/editor/midasdemo/> ?
This is most likely a problem where the cursor placement is outside of the font tag. See bug 588347
(In reply to Ludovic Hirlimann [:Usul] from comment #1) > Do you see the same behavior at <http://www.mozilla.org/editor/midasdemo/> ? I just tried. The problem is still there. To reproduce it, just press backspace after inputting every two characters, e.g. input ab then press backspace, then input bc and backspace ...
I forgot to mention changing font size. Below is the result: <font size="2">a<font size="2">b<font size="2">c<font size="2">d</font></font></font></font>
See bug 812638 and note that the use of backspace is needed to reproduce there as well.
Is there any difference between bug 812638 and this bug? Aren't they dupes?
No longer blocks: font_size_bloat
Depends on: font_size_bloat
(In reply to Thomas D. from comment #6) > Is there any difference between bug 812638 and this bug? Aren't they dupes? No answer is also an answer. Current summary and symptoms look same like bug 812638. So unless proven otherwise, let's consider this a duplicate.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.