Thread: cursor disappears

cursor disappears

From
Martin Sarsale
Date:
Dear all:
Im using pgadmin3 1.0.2-6 (debian unstable) and I found a really anoying
bug: when Im editing a text field move to another workspace and move
back to the ws where pgadmin is, the cursor disappear.
Then, when I move to a random ws and go back there with pgadmin, the
cursor appears again.

Is this a known bug?

Im using pgadmin3+gnome 2.6.


Re: cursor disappears

From
Raphaël Enrici
Date:
Martin Sarsale wrote:
> Dear all:
> Im using pgadmin3 1.0.2-6 (debian unstable) and I found a really anoying
> bug: when Im editing a text field move to another workspace and move
> back to the ws where pgadmin is, the cursor disappear. 
> Then, when I move to a random ws and go back there with pgadmin, the
> cursor appears again. 
> 
> Is this a known bug?

yes and a fixed one (at least in CVS) :)

Quoted from http://www.pgadmin.org/pgadmin3/support.php :
AP 2004-07-11 [gtk] cursor problem with wxSTC (disappears every second 
focus change)

However, we recently had problem building current 1.1.0 version of 
pgAdmin III under Debian : wxWidgets is not buildable with gcc 3.3.x and 
the code needed to be patched to be compliant with gcc 3.4.x.
All these issues are solved and I'm currently reviewing the packages I 
provide for the daily snapshots to reflect what I do for the current 
1.0.2 in debian...

So, wait a little and you'll be able to download a package of current 
dev version.

@Andreas: can you summarize what was done to solve this particular 
cursor issue ? Was it a wxWidgets issue or a pgAdmin3 one ? Do you think 
I could easily backport this to current 1.0.2 if not already done ?

I'll drop a line when new packages are ready.

Regards,
Raphaël


Re: cursor disappears

From
blacknoz@club-internet.fr
Date:
Hi Martin!

----Message d'origine----
>Date: Tue, 31 Aug 2004 22:26:19 +0200
>De: Raphaël Enrici <blacknoz@club-internet.fr>
>A: Martin Sarsale <martin@emepe3.net>
>Martin Sarsale wrote:
>> Dear all:
>> Im using pgadmin3 1.0.2-6 (debian unstable) and I found a really anoying
>> bug: when Im editing a text field move to another workspace and move
>> back to the ws where pgadmin is, the cursor disappear.
>> Then, when I move to a random ws and go back there with pgadmin, the
>> cursor appears again.
>>
>> Is this a known bug?

Can you give a try to the packages uploaded yesterday evening ?

Add this line to your sources.list:
deb http://developer.pgadmin.org/snapshots/linux/debian unstable pgadmin

Then (as root):
apt-get update ; apt-get install pgadmin3

Please note I had a segfault problem while using my old ".pgadmin3" configuration file. If you face the same issue,
renameyour ~/.pgadmin3 to ~/.pgadmin3.whateveryouwant. 
I'll try to track this down...

Regards,
Raphaël



Re: cursor disappears

From
Andreas Pflug
Date:
Martin Sarsale wrote:
> 
> Some things I found

On a recent snapshot? We had quite some changes since 1.0.2.


> 1) In "create new function" the OK button is greyed out. I enter the
> name of the function, I set the return type (btw, this list should be
> ordered abc), set the owner, but I can't set the arguments (I click on
> the textarea and nothing happens).

The status line should tell you what's missing.


> 2) I was editing my function manually on the query editor and magically
> when I press 'f' the sql help browser starts up (!) ('f' is its the
> hotkey, in the "help" menu). I can type 'abcde' w/ no problems, but when
> I press 'f', the help browsers starts

This sounds like a stuck key.

Regards,
Andreas


Re: cursor disappears

From
blacknoz@club-internet.fr
Date:
----Message d'origine----
>Sujet: Re: Re: [pgadmin-support] cursor disappears
>De: Martin Sarsale <martin@emepe3.net>
>A: blacknoz@club-internet.fr
>Copie à: pgadmin-support@postgresql.org, pgadmin@pse-consulting.de
>Date: Fri, 03 Sep 2004 11:36:09 -0300
>
>> Can you give a try to the packages uploaded yesterday evening ?
>at first glance, it works great. I'll keep using it from my everyday job
>and I'll tell you if I find something intresting

