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

Re: Visual relicts gqb

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pg(at)kuhnsteffen(dot)de, pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Visual relicts gqb
Date: 2010-08-31 12:47:06
Message-ID: AANLkTi=QbkJMW=twR6H5=soaBEJTFp6W2tW8aRgiy=S2@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
Dave,

If you have bigger screen with higher resolution, you will be able to
reproduce the same on your side.
That's because of the values of GQB_MIN_WIDTH->1200 and GQB_MAX_HEIGHT->800.

If we set it to some high values for the same, it can be resolved easily,
but it is not the correct solution.
The patch will take care of it.

*--**
**Thanks & Regards,**

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


On Tue, Aug 31, 2010 at 6:11 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:

> Thanks Ashesh. Steffen - I can't reproduce the issue here; can you test the
> patch please, and confirm it resolves the issue for you, without introducing
> any regressions?
>
> Thanks.
>
>
> On Mon, Aug 30, 2010 at 2:51 PM, Ashesh Vashi <
> ashesh(dot)vashi(at)enterprisedb(dot)com> wrote:
>
>> Hi Guillaume/Dave,
>>
>> Please find the patch for the same.
>>
>>
>> *--**
>> **Thanks & Regards,**
>>
>> **Ashesh Vashi**
>> **EnterpriseDB INDIA:* Enterprise Postgres Company<http://www.enterprisedb.com>
>>
>>
>> On Mon, Aug 30, 2010 at 6:21 PM, Ashesh Vashi <
>> ashesh(dot)vashi(at)enterprisedb(dot)com> wrote:
>>
>>> That's means - the current hard coded value: GQB_MIN_WIDTH->1280
>>> & GQB_MIN_HEIGHT->800 are not enough on some system.
>>> We need some way to identify  the actual size of the window, by modifying
>>> the updateModelSize function in the gqb/gqbView.cpp file.
>>>
>>> I am working on it.
>>>
>>> *--*
>>> *
>>> **Thanks & Regards,**
>>>
>>> **Ashesh Vashi**
>>> **EnterpriseDB INDIA:* Enterprise Postgres Company<http://www.enterprisedb.com>
>>>
>>>
>>>
>>> On Mon, Aug 30, 2010 at 6:11 PM, Steffen Kuhn <pg(at)kuhnsteffen(dot)de> wrote:
>>>
>>>> Hi Ashesh,
>>>>
>>>> moving behind this point / border is possible.
>>>> A refresh does not trigger a repaint. But a double click
>>>> for adding an alias does and the border moves a bit to the right and
>>>> the table is viewed completely.
>>>>
>>>> Regards Steffen
>>>>
>>>>
>>>> On 30.08.2010 13:37 "Ashesh Vashi" <ashesh(dot)vashi(at)enterprisedb(dot)com>
>>>> wrote:
>>>> > Hi Steffen,
>>>> >
>>>> >
>>>> >
>>>> > Can add a table in to that view and take it to beyond that point and
>>>> say
>>>> > 'refresh'?
>>>> >
>>>> > Does it refresh it well?
>>>> >
>>>> >
>>>> >
>>>> > -- Thanks & Regards, Ashesh Vashi EnterpriseDB INDIA:Enterprise
>>>> Postgres
>>>> > Company <http://www.enterprisedb.com>
>>>> >
>>>> >
>>>> >
>>>> > On Mon, Aug 30, 2010 at 4:57 PM, Steffen Kuhn <<pg(at)kuhnsteffen(dot)de>>
>>>> > wrote:
>>>> >
>>>> > > Hi Ashesh,
>>>> > >
>>>> > > no refresh does not solve the problem.
>>>> > >
>>>> > > Regards Steffen
>>>> > >
>>>> > >
>>>> > > On 30.08.2010 12:37 "Ashesh Vashi" <<ashesh(dot)vashi(at)enterprisedb(dot)com
>>>> >>
>>>> > > wrote:
>>>> > >
>>>> > > > Hi Stefen,
>>>> > > >
>>>> > > >
>>>> > > >
>>>> > > > Does right click on canvas and press "refresh" context menu
>>>> resolves
>>>> > > > the
>>>> > > > issue?
>>>> > > >
>>>> > > >
>>>> > > > -- Thanks & Regards, Ashesh Vashi EnterpriseDB INDIA:Enterprise
>>>> > > > Postgres
>>>> > >
>>>> > > > Company <<http://www.enterprisedb.com>>
>>>> > >
>>>> > >
>>>> > >
>>>> > > >
>>>> > > >
>>>> > > >
>>>> > > > On Mon, Aug 30, 2010 at 3:38 PM, Steffen Kuhn
>>>> > > > <<<pg(at)kuhnsteffen(dot)de>>>
>>>> > > > wrote:
>>>> > > >
>>>> > > > > Hi Guillaume,
>>>> > > > >
>>>> > > > > there are still this strange visual relicts (seen on Windows
>>>> > > > > Vista) in
>>>> > > > > pgAdmin III 12.0 rc1.
>>>> > > > > See a screenshot attached. It looks like the "canvas" size is
>>>> not
>>>> > > > > determined
>>>> > > > > correct and difference is not repainted.
>>>> > > > >
>>>> > > > > Regards Steffen
>>>> > > > >
>>>> > > > > --
>>>> > > > > Sent via pgadmin-hackers mailing list
>>>> > > > > (<<pgadmin-hackers(at)postgresql(dot)org>>)
>>>> > > > > To make changes to your subscription:
>>>> > > > > <<http://www.postgresql.org/mailpref/pgadmin-hackers>>
>>>> > > > >
>>>> > > > >
>>>> > > >
>>>> > > >
>>>> > >
>>>> >
>>>> >
>>>>
>>>> --
>>>> Sent via pgadmin-hackers mailing list (pgadmin-hackers(at)postgresql(dot)org)
>>>> To make changes to your subscription:
>>>> http://www.postgresql.org/mailpref/pgadmin-hackers
>>>>
>>>
>>>
>>
>>
>> --
>> Sent via pgadmin-hackers mailing list (pgadmin-hackers(at)postgresql(dot)org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgadmin-hackers
>>
>>
>
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise Postgres Company
>
>

In response to

Responses

pgadmin-hackers by date

Next:From: Dave PageDate: 2010-08-31 14:24:56
Subject: pgAdmin III commit: Fix a drawing glitch in the GQB,if the canvas exce
Previous:From: Dave PageDate: 2010-08-31 12:41:58
Subject: Re: Visual relicts gqb

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