Closed
Bug 269140
Opened 20 years ago
Closed 20 years ago
Firefox command line -width -height broken.
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
VERIFIED
DUPLICATE
of bug 238607
People
(Reporter: mozilla-bugs, Assigned: bugzilla)
Details
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.5) Gecko/20041110 Firefox/1.0 Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.5) Gecko/20041110 Firefox/1.0 The -height and -width options won't work in the following versions: Debian FireFox 1.0 RC1 (on Debian Sid i686) RedHat FireFox 1.0 Preview Release (on RedHat Fedora core2 i686) Mozilla FireFox 1.0 (on solaris 9 sparc) Reproducible: Always Steps to Reproduce: 1./opt/firefox/firefox -width 300 -height 200 Actual Results: a window which isn't the specified size Expected Results: show a window with the specified size.
| Reporter | ||
Comment 1•20 years ago
|
||
Both with and height in mozilla/toolkit/xre/nsAppRunner.cpp both get their value by calling cmdLineArgs->GetCmdLineValue() The other arguments are all using CheckArg(), but they don't have integer values.
| Reporter | ||
Comment 2•20 years ago
|
||
nsDocShell::SetPositionAndSize from docshell/base/nsDocShell.cpp is called with the right arguments, but is called again before the window is shown.
| Reporter | ||
Comment 3•20 years ago
|
||
The width and heigt options do work if i comment out LoadSizeFromXUL(); on line 936 of mozilla/xpfe/appshell/src/nsXULWindow.cpp
| Reporter | ||
Comment 4•20 years ago
|
||
Actually, removing that line seems to solve the bug. Could anybody confirm this? I tried: * Running w/o a ~/.mozilla * Setting -height and -width options on the commandline * Setting height= and width= from localstore.rdf
Comment 5•20 years ago
|
||
*** This bug has been marked as a duplicate of 238607 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•