commit - Re: bug 2549 (win32 windows initial state)


Subject: commit - Re: bug 2549 (win32 windows initial state)
From: Michael D. Pritchett (mpritchett@attglobal.net)
Date: Wed Jan 16 2002 - 15:11:17 CST


On Wed, 16 Jan 2002, Kenneth J.Davis wrote:

> Attached is a patch that will allow all windows besides the
> 1st created one to use the stored size (width & height).
>

Patch committed.

>
> A side affect of this is that if you open multiple windows,
> then resize one of them and close it, subsequently opened windows
> will use the last closed window's size. This isn't necessarily
> a bad thing, and is of course the easiest to implement as it
> is done, but would it be better to store the initial size used
> and within a given process (ap_win32app instance?) continue to use
> this same value (so all windows opened use the same size)?
> Other options I can think of include using the size used as
> above, but once a window is resized use this size for all new
> windows, or if there is a way to tell the last active abiword
> window, perhaps its size should be used.
>
> Is this autoplacement behavior acceptable, or should I add the
> logic to ensure each new window is opened down & to the right
> from the last opened window, restarting in the upper left once
> the bottom of the screen is reached?
>

This is the same logic that we generally get with IE and multiple windows.
As we are attempting to use an IE-like MDI - I think you got it right.
The only logic that may be missing is that if the open window is placed
outside of screen area - maybe it should shift. But this is better than
it was.

>
> Thank you,
> Jeremy Davis
> jeremyd@computer.org
>

Great work Jeremy. Cheers!

Michael D. Pritchett



This archive was generated by hypermail 2b25 : Wed Jan 16 2002 - 15:26:43 CST