Yes, report anything annoying you can find.
As we are near to releasing a new version of pga3 (at least not really far from it), I may not backport things to a
eventual1.0.2-7 for debian. The package you are using surely reflects the future unstable package. So, that's a
beta-test;) 

>> Please note I had a segfault problem while using my old ".pgadmin3" configuration file. If you face the same issue,
renameyour ~/.pgadmin3 to ~/.pgadmin3.whateveryouwant. 
>> I'll try to track this down...
>I didn't have this problem. I can send you my .pgadmin3 if you want to
>compare both.

Yes, that would be great. Send it to me privately, I'll report back to pgadmin-hackers and you if I find something
interesting.

Regards,
Raphaël



Re: cursor disappears

From
Martin Sarsale
Date:
> Yes, report anything annoying you can find.
> As we are near to releasing a new version of pga3 (at least not really far from it), I may not backport things to a
eventual1.0.2-7 for debian. The package you are using surely reflects the future unstable package. So, that's a
beta-test;) 

Some things I found

1) In "create new function" the OK button is greyed out. I enter the
name of the function, I set the return type (btw, this list should be
ordered abc), set the owner, but I can't set the arguments (I click on
the textarea and nothing happens).

2) I was editing my function manually on the query editor and magically
when I press 'f' the sql help browser starts up (!) ('f' is its the
hotkey, in the "help" menu). I can type 'abcde' w/ no problems, but when
I press 'f', the help browsers starts

tnx

Re: cursor disappears

From
Martin Sarsale
Date:
> Can you give a try to the packages uploaded yesterday evening ?

at first glance, it works great. I'll keep using it from my everyday job
and I'll tell you if I find something intresting

> Please note I had a segfault problem while using my old ".pgadmin3" configuration file. If you face the same issue,
renameyour ~/.pgadmin3 to ~/.pgadmin3.whateveryouwant. 
> I'll try to track this down...
I didn't have this problem. I can send you my .pgadmin3 if you want to
compare both.


Re: cursor disappears

From
Raphaël Enrici
Date:
Andreas Pflug wrote:
> Martin Sarsale wrote:
>>
>> Some things I found
>
>
> On a recent snapshot? We had quite some changes since 1.0.2.

Hi Andreas,

Martin is using 1.1.0 at least 20040902 packages for debian.

>> 1) In "create new function" the OK button is greyed out. I enter the
>> name of the function, I set the return type (btw, this list should be
>> ordered abc), set the owner, but I can't set the arguments (I click on
>> the textarea and nothing happens).
>
>
> The status line should tell you what's missing.

Just did some test here.
In "properties" tab, arguments stays greyed but I can add arguments with
the "parameters" tab. Note that in the parameters tab, "SET" is selected
by default but greyed until you try to select something in it (normal or
not ?).

I was able to define a function after I passed on all the tabs and
selected convenient values for my function. It makes sense to me.

>> 2) I was editing my function manually on the query editor and magically
>> when I press 'f' the sql help browser starts up (!) ('f' is its the
>> hotkey, in the "help" menu). I can type 'abcde' w/ no problems, but when
>> I press 'f', the help browsers starts
>
>
> This sounds like a stuck key.

I can reproduce this with same package as Martin and same distro...
I may built the packages incorrectly.
Can other hackers give it a try with recent snapshots on other linux
distro ?

Regards,
Raphaël

Re: [pgadmin-hackers] cursor disappears

From
Andreas Pflug
Date:
Raphaël Enrici wrote:

> Just did some test here.
> In "properties" tab, arguments stays greyed

This is an information only field.

> but I can add arguments with
> the "parameters" tab. Note that in the parameters tab, "SET" is selected
> by default but greyed until you try to select something in it (normal or
> not ?).

Yes, this is normal.

Regards,
Andreas

Re: [pgadmin-hackers] cursor disappears

From
Raphaël Enrici
Date:
Andreas Pflug wrote:
> Raphaël Enrici wrote:
>
>> Just did some test here.
>> In "properties" tab, arguments stays greyed
> This is an information only field.

Ok, that's what I suspected.


>> but I can add arguments with the "parameters" tab. Note that in the
>> parameters tab, "SET" is selected by default but greyed until you try
>> to select something in it (normal or not ?).
>
> Yes, this is normal.

ok.

So the only persisting problem is the behaviour of the 'f' key... Not
really usable for typing 'from' ;)
Anybody tried a recent snapshot under another linux distro ?
Any idea from where thi could came from ? I mean, where should I begin
to look at it ?

Regards,
Raphaël