Closed Bug 327205 Opened 19 years ago Closed 18 years ago

Default window size should be updated on window close, not window open

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 331408

People

(Reporter: jpotter, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

Firefox currently updates its default window size whenever a new window is opened. This is very annoying, because if a popup window is opened, or an existing window is resized by a script, the default window size is automatically changed.

FF should instead only update its default window size whenever a window is closed. That way, the user can control the default window size by closing popups first and then closing the original window (or, if only a popup is open, they at least have a chance to open a new window at their preferred size before closing the popup).


Reproducible: Always

Steps to Reproduce:
1. Browse to a site that opens a new window with a specified size, or resizes the current window
2. Close the resized window
3. All future FF windows now adopt the new size automatically
Actually the Steps to Reproduce can be even simpler:

1. Resize your current window
2. Open a new window
3. The new window adopts the size of the current window

Marking WONTFIX because:

1) If the sizes of popups influence the sizes of new user-opened windows, *that* is the problem (and not the fact that users can't work around that by carefully closing windows in a certain order).

2) If I resize a window and open a new one, the new one should be the same size as the just-resized window.  I shouldn't have to close a window just to make my preferred window size (temporary or permanent) "stick".

As for (1), WFM with some simple JavaScript that opens a new window with a specified size.  If you can reproduce, please file a new bug about that issue (giving a URL if necessary, and clear steps to reproduce).  I tested using using Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20060210 Firefox/1.6a1.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
Here is a URL that for me, in FF 1.5.0.1, resizes the window to full-screen. If that was your only FF window open then hey presto, you've suddenly lost all trace of your carefully selected default size.

http://www.youtube.com/watch_fullscreen?video_id=iVI6xw9Zph8&l=210&fs=1&title=Multi-Touch%20Interaction%20Research

Setting the default window size should be a definite action (with, say, a "Save Default Window Size" menu command, just for a radical suggestion). It should not happen automatically.
Status: RESOLVED → UNCONFIRMED
Resolution: WONTFIX → ---
I agree with you that JavaScript resizes affecting the default window size is a problem, but both of the solutions you've proposed (in the summary, "default window size should be updated on window close, not window open", and in comment 3 and bug 331408 comment 0, adding a menu command for setting the default window size) are WONTFIX.

Instead of marking both of your bugs as WONTFIX, I've changed the summary of bug 331408 to what I think would be a more sane solution, and I'm marking this as a dup.

*** This bug has been marked as a duplicate of 331408 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.