Re: Can't access entire window in Graphical Query Builder (Windows platform)

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: Michael Haltrecht <michael(at)computergeek(dot)ca>, pgadmin-support(at)postgresql(dot)org
Subject: Re: Can't access entire window in Graphical Query Builder (Windows platform)
Date: 2010-04-14 07:35:20
Message-ID: h2k8cf965d31004140035g3bc89363sb4121a1f58047221@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Looks good to me.
But, performance is slow, if I have more number of tables (about more than
10 tables).

I have modified your patch, but for some reason not working..
PFA.. (please check if we can do something about it..)

--
Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise Postgres Company<http://www.enterprisedb.com>

On Wed, Apr 14, 2010 at 12:29 AM, Guillaume Lelarge
<guillaume(at)lelarge(dot)info>wrote:

> Le 13/04/2010 09:01, Guillaume Lelarge a écrit :
> > Hi Ashesh,
> >
> > Le 12/04/2010 11:14, Ashesh Vashi a écrit :
> >> [...]
> >> Right click on GQB will popup a menu (Refresh).
> >> This will adjust the size of the scroll windows, if the table's size
> goes
> >> beyond the current size.
> >>
> >
> > I checked your patch this morning. Works great. Thanks Ashesh.
> >
> >> 1200x800 is the default minimum size of the scrolled window defined by
> the
> >> constants:
> >> *#define GQB_MIN_WIDTH 1280*
> >> *#define GQB_MIN_HEIGHT 800*
> >> *
> >> *
> >> I tried adding the same code, when adding a new table/view.
> >> But, if I select a table for next to get created (by double click on
> >> left-side tree) and then press left clicks few times, the application is
> >> crashing.. Hence, just added this code to work with the pop-up menu. :-(
> >>
> >
> > Didn't try this, but will do tonight. It would be better if it
> > automatically grows the canvas size.
> >
>
> It seems to work with this patch (to apply above your own patch). Can
> you try it, please? It didn't crash for me, but I'm not a good tester.
>
>
> --
> Guillaume.
> http://www.postgresqlfr.org
> http://dalibo.com
>

Attachment Content-Type Size
Ticket_151_v2.patch text/x-patch 12.3 KB

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Guillaume Lelarge 2010-04-14 19:25:04 Re: Can't access entire window in Graphical Query Builder (Windows platform)
Previous Message Guillaume Lelarge 2010-04-13 18:59:06 Re: Can't access entire window in Graphical Query Builder (Windows platform)