Re: [pgadmin-hackers] Current CVS: Cursor disappears

2003-10-28 Thread Jean-Michel POURE
Le Lundi 27 Octobre 2003 22:16, Troels Arvin a crit :
 Initially, a cursor is seen, but if focus is taken away from the window
 (e.g. by using the mouse or ALT-TAB) and then returned, the cursor is
 gone. I can still write charaters in the query window, but I have to
 guess where the characters will be put.

 If focus is once again taken away from and then returned to the query
 window, then the cursor re-appears.

Dear Troels,

I can confirm this STC problem as I have exactly the same problem under Debian 
and RedHat.

Sometimes also, in the editor, after selecting text, the cursor becomes the 
following sign|_ (vertical and horizontal bar) and the display freezes. I 
have to open a seperate display and manually kill pgAdmin3. Nothing is 
written in the log.

Did anyone notice this bug too?

Best regards,
Jean-Michel


---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


[pgadmin-hackers] Cannot Add user

2003-10-28 Thread Jean-Michel POURE
Dear friends,

I am using the latest pgAdmin3 snapshot with PostgreSQL 7.4 beta 5 under 
Debian. Maybe this is not a recommanded configuration as pgAdmin3 was 
compiled against an old libpq and on my station libpq3 is installed.

I cannot create a new user. The application crashes (reproducable). There is 
no special log. Can anyone reproduce the problem?

Best regards,
Jean-Michel


---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


Re: [pgadmin-hackers] Need help with GTK bug

