Re: bug in cvs of PGadmin 3 - Mailing list pgadmin-support

From Dave Page
Subject Re: bug in cvs of PGadmin 3
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E41A7AA4@ratbert.vale-housing.co.uk
Whole thread Raw
In response to bug in cvs of PGadmin 3  (Tony Caduto <tony.caduto@amsoftwaredesign.com>)
List pgadmin-support

> -----Original Message-----
> From: pgadmin-support-owner@postgresql.org
> [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of Tony Caduto
> Sent: 09 September 2004 00:56
> To: pgadmin-support@postgresql.org
> Subject: [pgadmin-support] bug in cvs of PGadmin 3
>
> Hi,
> I noticed that every secondary window like the function
> editor, table editor etc are all set to stay on top form
> styles.  This behavior is not like any windows application
> out there.  The problem is you can't switch focus to any
> other application when you are editing a function and have
> the window maximized or enlarged in anyway.  PGAdmin forms
> block the entire desktop because they are set to stay on top,
> at least on win32.
>
> A form/window should only be stay on top for things such as
> notification windows.
>
> Do you see what I am saying?

Property windows and the help window stay on top of the main pgAdmin Window, but not any other apps.

The password and options dialogues do appear to be full 'stay on top' windows which will cover anything (I'll look at
that).

Other windows like the edit grid and query tool can go anywhere in the zorder.

> Also  the forms should spawn screen center or parent center,
> then the user can decide if it should be maximized or
> manually resized.

I just cleared my registry settings to be sure, and the code behaves as it should. Windows first display
center-on-parent(with the exception of the Add Database dialogue which seems to be center on screen for some reason). 

However, following that, the dialogue positions (and sizes) are stored in the registry so that dialogues will reopen at
theposition you last used then in. 

> I am not trying to be a pain in the rear, but I have been
> developing windows apps using Delphi for years and I have
> never seen a app exhibit this weird windows placement behavior.  

With the exception of the 2 stay-on-tops and one center on screen, I don't see anything weird about it.

> Please please fix this as it is a huge PITA.
>
> Of course I could fix it myself, but then I would have to
> redo it everytime a new version comes out.

This is open source - if you fix something yourself, send a patch and we'll apply it if it is appropriate :-)

Regards, Dave


pgadmin-support by date:

Previous
From: Tony Caduto
Date:
Subject: bug in cvs of PGadmin 3
Next
From: Miha Radej
Date:
Subject: locally running servers