Can not place selection on empty line, with some text strings

NEW
Assigned to

Status

()

16 years ago
9 years ago

People

(Reporter: kaie, Assigned: mozeditor)

Tracking

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

16 years ago
This is a very bizarre bug, I hope you will be able to reproduce.
I can reproduce the bug using:
- latest official trunk from 26th of May
- a personal build from 9th of May, which was before 1.4 branched

I will attach a text string. Note that it does not end with a newline.

How to reproduce the bug:
- open the attachment
- select and copy all text, make sure you don't get any trailing linebreak. If
you want to make really sure you get the correct text, save the attachment to
your disk, open with notepad, select all, copy
- go to http://bugzilla.mozilla.org/enter_bug.cgi?product=Browser
  the page to file a new bug
- click into the "Description" field
- paste the text
the caret will now be on the end of the description field.
The last line does not wrap.
You should see an empty line before the last line.
- use the mouse and try to click at the empty line

Actual behaviour:
  You are unable to place the caret into the empty line.

For some reason, I only see the bug with that particular text.
As soon as I paste a slightly modified text, all works fine.
(Reporter)

Comment 1

16 years ago
Created attachment 124258 [details]
Weird plain text to copy and paste
(Reporter)

Comment 2

16 years ago
I also can reproduce this bug with Mozilla 1.3.1 and Netscape 7.01.
(Reporter)

Comment 3

15 years ago
It's not likely that I will work on editor/selection bugs in the near future.
Mass assining my bugs to nobody.

Assignee: kaie → nobody

Comment 4

15 years ago
-->floppy (although he may want to reassign back to nobody or module owner)
Assignee: nobody → mozeditor
QA Contact: pmac → selection
You need to log in before you can comment on or make changes to this bug.