Обсуждение: [HELP bug] (control lost) while in create table -> constraints

Поиск
Список
Период
Сортировка

[HELP bug] (control lost) while in create table -> constraints

От
Raphaël Enrici
Дата:
Hi guys,

Here is my Christmas gift ;-)

I had a quick look to bugs.txt and to the FAQ but didn't find any entry
which mension this (as always, send me some soap to wash my eyes if it's
already referenced somewhere!):

I've just faced a strange behaviour in pgadmin3 (20031221 snapshot under
debian), can someone verify this on other linux/winXX distro (oops I
forgot BSD! ;p) ? I'm currently building 20031225 snapshots.
Open the create table box and then the constraints tab and try to add a
primary key (it's the same with foreign key).
While in the "create primary key" box, try to click on the "help"
button... You should see the "alter table help" window but it's
impossible to scroll in it... If you try to close the help window, it
doesn't but it will when you finally terminate the "create primary key"
action with a cancel or ok submit.

known one ?

Merry Xmas,
Raphaël


Re: [HELP bug] (control lost) while in create table -> constraints

От
"Hiroshi Saito"
Дата:
Hi Raphaël.

Merry Christmas!

From: "Raphaël Enrici" <blacknoz@club-internet.fr>

> Hi guys,
>
> Here is my Christmas gift ;-)
>
> I had a quick look to bugs.txt and to the FAQ but didn't find any entry
> which mension this (as always, send me some soap to wash my eyes if it's
> already referenced somewhere!):
>
> I've just faced a strange behaviour in pgadmin3 (20031221 snapshot under
> debian), can someone verify this on other linux/winXX distro (oops I
> forgot BSD! ;p) ? I'm currently building 20031225 snapshots.
> Open the create table box and then the constraints tab and try to add a
> primary key (it's the same with foreign key).
> While in the "create primary key" box, try to click on the "help"
> button... You should see the "alter table help" window but it's
> impossible to scroll in it... If you try to close the help window, it
> doesn't but it will when you finally terminate the "create primary key"
> action with a cancel or ok submit.

http://cre-ent.skcapi.co.jp/~saito/pgadmin3/FreeBSD_on_help.jpg
http://cre-ent.skcapi.co.jp/~saito/pgadmin3/FreeBSD_on_help_alter.jpg

Oh,
I couldn't get the gift. :-)

>
> known one ?

I didn't meet.

regards,
Hiroshi Saito


Re: [HELP bug] (control lost) while in create table

От
Raphaël Enrici
Дата:
Hiroshi Saito wrote:

>Hi Raphaël.
>
>Merry Christmas!
>

Thanks hiroshi!

>From: "Raphaël Enrici" <blacknoz@club-internet.fr>
>
>
>
>>Hi guys,
>>Here is my Christmas gift ;-)
>>I had a quick look to bugs.txt and to the FAQ but didn't find any entry
>>which mension this (as always, send me some soap to wash my eyes if it's
>>already referenced somewhere!):
>>I've just faced a strange behaviour in pgadmin3 (20031221 snapshot under
>>debian), can someone verify this on other linux/winXX distro (oops I
>>forgot BSD! ;p) ? I'm currently building 20031225 snapshots.
>>Open the create table box and then the constraints tab and try to add a
>>primary key (it's the same with foreign key).
>>While in the "create primary key" box, try to click on the "help"
>>button... You should see the "alter table help" window but it's
>>impossible to scroll in it... If you try to close the help window, it
>>doesn't but it will when you finally terminate the "create primary key"
>>action with a cancel or ok submit.
>>
>>
>http://cre-ent.skcapi.co.jp/~saito/pgadmin3/FreeBSD_on_help.jpg
>http://cre-ent.skcapi.co.jp/~saito/pgadmin3/FreeBSD_on_help_alter.jpg
>Oh,
>I couldn't get the gift. :-)
>

Ah, it seems this gift was for me ;p
I've looked to your screenshots and in my environment, I don't have the
left panel displayed correctly in the help...
Any Idea from where this could come ?
You can find a screenshot here (I also circled the embeded help button
which I click on) :
http://perso.club-internet.fr/blacknoz/pgadmin3/xmasgift.jpg

>>known one ?
>>
>>
>I didn't meet.
>
>
Hope you won't :)

Regards,
Raphaël


Re: [HELP bug] (control lost) while in create table

От
Andreas Pflug
Дата:
Raphaël Enrici wrote:

>>
>
> Ah, it seems this gift was for me ;p
> I've looked to your screenshots and in my environment, I don't have
> the left panel displayed correctly in the help...
> Any Idea from where this could come ?


Hi Raphaël,
you are using a HTML helpsite that's non-standard, configured under
options, while Hiroshi uses the standard embedded help system. If
there's something wrong with the wx browser in this case, we should
certainly fix this.

It might be a good idea to upgrade our wx snapshot before investigating
this further; it might already be fixed. I'll check wx CVS as soon as I
find the time to do this. BTW, currently there are quite a lot of
complaints about broken wx compilings, so before pinning a version we'll
need to make sure it works well on all platforms we like.

Regards,
Andreas


Re: [HELP bug] (control lost) while in create table

От
Raphaël Enrici
Дата:
Andreas Pflug wrote:

> Raphaël Enrici wrote:
>
>>
>> Ah, it seems this gift was for me ;p
>> I've looked to your screenshots and in my environment, I don't have
>> the left panel displayed correctly in the help...
>> Any Idea from where this could come ?
>
> Hi Raphaël,
> you are using a HTML helpsite that's non-standard, configured under
> options, while Hiroshi uses the standard embedded help system. If
> there's something wrong with the wx browser in this case, we should
> certainly fix this.

ok, I created my .pgadmin3 from scratch and everything is working
perfectly now. My .pgadmin3 was quite old (I think it dated from pre-1.0
versions...) and so was lacking many options. I kept a copy of the bad
one if you are interested in debugging this.

> It might be a good idea to upgrade our wx snapshot before
> investigating this further; it might already be fixed. I'll check wx
> CVS as soon as I find the time to do this. BTW, currently there are
> quite a lot of complaints about broken wx compilings, so before
> pinning a version we'll need to make sure it works well on all
> platforms we like.

I hope to get a sparc station at home in the beginning of the year... I
think it will be able to do things like 1+1=2 in less than a minute, but
I can't certify I will be able to install all the packages I told you
about in the solaris port thread... Another thing, it seems that the
patch I sent concerning solaris headers in db/pgConn.cpp was forgotten
or simply lost.

Regards,
Raphaël



Re: [HELP bug] (control lost) while in create table

От
Andreas Pflug
Дата:
Raphaël Enrici wrote:

>
> ok, I created my .pgadmin3 from scratch and everything is working
> perfectly now. My .pgadmin3 was quite old (I think it dated from
> pre-1.0 versions...) and so was lacking many options. I kept a copy of
> the bad one if you are interested in debugging this.

Using a non-standard help site is perfectly legal, to use
updated/outdated (7.3/7.5) help instead of the embedded version, so
there's nothing wrong with your .pgadmin3.

>
> Another thing, it seems that the patch I sent concerning solaris
> headers in db/pgConn.cpp was forgotten or simply lost.

Um, seems so. Can you repost them?

Regards,
Andreas



Re: [HELP bug] (control lost) while in create table

От
Raphaël Enrici
Дата:
Andreas Pflug wrote:

> Raphaël Enrici wrote:
>
>> ok, I created my .pgadmin3 from scratch and everything is working
>> perfectly now. My .pgadmin3 was quite old (I think it dated from
>> pre-1.0 versions...) and so was lacking many options. I kept a copy
>> of the bad one if you are interested in debugging this.
>
> Using a non-standard help site is perfectly legal, to use
> updated/outdated (7.3/7.5) help instead of the embedded version, so
> there's nothing wrong with your .pgadmin3.

yeah but I was supposed to look for the standard one... I didn't change
anything to this... So I think that I missed some defs in my .pgadmin3.

> > Another thing, it seems that the patch I sent concerning solaris
> headers in db/pgConn.cpp was forgotten or simply lost.
> Um, seems so. Can you repost them?

I've just relooked and In fact I can see the lines I want in the daily
snapshots.
I was looking to the wrong branch... You added the lines from 1.43 to
1.44. May be it would be a good thing to add them to stable branch too ?
The lines are these ones:
 src/db/pgConn.cpp Line 29-31:
#ifndef INADDR_NONE
#define INADDR_NONE (-1)
#endif

So, everything is ok :)

Regards,
Raphaël