Closed Bug 230883 Opened 22 years ago Closed 22 years ago

when debug internal window with is closed, it remains in "Window" menu windows list.

Categories

(Rhino Graveyard :: Core, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: san, Assigned: igor)

Details

Attachments

(1 file, 1 obsolete file)

User-Agent: Mozilla/5.0 (compatible; Konqueror/3.1; Linux) Build Identifier: In Rhino debugger, files being debugged are opened as a JInternalFrames, and their list is maintained internally (caches) and also they appear in Window menu. When user closes the window, there's no handler to remove it from cache and from menu. Reproducible: Always Steps to Reproduce: 1. Start JS debugger (org.mozilla.javascript.debugger.Main) 2. Open several files. Note the list of files in "Window" menu. 3. Close all windows with files. Actual Results: In "Window" menu all windows are still listed. Expected Results: There must be empty list. The cleanup code exists, but doesn't get called, as it is accidentally removed.
Attached patch patch (obsolete) — Splinter Review
The path is resonable, I will include it after testing
Assignee: nboyd → igor
Summary: when debug internal window with is closed, it remains in "Window" menu windows list. → when debug internal window with is closed, it remains in "Window" menu windows list.
The patch version that applies without fuzz to Rhino CVS tip.
Attachment #139020 - Attachment is obsolete: true
I committed the patch, thanks Alex for spotting this!
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Trageting as resolved against 1.5R5
Target Milestone: --- → 1.5R5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: