Open Bug 467983 Opened 16 years ago Updated 2 years ago

Changing line positions while deleting lines in message composer window

Categories

(Thunderbird :: Message Compose Window, defect)

defect

Tracking

(Not tracked)

People

(Reporter: piecu, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.1b1) Gecko/20081007 Firefox/3.1b1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20081201 Thunderbird/3.0b1

I have a massage in my Inbox in HTML format. I'm trying to reply to it - composer window appears (HTML composing is enabled). I put the cursor in the beginning of the first line and press Shift + twice Down Arrow (second line is empty), then Delete. The result is that the first two lines are deleted but the fourth line is now before the third line (they are changing their positions!).

I'm attaching a text that you should put into your Inbox file to reproduce it. Details below.

Reproducible: Always

Steps to Reproduce:
1. Create a new profile.
2. Add a mail account.
3. Close Thunderbird.
4. Go to the newly created profile directory and put into (empty) Inbox file the content of the attachement.
5. Start Thunderbird.
6. Ensure that HTML composing is on (Tools -> Account Settings -> Your Account -> Composition & Addressing -> Compose messages in HTML format (must be checked).
7. Select mail with Lorem Ipsum subject in Inbox folder and press Reply.
8. Put the cursor at the beggining of the first line of a quote and press Shift + twice Down Arrow. Then press Delete (you will see similar instruction in that mail).
Actual Results:  
The second not empty line ("This is the second line of a message.") is now before the third not empty line ("And this is the third line of a message...") and the third line is on now after the first "Lorem ipsum" line.

It looks like this:

And this is the third line of a message...
 
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
This is the second line of a message. 

Expected Results:  
Quote should look like this:

This is the second line of a message.
And this is the third line of a message...
 
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Attached file Testcase
Flags: blocking-thunderbird3?
Version: unspecified → Trunk
WFM Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b3pre) Gecko/20081209 Shredder/3.0b2pre

can you reproduce using current nightly?
Severity: major → minor
(In reply to comment #2)
> can you reproduce using current nightly?

Yes, the same error in Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.1b3pre) Gecko/20090105 Shredder/3.0b2pre
I can't seem to repro on OS/X.  Denying blocking, but would reconsider with more data.
Flags: blocking-thunderbird3? → blocking-thunderbird3-
Can anyone confirm this?
Reproduced with: Mozilla/5.0 (X11; U; Linux i686; pl; rv:1.9.1.3pre) Gecko/20090824 Shredder/3.0b4pre
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: x86 → All
Any progress on this? It's very annoying while composing messages in HTML format.
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: