Save and restore setup.exe window geometry attempt #2

Jonathon Merz jonathon.merz@gmail.com
Thu May 21 17:11:00 GMT 2009


On Thu, May 21, 2009 at 11:29 AM, Christopher Faylor wrote:
> On Thu, May 21, 2009 at 11:23:36AM -0400, Charles Wilson wrote:
>>Christopher Faylor wrote:
>>> That doesn't sound right.  That sounds like it means that you are
>>> ditching the current behavior which I, and others, obviously are
>>> satisfied with, in favor of forcing people to resize the chooser screen
>>> themselves.
>>
>>I thought that was the whole point, here.  That the chooser would be
>>resizable to a specific size, and would *remember* that size for next
>>time. So, sure, you might have to resize the chooser once, when the new
>>setup is distributed. But after that, you wouldn't.  You, I, and others
>>might be happy with the current maximize-always behavior, but I thought
>>there were at least some folks (with extremely large screens?) who
>>wanted the chooser a bit smaller. With resize-and-remember, we all win,
>>don't we?
>
> Boy this is tedious.
>
> No, it is not the same.  We're talking about the default behavior.  The
> default should be maximized.  If that makes someone's eyes bleed then they
> can change it for the future.

I think I have a better understanding now.  I may wish I'd started
this discussion before I started submitting patches, but better late
than never I hope.

As I understand things now:
- The chooser screen, but not the rest of setup, should maximized any
time it is run and finds no saved geometry, in particular, the first
time setup is run

- When setup is run with a saved geometry, the saved geometry should be used.


If those are correct, the questions I see now are:
1. Should the saved geometry be used for all screens in setup, or only
for the chooser?

2. If the geometry should apply to all screens, then:
   2a. If the window is resized prior to the chooser screen on the
initial run, does that geometry apply to the chooser screen, or should
the chooser screen still maximize?

   2b. If the chooser screen still maximizes when prior screens have
been resized, is it correct to only save geometry changes that are
made to the chooser screen and ignore all other resizings?


Jonathon



More information about the Cygwin-apps mailing list