Closed Bug 542539 Opened 15 years ago Closed 6 years ago

A modal dialog window open by showModalDialog, is maximized, after the browse restarts. Since it is maximized, it cannot be resize using javascript to its correct size.

Categories

(Core :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: culgr01, Unassigned)

Details

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GIS IE 6.0 Build 20080321; .NET CLR 2.0.50727; .NET CLR 1.1.4322; InfoPath.2; NET_mmhpset) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 If you have a Modal Dialog open when you install an add-on, it will be maximized after you restart the browse. Reproducible: Always Steps to Reproduce: 1. showModalDialog 2. install add-on 3. click restart browser Actual Results: The dialog will now be a maximized window. Expected Results: The dialog should be restored to its correct size. The size it was before the restart. When Firefox restarts it remember which pages you were at, session cookies, and probably other things. However, it seems to forget that a window was a modal dialog. For me, it would be fine if it forgot the size of the window, but the window can't be maximized. Since the window is maximized, I cannot resize it. It is not just the full size of the screen; you literally have to click restore, to make it the correct size again.

The showModalDialog API was disabled in Firefox 56 and removed later on. As a result, I believe this bug is no longer present in (more) recent versions of Firefox. Please reopen and needinfo me if you think this bug is still relevant.

Bugmail filter: showModalDialogClosure.

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.