Closed Bug 154191 Opened 23 years ago Closed 23 years ago

[FIX]Zombie windows prevent normal close of last window

Categories

(Core :: Printing: Output, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

RESOLVED FIXED
mozilla1.0.1

People

(Reporter: trudelle, Assigned: rods)

References

()

Details

Attachments

(1 file)

Using the 6/21 NS verification build, I just got into a state where closing the last window would not trigger the normal app close behavior, in this case a QuickLaunch 'exit'/restart. After closing the last window, there was no indication of any open window, not even in the Windows taskbar, yet the QL icon remained, there was no disk activity associated with QL relaunch, and on subsequent launch of mail I was able to use my account without authenticating. I did notice that there were two blank entries in the Window menu list, but selecting them did not change the active window, nor was there any sign of them on the screen. I was able to get a normal exit using File->Exit. I don't know how to reproduce these invisible windows, but it seems that they should not prevent normal close behavior, since users have no knowledge of them, nor any way to close them, and expect that their mail account is not left open for anyone to use after the last visible window is closed.
Peter, I have seen similar behavior with N4 occasionally (albeit very infrequently). I would close down the last window, then relaunch and not get the splash screen but rather go right to the main window. From the task manager I discovered that there was a zombie process of netscape.exe running. I had to manually kill that process from the task manager. I don't know what causes the machine to get into such a state, but I don't believe it is the fault of the browser (or any other application). More likely some sort of glitch in the operating system.
That doesn't sound like what I reported, which seemed pretty clear was two windows known to the application but invisible to the user except in the Window menu. It may not be high impact, but I don't think we can just write it off as an OS problem.
I just had this happen again, with one zombie window in the menu.
These zombie windows appear to be created when I try to print mail messages, as reported in bug 151902.
Once I set the proper prefs, I get this error on the JS console: Error: window.arguments[3] has no properties Source File: chrome://messenger/content/msgPrintEngine.js Line: 64
um, that code just looks broken. http://www.webreference.com/js/column79/7.html suggests an instanceOf function in case you need one, however not checking that arguments[3] is at least not null is pretty bad.
Assignee: law → rods
Component: XP Toolkit/Widgets → Printing
QA Contact: jrgm → sujay
Attached patch patchSplinter Review
not sure if this fixes the zombie windows, but it is needed anyway
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0.1
Summary: Zombie windows prevent normal close of last window → [FIX]Zombie windows prevent normal close of last window
Comment on attachment 89929 [details] [diff] [review] patch R=ducarroz
Attachment #89929 - Flags: review+
not sure if this is al that is needed to fix it, marking fixed, reopen if necessary
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: