How to make my preferred window size/position stick?

Answered by: John Dreystadt (PTC) and Steve Thompson Last Updated: 2006-09-16

=Question by N.N.=

In the preference file I find some window geometry settings that look like this:

                </Windows>

Can anyone tell me where to find a definition of these setting? The help system doesn't get any hits for "geometry" and "Window name" just brings up ACL stuff; nothing on the preference file. The settings for Window name="editor" do not seem to affect the Arbortext Editor window and I can't seem to figure out how to make my prefered window size/position stick. Surely this stuff is defined somewhere.

=John Dreystadt answers=

If you go into the Preferences panel, the Window category, and set "Save Window Configuration on Exit" to Always, get your window set up the way you like it, exit, come back into the Editor, and reset "Save Window Configuration on Exit" to Never, you should get the effect you are looking for. I don't believe this area is documented, we are reserving the right to change this without notice.

=Steve Thompson added=

Steve Cogorno wrote: >It's definitely a problem on Solaris. The window geometry in >the preferences files are not always honored. In fact, it seems >to be rather random.

Your mention of your operating system raises another possible aspect of the 'problem'.

On our WindowsXP machines, my Architect window and Epic Editor windows open the same size as last saved configuration. However, even though the Architect window holds its location, the Epic Editor window moves around a bit, much like opening multiple IE windows in a single session.

Maybe the operating system is overriding precise screen position in an attempt to prevent one window hiding behind another? That's what I believe causes my Editor windows to be shifted. They're in the same general section of the screen, and never have any part of them outside the visible area of the screen, but they're also never quite the same place as the last time.

Just ruminating a bit.