Re: [pgadmin-support] PgAdmin Crash - Mailing list pgadmin-hackers

From Guillaume Lelarge
Subject Re: [pgadmin-support] PgAdmin Crash
Date
Msg-id 4B4384B7.5040804@lelarge.info
Whole thread Raw
List pgadmin-hackers
Le 05/01/2010 18:33, Guillaume Lelarge a écrit :
> Le 05/01/2010 17:40, Guillaume Lelarge a écrit :
>> Le 05/01/2010 04:34, Franz Fritsche a écrit :
>>> Dear Guillaume!
>>>
>>> I'm sorry, but I could not figure out how to reply to your post in the mailing list. :-(
>>>
>>>>> Obviously the problem is that "Properties..." is not disabled (grayed), which it should be.
>>>>> [... ] The same seems to be true for "Delete/Drop...", though selecting it does
>>>>> not produce a crash (it just seems to have no effect).
>>>>>
>>>> I have the same behaviour. In fact, you don't need the /q parameter to
>>>> trigger it. I added a ticket for this
>>>
>>> Ah, you are right, just tried it! :-)
>>>
>>> C:\Programme\PostgreSQL\8.4\bin\pgAdmin3.exe /s "PostgreSQL 8.4"
>>>
>>> Found more problems (i.e. another crash) with this startup mode:
>>>
>>> - Tools / Server Status ---> Crash!
>>>
>>> Actually there are lots of differences (concerning the activated/disabled commands in the menu)
>>> between (a) standard startup and manual connection with the database and (b) startup with
>>> switch /s (->automatic connection):
>>>
>>> (1) After standard startup and manual connection with database _and then selecting "Server (1)"
>>> in the Object Browser_ ALL commands in the menu "Tool" are grayed - not so after startup with
>>> /s.
>>>
>>> (2) After standard startup [etc.] "File / Change Password..." is disabled (grayed) - not so after
>>> startup with /s. (!)
>>>
>>> (3) After standard startup [etc.] "View / Refresh" is disabled (grayed) - not so after startup with /s.
>>>
>>
>> This only happens on Windows, AFAICT. Problem is that the correct item
>> is not selected. The GUI should show the correct server highlighted. I
>> tried something yesterday but it didn't work out well. Will try once
>> again tonight.
>>
>
> At last, I found that it has nothing to do with Windows. I suppose you
> unchecked the "restore environment" checkbox for this server, didn't you?
>
>

This patch should fix this issue.

Comments?


--
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

Attachment

pgadmin-hackers by date:

Previous
From: "pgAdmin Trac"
Date:
Subject: Re: [pgAdmin III] #123: "Properties..." is not disabled (grayed) when it should be.
Next
From: "pgAdmin Trac"
Date:
Subject: Re: [pgAdmin III] #123: "Properties..." is not disabled (grayed) when it should be.