Closed
Bug 80937
Opened 24 years ago
Closed 24 years ago
right arrow at end of textarea crashes
Categories
(Core :: Layout: Form Controls, defect, P1)
Core
Layout: Form Controls
Tracking
()
VERIFIED
FIXED
mozilla0.9.1
People
(Reporter: olaf, Assigned: mjudge)
References
Details
(Keywords: crash, regression)
Attachments
(2 files)
1.46 KB,
patch
|
Details | Diff | Splinter Review | |
1.58 KB,
patch
|
Details | Diff | Splinter Review |
Pressing the right arrow key at the end of the text in a TEXTAREA sometimes
wraps the cursor around to the start of the text, but in most cases causes segfault.
Linux CVS on 20010515.
Updated•24 years ago
|
Comment 1•24 years ago
|
||
I cannot reproduce on Linux RedHat 6.2 build 2001-05-15-08-trunk...
Comment 2•24 years ago
|
||
caused by or related to fix for #68367?
-->mjudge
Assignee: rods → mjudge
Keywords: regression
Comment 3•24 years ago
|
||
Just filed related/duplicate bug. Difference is that there is no crash. See
#81379: Cursor wraps from the end of text to the beginning in a textarea.
Comment 5•24 years ago
|
||
I'm seeing the wrapping (not the crash) on all textareas and in the text input in
the bugzilla sidebar.
Comment 10•24 years ago
|
||
Crashes in gklayout.dll on windows, setting all/all. Updating summary to cover
two cases that seem to be covered by this bug.
OS: Linux → All
Hardware: PC → All
Summary: right arrow at end of TEXTAREA -> crash → right arrow at end of textarea crashes; right arrow at end of textbox wraps
Comment 11•24 years ago
|
||
I can't reproduce this on win98 using the build from 2001051720
Comment 12•24 years ago
|
||
bingo!
I can reproduce this every time with these steps. very easily:
1) launch netscape
2) jump to http://bugzilla.mozilla.org
3) Enter a new bug report
4) choose product = Browser
4) click in the "Description" field
5) right arrow
CRASH!
Comment 13•24 years ago
|
||
more info:
happens even though you have text in the description.
found using 5/22 build on Win 98
only happens for Description field in New bug page
talkback report ID = 30768588
Comment 14•24 years ago
|
||
*** Bug 82151 has been marked as a duplicate of this bug. ***
Comment 15•24 years ago
|
||
It crashes in nsFrame::GetFrameFromDirection(), at
3733: result = lastFrame->GetNextSibling(&lastFrame);
because lastFrame is null when lineFrameCount == 4.
"it" (thanks for the descriptive name) here is a nsTableRowGroupFrame.
Comment 16•24 years ago
|
||
Note that the textarea wrapping problem only happens if the text is long enough
for the textarea to have a vertical scrollbar. It doesn't happen when the
textarea doesn't have a scrollbar.
Comment 17•24 years ago
|
||
Additional note to previous note by mpt: On linux, the scrollbar appears
immediately when a single character is entered to the textarea -> a single
character is enough to replicate this behaviour.
Assignee | ||
Comment 19•24 years ago
|
||
Assignee | ||
Comment 21•24 years ago
|
||
oops just realized i removed an assertion. that was not necessary and I would
like to leave it. here is a simpler patch.
Assignee | ||
Comment 22•24 years ago
|
||
Comment 23•24 years ago
|
||
Comment 24•24 years ago
|
||
r=cmanske
Comment 25•24 years ago
|
||
a= asa@mozilla.org on behalf of drivers
Comment 26•24 years ago
|
||
*** Bug 82589 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 27•24 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 28•24 years ago
|
||
Most of the dups here are about the wrapping. Is that fixed now?
Comment 29•24 years ago
|
||
No, the wrapping isn't fixed. I reopened bug 82151 for that case, since (in all
modesty:-) I think the steps to reproduce for that bug are the most precise of
the various wrapping duplicates.
Comment 31•23 years ago
|
||
If it got fixed, then it subsequently got un-fixed. It's happening on build
2001112009 under Windows 98.
The conditions described earlier seem to continue to hold: Enter enough text for
the vertical scrollbar to appear, then right-arrow past the end of the textarea.
The cursor will (usually) wrap to the beginning of the textarea.
Other neat trick you can try: Enter more than one line of text into a text
area; leave a hanging line (unterminated with a carriage return). Press
up-arrow until you reach the beginning (first character) of the textarea. Press
down-arrow until you are on the last line. Press down-arrow once more; the
cursor will move to the end of the line. Then press right arrow; the cursor
will wrap to the beginning of the line.
Even more fun: Enter lines of text. Press left-arrow a few times to back up,
then press right-arrow repeatedly to move to the end of the line; the cursor
will stay there. Now press down-arrow; on my machine, the cursor will move
backwards about one pixel.
Comment 32•23 years ago
|
||
Leo--please see bug 82151
Summary: right arrow at end of textarea crashes; right arrow at end of textbox wraps → right arrow at end of textarea crashes
Whiteboard: FIXINHAND
You need to log in
before you can comment on or make changes to this bug.
Description
•