Closed Bug 282340 Opened 20 years ago Closed 19 years ago

Positioning main window doesn't work.

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED EXPIRED

People

(Reporter: zine46, Assigned: bugzilla)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050202 Firefox/1.0
Build Identifier: Firefox/1.0

I have to install firefox 1.0 on a Linux redhat 7.3. I downloaded the sources
and compiled it without problem with the following options:    
export MOZ_PHOENIX=1  
mk_add_options MOZ_PHOENIX=1    
ac_add_options --disable-ldap  
ac_add_options --disable-mailnews  
ac_add_options
--enable-extensions=cookie,xml-rpc,xmlextras,pref,transformiix,universalchardet,webservices,inspector,gnomevfs,negotiateauth
 ac_add_options --disable-composer  
ac_add_options --enable-single-profile  
ac_add_options --disable-profilesharing  
ac_add_options --disable-debug  
ac_add_options --enable-crypto    
ac_add_options --enable-optimize  
ac_add_options --disable-tests  

mk_add_options MOZ_CO_PROJECT=browser  
ac_add_options --enable-application=browser  
mk_add_options MOZ_OBJDIR=/tmp/mozilla/objdir        

My problem is that I want to put my main window in a specific position of the
screen (eg : screenX=200 and screenY=200). I tried modifying localstore.rdf and
browser.xul but it doesn't solve the problem; I didn't found answer to my
qestion in related bugs. 

How can I do that?    

Thank you for your help.    

NB: Sorry for my english... :-)

Reproducible: Always

Steps to Reproduce:
1.Download the sources of firefox from http://www.mozilla.org/download-mozilla.html
2.Compil with options I give in details
3.try to set a specific position (eg : Position(200,200)) throught the files
localstore.rdf or browser.xul

Actual Results:  
The main window is always displayed in a default postion....


Expected Results:  
The main window must be displayed at the point specified (200,200)
This is an excellent question, but I suspect that you have posed it to the 
wrong forum.

You might find the Third Party Builds Forum 
http://forums.mozillazine.org/viewforum.php?f=42 interesting.

Since what you are seeking to do is similar to creating a kiosk, this
page would be 
helpful http://tln.lib.mi.us/~amutch/pro/phoenix/kiosk/interface.htm 

You probably don't need to do anything with the C++ sources to Mozilla.

The "nature of the beast" is described in the books: 
    Creating Applications with Mozilla http://books.mozdev.org/
    Rapid Application Development with Mozilla
http://www.mozillazine.org/talkback.html?article=4600

You might want to try out various tools such as Patch Maker 
http://www.gerv.net/software/patch-maker/build-mode.html

Though I would urge you to to do a little more thinking and planning,
and in particular to avoid time consuming and unnecessary steps such
as compiling the Lizard from source, please do not think that you
are being "blown off".

"Building Your Own Mozilla-Based Web Browser" by making tiny but 
significant changes to the Mozilla chrome is such an obvious and 
personally satisfying way into developing Mozilla that it is a shame 
that such is so tricky and so sparsely documented. Perhaps when you have 
some achievements that you are ready to declare to the world, you might 
write them up so that the info can be linked to, say, 
http://www.mozilla.org/start/ . I for one would be very keen to hear how 
you get on.

Actually, You saw just. I am building a Kiosk and I
worked with the tutorial written by Andrew Mutchs. 
I searched in forums about my problem however, the
nearest subject I found is about "Restoring position
and size Window" (See Id Bugs 169727 ("Restored window
position and size lost after a full screen") and
158842 ("full screen restored at wrong position")) 

However I have to work with Linux Redhat 7.3 without
upgrading anything.    I will search in the forum that
you noticed me
(http://forums.mozillazine.org/viewforum.php?f=42)
before going around the problem with windows manager
(fvwm2, sawfish....)   

Thank you for your help. 
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.