Closed Bug 60125 Opened 24 years ago Closed 24 years ago

List Properties dialog remains on the screen

Categories

(Core :: DOM: Editor, defect, P3)

x86
All
defect

Tracking

()

VERIFIED FIXED
mozilla0.9

People

(Reporter: sborusu, Assigned: cmanske)

References

Details

Attachments

(1 file)

From Bugzilla Helper:
User-Agent: Mozilla/4.73 [en] (WinNT; I)
BuildID:    2000101014

I tried to insert a unnumbered bullet and after inserting it I reopened the List 
Properties dialog and selected none under List type and clicked on the OK 
button, List properties dialog remains on the screen.

Reproducible: Always
Steps to Reproduce:
1. Open New Composer window.
2. Select Format->List->List properties
3. Select Bullet(Unnumbered) List as List Type and Solid circle as Bullet Style.
4. Click on OK button.
5. Again Select Format->List->List Properties
6. Now Select None under List Type
7. Click on OK button.

Actual Results:  List Properties dialog remains on the screen

Expected Results:  It should disappear from the screen and the solid circle in 
the composer window should go off.
following steps to repro i get this error in console with linux sea build 20001114

JavaScript error:
 line 0: uncaught exception: [Exception... "Component returned failure code:
0x80004003 (NS_ERROR_INVALID_POINTER)
[nsIEditorShell.GetElementOrParentByTagName]"  nsresult: "0x80004003
(NS_ERROR_INVALID_POINTER)"  location: "JS frame ::
chrome://editor/content/EdListProps.js :: onOK :: line 333"  data: no]

After this, the dialog-box became a "ghost" - flat blue and outlined but no
content, and composer editing area froze. Menuline was still intact and i could
close composer.

Resolving as new, OS: All.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows NT → All
*** Bug 60126 has been marked as a duplicate of this bug. ***
reassign to jfrancis
Assignee: beppe → jfrancis
Target Milestone: --- → mozilla0.9
charlie, can you look into why GetElementOrParentByTagName() is failing?
Assignee: jfrancis → cmanske
I'll look into it.
Status: NEW → ASSIGNED
Attached patch Fix for bugSplinter Review
I had a zombie List Properties dialog box when trying to make a list item no 
longer a list.  The window could be dragged around, leaving a trail of edges 
everywhere.  The program continued to work, including with the cursor in the 
middle of the box and its trails.

A demo of the bug is contained within:

  http://gair.firstpr.com.au/public-files/mozilla-bugs/mb-comp-space-3.html

This is with a nightly build, Win98, 2000112908.  It happened every time I 
tried.


We can now remove a list from the List Properties dialog (that what was causing
the described behavior.)
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
verified in 1/17 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: