Closed Bug 113290 Opened 23 years ago Closed 23 years ago

Freezes when deleting some formatted text

Categories

(Core :: DOM: Editor, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

VERIFIED FIXED
mozilla0.9.9

People

(Reporter: TucsonTester1, Assigned: mozeditor)

References

Details

(Whiteboard: EDITORBASE+, fixinhand; patch in bug 113691)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.6+)
Gecko/20011203 Netscape6/6.1b1
BuildID:    2001120303

When deleting text of different sizes into composer, using the format -> text
size and the two text size buttons on the toolbar, Composer will freeze and
crash, referencing editor.dll.



Reproducible: Always
Steps to Reproduce:
1. Launch Composer
2. Choose format, and text size, change the size of the text to small
3. Type in 10 letters.
4. Click the +a button on the toolbar, and type in 10 more letters.
5. Repeat this until the text has reached the maximum size
6. Hit the -a button on the toolbar and type in four more letters.
7. Repeat this until the text has reached the minimum size.
8. Hit the +a key, and type in 10 more letters.
9. Repeat this until the text has reached the maximum size.
8. Using the mouse, highlight all of the text
9. Press delete on the keyboard

(If this does not work for you, try using more text, or pressing the +a or -a
buttons a few more times).

Actual Results:  Composer freezes when the delete key is pressed.  This was
reproduced on Windows 98SE.

Expected Results:  Composer should not freeze.

Talkback ID:  TB38830267G
Also reproduced on Win2k and OS/2.
WORKSFORME 2001120703
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
verified.
Status: RESOLVED → VERIFIED
I am still seeing this issue on Win 2k using build 2001121003.

I am reopening this bug.

If you are unable to reproduce this bug, try pasting the following text in HTML
Source view, and then switch back to Normal view, hightlight the text, and click
on Delete:

a<big>a<big>a<big>aaaaaaaaaa<small>a<small>a<small>a<small>a<small>aaaaaaaaaa<big>
 a<big>a<big>a<big>a<big>aaaaaaaaaa</big>a<small>a<small>a<small>a<small>
a<small>
aaaaaaaaaa<big>a<big>a<big>a<big>a<big>a<big>aaaaaaaa</big></big></big></big></big></big></small></small></small></small></small></big></big></big></big></small></small></small></small></small></big></big></big>
Status: VERIFIED → UNCONFIRMED
Resolution: WORKSFORME → ---
Using Win XP Pro Gold (Eng. v 5.1.2600) and Mozilla build 2002012403 

I followed the instructions just above and Composer crashed hard. I had to
follow those instructions specifically, though, cutting and pasting the text
exactly to get it to crash. The original instructions did not produce a crash.
Using build 2002012806 on Windows XP Gold I can confirm this. The crash is
unrecoverable. (See my previous post, sorry I didn't just confirm it the first
time.)
Status: UNCONFIRMED → NEW
Ever confirmed: true
I didn't crash, but it took well over 30 seconds for the deletion to happen.
Reassigning to jfrancis, nominating EDITORBASE
Component: Editor: Composer → Editor: Core
Whiteboard: EDITORBASE
*** Bug 114944 has been marked as a duplicate of this bug. ***
assigning to joe, and plussing
Assignee: syd → jfrancis
Keywords: nsbeta1+
Whiteboard: EDITORBASE → EDITORBASE+
Target Milestone: --- → mozilla1.0
the patch to 113691 fixes this.
Status: NEW → ASSIGNED
Whiteboard: EDITORBASE+ → EDITORBASE+, fixinhand; patch in bug 113691
this will land soon, setting to 099
Target Milestone: mozilla1.0 → mozilla0.9.9
fix landed on trunk
Status: ASSIGNED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
Verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.