Bug 58588 - mozilla initial geometry (startup position) ignored
Summary: mozilla initial geometry (startup position) ignored
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: mozilla
Version: 7.2
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Christopher Aillon
QA Contact: Ben Levenson
Depends On:
TreeView+ depends on / blocked
Reported: 2002-01-20 22:30 UTC by Karl Berry
Modified: 2007-04-18 16:39 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2005-03-31 08:00:40 UTC

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Mozilla Foundation 20573 None None None Never

Description Karl Berry 2002-01-20 22:30:36 UTC
Description of Problem:
mozilla (and netscape 6 for that matter) apparently ignores the geometry string
at startup.  i've tried the -geometry command line option, as well as -xrm
*geometry, Mozilla*geometry, Netscape*geometry, Netscape6.geometry, and other
such variations.  i've tried changing values in ~/.Xdefaults file removing
~/.Xdefaults altogether.  nothing makes a difference.

both the widthxheight and the +x+y parts of the geometry specification are
ignored.  the explicit -width and -height options do take effect in some
circumstances, although mozilla seems to prefer the window size at last exit of
the program. i haven't found any way at all to specify a startup xy position.

Version-Release number of selected component (if applicable):
Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20010901, build 20010$

How Reproducible:
Steps to Reproduce:
1. mozilla -geometry 100x200+0+0 

Actual Results:
a window whose size is that at the last mozilla exit, randomly positioned.

Expected Results:
a window whose size is 100x200, placed at +0+0.

Additional Information:
i'm currently using the fvwm2 window manager. the problem also occurs with twm
and under gnome/sawfish.

with fvwm2, i've tried both and without several style parameters:
Style * NoPPosition
Style "*etscape*" Icon mini.xpm, NoUSPosition
Style "*ozilla*" Icon mini.xpm, NoUSPosition
Style * SmartPlacement, RandomPlacement

none have made any difference to this problem one way or the other.


Comment 1 Christopher Blizzard 2002-01-25 20:01:29 UTC
Mozilla doesn't support the -geometry option.

Comment 2 Karl Berry 2002-01-28 13:55:51 UTC
1) this certainly seems like a bug to me. -geometry is perhaps the most basic X
option of all to support.
2) i already gathered that -geometry is not supported, that was my original
report. so, is there no way at all to specify the initial window position in
mozilla? this also seems like a significant bug to me.

Comment 3 Joe Harrington 2002-02-21 16:38:52 UTC
I strongly agree.  There *must* be a way to demand the placement of any window
at a specific location and size.  All established methods should be supported,
including X resources and -geometry.  At most, dialog boxes might be excepted.


Comment 4 Christopher Aillon 2005-03-31 08:00:40 UTC

Note You need to log in before you can comment on or make changes to this bug.