2003-10-28 Thread Dave Page
 

 -Original Message-
 From: Andreas Pflug [mailto:[EMAIL PROTECTED] 
 Sent: 27 October 2003 17:55
 To: Hiroshi Saito
 Cc: Dave Page; [EMAIL PROTECTED]
 Subject: Re: [pgadmin-hackers] Need help with GTK bug
 
 Hiroshi Saito wrote:
 
 Hi Dave.
 
 I search for the cause of this problem. 
 Is this helpful?
 However, a problem is still left.:-(
 
   
 
 
 Hm, I doubt that this is helpful in any way, because it just 
 lets some vars uninitialized before Create(),

Only changed and m_server afaict and they are unimportant.

 so I assume the 
 current version is better.

Actually Hiroshi does seem to have fixed that particular problem. It's
odd though - I was thinking along those lines, but tested the other way
round, by changing the wx MDI sample app to use a 2 step create as
frmQueryBuilder did. That worked fine though so I moved on.

Now it crashes when you add an new child table or view now - dunno if
that's a related problem or not yet.

Anyway, thanks Hiroshi.

Regards, Dave.

---(end of broadcast)---
TIP 9: the planner will ignore your desire to choose an index scan if your
  joining column's datatypes do not match


Re: [pgadmin-hackers] Need help with GTK bug

2003-10-28 Thread Andreas Pflug
Dave Page wrote:



 

-Original Message-
From: Andreas Pflug [mailto:[EMAIL PROTECTED] 
Sent: 27 October 2003 17:55
To: Hiroshi Saito
Cc: Dave Page; [EMAIL PROTECTED]
Subject: Re: [pgadmin-hackers] Need help with GTK bug

Hiroshi Saito wrote:

   

Hi Dave.

I search for the cause of this problem. 
Is this helpful?
However, a problem is still left.:-(



 

Hm, I doubt that this is helpful in any way, because it just 
lets some vars uninitialized before Create(),
   

Only changed and m_server afaict and they are unimportant.

 

so I assume the 
current version is better.
   

Actually Hiroshi does seem to have fixed that particular problem. It's
odd though - I was thinking along those lines, but tested the other way
round, by changing the wx MDI sample app to use a 2 step create as
frmQueryBuilder did. That worked fine though so I moved on.
 

Hu?!?
It's a kind of magic...
Actually, I don't trust it. Is there some kind of compiler flaw?
IMHO, usind MDI for this is a nice idea (it would never have come to my 
mind), but since I'm a MDI sceptic it might be better to use this 
internally quite complicated stuff on the long therm.

Regards,
Andreas


---(end of broadcast)---
TIP 9: the planner will ignore your desire to choose an index scan if your
 joining column's datatypes do not match


Re: [pgadmin-hackers] Cannot Add user

2003-10-28 Thread Andreas Pflug
Jean-Michel POURE wrote:

Dear friends,

I am using the latest pgAdmin3 snapshot with PostgreSQL 7.4 beta 5 under 
Debian. Maybe this is not a recommanded configuration as pgAdmin3 was 
compiled against an old libpq and on my station libpq3 is installed.
 

Should work anyway.

I cannot create a new user. The application crashes (reproducable). There is 
no special log. Can anyone reproduce the problem?
 

No, not me. No core dump?

Regards,
Andreas


---(end of broadcast)---
TIP 9: the planner will ignore your desire to choose an index scan if your
 joining column's datatypes do not match


Re: [pgadmin-hackers] Cannot Add user

2003-10-28 Thread blacknoz
Jean-Michel,

could you try the following :
- try another version of pga3 
you can specify the snapshot version while installing with something like
apt-get install pgadmin3 (=version_number)
- try to rebuild the package on your host so that we can confirm we are not faced to 
an incompatibility with the version I used when I built the scan. Note that If you 
don't want to bother rebuilding all packages you can try the one shot package 
available here
deb-src http://www.pgadmin.org/snapshots/linux/debian experimental/official pgadmin
Then 
$ apt-get source pgadmin3
$ cd pgadmin3-1.1.0
$ dpkg-buildpackage -b -us -uc -rfakeroot 
This is based on 20031026 pga3 snap and wx 20031010-5

I will update my unstable build environment tonight.

regards,
Raphaël

Message d'origine
De: Jean-Michel POURE [EMAIL PROTECTED]
A: [EMAIL PROTECTED]
Sujet: [pgadmin-hackers] Cannot Add user
Date: Tue, 28 Oct 2003 10:53:19 +0100

Dear friends,

I am using the latest pgAdmin3 snapshot with PostgreSQL 7.4 beta 5 under 
Debian. Maybe this is not a recommanded configuration as pgAdmin3 was 
compiled against an old libpq and on my station libpq3 is installed.

I cannot create a new user. The application crashes (reproducable). There is 
no special log. Can anyone reproduce the problem?

Best regards,
Jean-Michel


---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]




---(end of broadcast)---
TIP 6: Have you searched our list archives?

   http://archives.postgresql.org


Re: [pgadmin-hackers] Current CVS: Cursor disappears

2003-10-28 Thread Andreas Pflug
Jean-Michel POURE wrote:

Le Lundi 27 Octobre 2003 22:16, Troels Arvin a crit :
 

Initially, a cursor is seen, but if focus is taken away from the window
(e.g. by using the mouse or ALT-TAB) and then returned, the cursor is
gone. I can still write charaters in the query window, but I have to
guess where the characters will be put.
If focus is once again taken away from and then returned to the query
window, then the cursor re-appears.
   

Dear Troels,

I can confirm this STC problem as I have exactly the same problem under Debian 
and RedHat.

Sometimes also, in the editor, after selecting text, the cursor becomes the 
following sign|_ (vertical and horizontal bar) and the display freezes. I 
have to open a seperate display and manually kill pgAdmin3. Nothing is 
written in the log.

Did anyone notice this bug too?
 

Yes, I've seen this. Still no idea what's happening.

Another weird detail:
If the query window is moved, caret disappears, moved again, caret is back.
This also happens with the official stctest, so it's a wx problem.
Regards,
Andras
---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


Re: [pgadmin-hackers] Need help with GTK bug

2003-10-28 Thread Dave Page
 

 -Original Message-
 From: Andreas Pflug [mailto:[EMAIL PROTECTED] 
 Sent: 28 October 2003 11:07
 To: Dave Page
 Cc: Hiroshi Saito; [EMAIL PROTECTED]
 Subject: Re: [pgadmin-hackers] Need help with GTK bug
 
 Hu?!?
 It's a kind of magic...

Yup, very bizarre.

 Actually, I don't trust it. 

No, neither do I. I like to understand why a fix works.

 Is there some kind of compiler flaw?

Dunno. Whatever it is it must be non-platform issue as I use Linux and
Hiroshi uses FreeBSD..

 IMHO, usind MDI for this is a nice idea (it would never have 
 come to my mind), but since I'm a MDI sceptic it might be 
 better to use this internally quite complicated stuff on the 
 long therm.

Hmm

Regards, Dave.

---(end of broadcast)---
TIP 7: don't forget to increase your free space map settings


Re: [pgadmin-hackers] Need help with GTK bug

2003-10-28 Thread Andreas Pflug
Dave Page wrote:

IMHO, usind MDI for this is a nice idea (it would never have 
come to my mind), but since I'm a MDI sceptic it might be 
better to use this internally quite complicated stuff on the 
long therm.
   

Hmm
 

Yes, I don't understand these words either :-)
This has nothing to do with thermal problems, and what I wanted to say was:
it might be better *not* to use this internally quite complicated stuff on the long term.

Regards,
Andreas




---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
 subscribe-nomail command to [EMAIL PROTECTED] so that your
 message can get through to the mailing list cleanly


Re: [pgadmin-hackers] Cannot Add user

2003-10-28 Thread blacknoz
Hi Jean-Michel,

Just for information, the experimental repository contains the wx snapshots that I use 
for daily pgadmin3 builds (this is documented).
The repository I indicated in my previous mail contains the future offical package 
that will build independtly from an external wx (this is really new and not 
documented).

regards,
Raphaël

Message d'origine
De: Jean-Michel POURE [EMAIL PROTECTED]
A: [EMAIL PROTECTED]
Sujet: Re: [pgadmin-hackers] Cannot Add user
Date: Tue, 28 Oct 2003 13:55:32 +0100
Copie à: [EMAIL PROTECTED]

Le Mardi 28 Octobre 2003 16:21, [EMAIL PROTECTED] a écrit :
 Note that If you don't want to bother rebuilding all packages you can try
 the one shot package available here deb-src
 http://www.pgadmin.org/snapshots/linux/debian experimental/official pgadmin

Dear Raphaël,
I did not know there was an experimental reposirory for pgAdmin... Trying...
Jean-Michel


---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster



---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


[pgadmin-hackers] STC Caret disappears

2003-10-28 Thread Andreas Pflug
Andreas Pflug wrote:

Jean-Michel POURE wrote:

Le Lundi 27 Octobre 2003 22:16, Troels Arvin a crit :
 

Initially, a cursor is seen, but if focus is taken away from the window
(e.g. by using the mouse or ALT-TAB) and then returned, the cursor is
gone. I can still write charaters in the query window, but I have to
guess where the characters will be put.
If focus is once again taken away from and then returned to the query
window, then the cursor re-appears.
  


Dear Troels,

I can confirm this STC problem as I have exactly the same problem 
under Debian and RedHat.

Sometimes also, in the editor, after selecting text, the cursor 
becomes the following sign|_ (vertical and horizontal bar) and the 
display freezes. I have to open a seperate display and manually kill 
pgAdmin3. Nothing is written in the log.

Did anyone notice this bug too?
 

Yes, I've seen this. Still no idea what's happening.

Another weird detail:
If the query window is moved, caret disappears, moved again, caret is 
back.
This also happens with the official stctest, so it's a wx problem.

OK, finally, I found it:
For some reason, the control loses focus (probably to the frame) which 
in turn has to give it back to the stc control. So I could fix this by 
catching the frame's focus.
Since only every second time the focus falsely goes to the frame, there 
might be some flaw in the wxTopLevelWindow focus handling code.

Regards,
Andreas


---(end of broadcast)---
TIP 6: Have you searched our list archives?
  http://archives.postgresql.org


Re: [pgadmin-hackers] Need help with GTK bug

2003-10-28 Thread Hiroshi Saito
Hi Dave.

It is the countermeasure of the problem which is still contained.
My FreeBSD improves only a little by this coping.
However, 
Check it because it may have badness besides if it is applied.
not a request for application but this is reference information.

I trust only the result which did try in the reality.
Seeing is believing.:-)

regards,
Hiroshi Saito


QueryBuilder_Next_patch
Description: Binary data

---(end of broadcast)---
TIP 8: explain analyze is your friend