Closed Bug 342684 Opened 18 years ago Closed 18 years ago

Weird insertion of new line into textarea when using CTRL+A, right-arrow, then inserting any character

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 125766

People

(Reporter: sciguyryan, Unassigned)

Details

This is another weird one... Here are the steps to reproduce it. 1. Type anything on a single line in a textarea. 2. Highlight all the text using CTRL+A 3. Copy the text using CTRL+C 4. Move the caret using the right arrow key (no mouse). 5. Insert a space and it will go to a new line. Don't think this is desired behaviour so reported it as a bug, no need for a testcase because it only involves a textarea.
Reproduced in: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20060624 Minefield/3.0a1 ID:2006062405 Step 3 is not necessary.In step 5, you can type any character, not necessarily a space.
OS: Windows XP → All
Hardware: PC → All
Actually, this is probably the same as bug 125766 (which describes the special case of pressing Enter in step 5).
(In reply to comment #1) > Step 3 is not necessary.In step 5, you can type any character, not necessarily > a space. > Updates desc.
Summary: Weird insertion of new line into textarea when using CTRL+A, CTRL+C then inserting a space. → Weird insertion of new line into textarea when using CTRL+A, CTRL+C then inserting any character.
Summary: Weird insertion of new line into textarea when using CTRL+A, CTRL+C then inserting any character. → Weird insertion of new line into textarea when using CTRL+A, right-arrow, then inserting any character
I suppose the only reasonable way to fix this would be by fixing bug 240933.
Depends on: 240933
Marking as duplicate of 125766. I added bug 125766 comment 14 to describe the general problem. *** This bug has been marked as a duplicate of 125766 ***
Status: NEW → RESOLVED
Closed: 18 years ago
No longer depends on: 240933
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.