Re: Database bar

From: Erwin Brandstetter <brandstetter(at)falter(dot)at>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: "pgadmin-hackers(at)postgresql(dot)org" <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Database bar
Date: 2011-06-11 20:24:23
Message-ID: 4DF3CEF7.7000900@falter.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On 11.06.2011 18:16, Guillaume Lelarge wrote:
> On Sat, 2011-06-11 at 18:13 +0200, Erwin Brandstetter wrote:
>> On 11.06.2011 17:17, Guillaume Lelarge wrote:
>>> On Sat, 2011-06-11 at 16:02 +0200, Erwin Brandstetter wrote:
>>>> On 28.05.2011 15:56, Guillaume Lelarge wrote:
(...)
>>>>> So, I finally did some fixes:
>>>>>
>>>>> * "Database bar" has been renamed to "Connection bar".
>>>>> * The connection bar is larger. (check if it is enough, it's quite hard
>>>>> to be sure of it)
>>>>> * The connection name doesn't contain the rolename.
>>>> I tried the new 1.14 beta2 on Win XP today.
>>>> "Connection bar" has arrived.
>>>> But the control is exactly the same size as it was in 1.12.3. The growth
>>>> got lost somehow?
>>>>
>>> Strange. Can you check your Perspective setting in the frmQuery group?
>>> Empty it and relaunch pgAdmin.
>> Sorry, I don't know what that means.
>> Are you referring to the source code? I have only donwnloaded the
>> provided binary ...
>>
> I think you don't have the new size because the old one is recorded in
> your preferences. On Windows, it's stored in the registry. Can you look
> with regedit, find the Perspective value of the frmQuery group, and
> delete it?
>
> If you've never used regedit, it's probably better not to.

Ah, registry settings.
Most people will update from a previous version and run into the same
problem ..

I have 12 entries named perspective-.* I attached the names and values
for the first and last one. Which am I supposed to delete? All of them?
These values are just to remember the previous state of the GUI, I am
not losing other settings, right?
In case this should be relevant: I have installed pgAdmin 1.10, 1.12,
and 1.14 in parallel on the PC in question.

What's confusing: the size of the connection bar cannot be adjusted in
any way, so why save it to the registry?

Regards
Erwin

-- My registry settings in HKEY_CURRENT_USER\Software\pgAdmin III\frmQuery
...
Perspective-
layout2|name=toolBar;caption=Tool
bar;state=16788208;dir=1;layer=10;row=0;pos=0;prop=100000;bestw=415;besth=23;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=databaseBar;caption=Database
bar;state=16788208;dir=1;layer=10;row=0;pos=426;prop=100000;bestw=250;besth=21;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=696;floaty=266;floatw=267;floath=49|name=outputPane;caption=Output
pane;state=16779260;dir=3;layer=0;row=0;pos=0;prop=100000;bestw=550;besth=300;minw=200;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=scratchPad;caption=Scratch
pad;state=16779262;dir=2;layer=0;row=0;pos=0;prop=100000;bestw=250;besth=200;minw=100;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=sqlQuery;caption=SQL
query;state=1020;dir=5;layer=0;row=0;pos=0;prop=100000;bestw=350;besth=200;minw=200;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|dock_size(1,10,0)=25|dock_size(5,0,0)=202|dock_size(3,0,0)=300|

Perspective-6329
Perspective-6405
Perspective-6458
Perspective-6552
Perspective-6930
Perspective-7127
Perspective-7181
Perspective-7945
Perspective-8187
Perspective-8269

Perspective-8316
layout2|name=toolBar;caption=Tool
bar;state=16788208;dir=1;layer=10;row=0;pos=0;prop=100000;bestw=415;besth=23;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=databaseBar;caption=Database
bar;state=16788208;dir=1;layer=10;row=0;pos=426;prop=100000;bestw=250;besth=21;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=570;floaty=249;floatw=267;floath=49|name=outputPane;caption=Output
pane;state=16779260;dir=3;layer=0;row=0;pos=0;prop=100000;bestw=550;besth=300;minw=200;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=scratchPad;caption=Scratch
pad;state=16779262;dir=2;layer=0;row=0;pos=0;prop=100000;bestw=250;besth=200;minw=100;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=sqlQuery;caption=SQL
query;state=1020;dir=5;layer=0;row=0;pos=0;prop=100000;bestw=350;besth=200;minw=200;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|dock_size(1,10,0)=25|dock_size(5,0,0)=202|dock_size(3,0,0)=430|

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2011-06-12 06:59:33 Re: Database bar
Previous Message Luis Ochoa 2011-06-11 17:28:16 Re: First test of the Database Designer