Cursor movement is off after entering a multi-line paragraph

RESOLVED DUPLICATE of bug 358361

Status

RESOLVED DUPLICATE of bug 358361
12 years ago
12 years ago

People

(Reporter: davor.cubranic, Assigned: mscott)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.5) Gecko/20060731 Ubuntu/dapper-security Firefox/1.5.0.5
Build Identifier: version 1.5.0.5 (20060728) on Ubuntu Dapper 64bit 

When I enter a paragraph of about three lines into the composer and position the cursor at the end of the last line, pressing the up-arrow key will move the cursor to the *beginning* of the preceding line. The cursor stays at the beginning of a line as it is further moved up.

Reproducible: Always

Steps to Reproduce:
1. Enter three lines of text into a new mail composer window (auto-detect the format, with default for plain-text). This has to be typed-in, pasting doesn't trigger the bug. Do not press enter.
2. The cursor is at the end of the last line. Press the up-arrow key.

Actual Results:  
The cursor moves to the beginning of the second line.

Expected Results:  
The cursor should have moved to the end of the second line.

Pressing the End key in the first or second line and then using the arrow-up and -down keys leaves the cursor at the end of the line.

Comment 1

12 years ago
Hello,

I have had a very similar bug for the past while. The only difference is that it the cursor doesn't always stay at the beginning of the line when continuing to move the cursor up and down in the message - it jumps to the end of very short lines.

The cursor also seems to jump around randomly from the beginning of the line to the expected position when the paragraphs are shorter than three lines. This is always reproducible. I'm also using Ubuntu (the bug existed in Ubuntu 6.06 and now also in 6.10 in a clean Thunderbird 1.5.0.8 (20061115) install). 

(In reply to comment #0)
> User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.5)
> Gecko/20060731 Ubuntu/dapper-security Firefox/1.5.0.5
> Build Identifier: version 1.5.0.5 (20060728) on Ubuntu Dapper 64bit 
> 
> When I enter a paragraph of about three lines into the composer and position
> the cursor at the end of the last line, pressing the up-arrow key will move the
> cursor to the *beginning* of the preceding line. The cursor stays at the
> beginning of a line as it is further moved up.
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. Enter three lines of text into a new mail composer window (auto-detect the
> format, with default for plain-text). This has to be typed-in, pasting doesn't
> trigger the bug. Do not press enter.
> 2. The cursor is at the end of the last line. Press the up-arrow key.
> 
> Actual Results:  
> The cursor moves to the beginning of the second line.
> 
> Expected Results:  
> The cursor should have moved to the end of the second line.
> 
> Pressing the End key in the first or second line and then using the arrow-up
> and -down keys leaves the cursor at the end of the line.
> 

Comment 2

12 years ago
Dupe of bug 358361?  (Yes, this was reported first, but I saw that one first and confirmed it already.)
(Reporter)

Comment 3

12 years ago
(In reply to comment #2)
> Dupe of bug 358361?  

Looks like it.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 358361
You need to log in before you can comment on or make changes to this bug.