Thread: bug in cvs of PGadmin 3

bug in cvs of PGadmin 3

From
Tony Caduto
Date:
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?

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

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.  

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.


Thanks,

Tony Caduto
Senior Programmer/Analyst
M&I Trust Company


Re: bug in cvs of PGadmin 3

From
"Dave Page"
Date:

> -----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