Skip site navigation (1) Skip section navigation (2)

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-12 09:14:39
Message-ID: o2v8cf965d31004120214yd133c723g671c08fe496e1db7@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-support
Hi Guillaume,

PFA.

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.

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. :-(

--
Thanks & Regards,

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


On Mon, Apr 12, 2010 at 1:04 PM, Guillaume Lelarge
<guillaume(at)lelarge(dot)info>wrote:

> Hi Ashesh,
>
> Le 12/04/2010 03:44, Ashesh Vashi a écrit :
> > Hi Guillaume,
> >
> > On Sat, Apr 10, 2010 at 2:40 PM, Guillaume Lelarge
> > <guillaume(at)lelarge(dot)info>wrote:
> >
> >> Le 17/03/2010 12:34, Guillaume Lelarge a écrit :
> >>> Le 16/03/2010 17:29, Michael Haltrecht a écrit :
> >>>> Even when I rotate my monitor (so it's taller than wider), I can't
> >> scroll to
> >>>> access past the 55th field.
> >>>> The window scroll bars don't seem to take into account the actual size
> >> of
> >>>> the table.
> >>>>
> >>>> This is still an issue in 1.10.2
> >>>>
> >>>
> >>> I added this in our bugtracker :
> http://code.pgadmin.org/trac/ticket/151
> >>>
> >>> Thanks for your report.
> >>>
> >>
> >> I reproduce this quite easily. In fact, we don't have scroll bars in
> >> tables' graphic representation and 55 fields is the maximum number of
> >> fields we can render on the canvas. So, you're right, you can't see past
> >> the 55th field.
> >>
> >> A simple way to fix this would be to have a bigger canvas. A smarter way
> >> to fix this would be to have a growable canvas. The better way would be
> >> to have a growable canvas and resizable tables' graphic representation.
> >>
> >> Ashesh, is there something we can do on this issue?
> >>
> >
> > I have sent a fix for the same for the same in my The-print-support.
> > But, It was never got revisited. :-(
> >
> > If you want, I can resend a patch, which takes care about this only..
> >
>
> If you can do so, yes, that would be great.
>
> Thanks.
>
>
> --
> Guillaume.
>  http://www.postgresqlfr.org
>  http://dalibo.com
>

Attachment: Ticket_151_v1.patch
Description: text/x-patch (10.3 KB)

In response to

Responses

pgadmin-support by date

Next:From: Dave PageDate: 2010-04-12 10:45:35
Subject: Re: Bug: recent files reset
Previous:From: Vikram ADate: 2010-04-12 09:12:54
Subject: Re: File Handling in pgsql

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group