Re: [Gambas-user] TableView issue

2010-09-05 Thread Robert JUHASZ
Hello Benoit,

Could you pls. tell me how to check the revision of Gambas. I just redo
every time the svn update in the install folder (it writes me out a
revision number, this is what I refer to) and after I recompile, reinstall
gambas. But later I don't know how to check the version number.

The sample code is still the same (attached) and still buggy on my computer
(I just added a checkbox but no any effect on the issue).


BTW, an other strange effect, maybe from the same root case:
Take the same sample but make all the columns editable (otherwise the first
bug doesn't let you see the second :-)

1. When you start the app. then the whole table is visible. In this case -
after clicking into a cell - keep pressed the right arrow. it works fine, it
goes through all the cells (left-to-right and at after the last col it goes
down with one line).
2. Do the same but after starting the app, resize the form on a way that you
can see only 4 or 5 lines. Do the same as in the previous trial (right
arrow). As soon as you arrive to a line which is originally invisible,
you'll get a null object error message.
If you move only top-bottom then no error message.

Same as for the first bug: if you use gb.gtk or gb.gui then it works well,
only issue with the gb.qt components.

Robi

2010/9/4 Benoît Minisini gam...@users.sourceforge.net

  Salut Benoit,
 
  I tested the last version with the different components:
 
  gb.qt: still the same problem (ComboBox is read-only)
  gb.qtk: OK
  gb.gui: OK
 
  I use gb.qt.
 
  Robi
 

 I have just tested your with gb.qt and Gambas 2, and I don't have the
 problem
 anymore. Can you send me the code you are using again (to be sure)? And
 check
 again that you compiled and install correctly the latest trunk.

 Regards,

 --
 Benoît Minisini


 --
 This SF.net Dev2Dev email is sponsored by:

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user



tableView-0.0.1.tar.gz
Description: GNU Zip compressed data
--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TableView issue

2010-09-05 Thread Benoît Minisini
 Hello Benoit,
 
 Could you pls. tell me how to check the revision of Gambas. I just redo
 every time the svn update in the install folder (it writes me out a
 revision number, this is what I refer to) and after I recompile, reinstall
 gambas. But later I don't know how to check the version number.
 
 The sample code is still the same (attached) and still buggy on my computer
 (I just added a checkbox but no any effect on the issue).

I tried again the joined example, and I have no error at all while moving the 
tableview editor with the arrow keys. I played with the checkbox, but couldn't 
get any error with that.

Can you:

- Check (again) the output of make install to be sure that the last gb.form 
component has been correctly compiled and install.

- Tell me which version of libqt3 you are using? Just look at the name of the 
shared library somewhere in /usr/lib or /usr/lib/qt3 or something like that.

- Tell me which desktop and which qt3 theme you are using.

Thanks in advance.

 
 
 BTW, an other strange effect, maybe from the same root case:
 Take the same sample but make all the columns editable (otherwise the first
 bug doesn't let you see the second :-)
 
 1. When you start the app. then the whole table is visible. In this case -
 after clicking into a cell - keep pressed the right arrow. it works fine,
 it goes through all the cells (left-to-right and at after the last col it
 goes down with one line).
 2. Do the same but after starting the app, resize the form on a way that
 you can see only 4 or 5 lines. Do the same as in the previous trial (right
 arrow). As soon as you arrive to a line which is originally invisible,
 you'll get a null object error message.
 If you move only top-bottom then no error message.
 
 Same as for the first bug: if you use gb.gtk or gb.gui then it works well,
 only issue with the gb.qt components.

This is apparently some strangeness in qt, as when you move the editor outside 
of the view, it is hidden. But then, it keeps having the focus (it receives 
the keyboard events), which should not be possible! I will investigate...

Regards,

-- 
Benoît Minisini

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TableView issue

2010-09-05 Thread Benoît Minisini
  BTW, an other strange effect, maybe from the same root case:
  Take the same sample but make all the columns editable (otherwise the
  first bug doesn't let you see the second :-)
  
  1. When you start the app. then the whole table is visible. In this case
  - after clicking into a cell - keep pressed the right arrow. it works
  fine, it goes through all the cells (left-to-right and at after the last
  col it goes down with one line).
  2. Do the same but after starting the app, resize the form on a way that
  you can see only 4 or 5 lines. Do the same as in the previous trial
  (right arrow). As soon as you arrive to a line which is originally
  invisible, you'll get a null object error message.
  If you move only top-bottom then no error message.
  
  Same as for the first bug: if you use gb.gtk or gb.gui then it works
  well, only issue with the gb.qt components.
 
 This is apparently some strangeness in qt, as when you move the editor
 outside of the view, it is hidden. But then, it keeps having the focus (it
 receives the keyboard events), which should not be possible! I will
 investigate...
 
 Regards,

That second bug has been fixed in revision #3182.

Regards,

-- 
Benoît Minisini

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TableView issue

2010-09-03 Thread Benoît Minisini
 Salut Benoit,
 
 I tested the last version with the different components:
 
 gb.qt: still the same problem (ComboBox is read-only)
 gb.qtk: OK
 gb.gui: OK
 
 I use gb.qt.
 
 Robi
 

I have just tested your with gb.qt and Gambas 2, and I don't have the problem 
anymore. Can you send me the code you are using again (to be sure)? And check 
again that you compiled and install correctly the latest trunk.

Regards,

-- 
Benoît Minisini

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TableView issue

2010-09-02 Thread JUHASZ Robert
Salut Benoit,

I tested the last version with the different components:

gb.qt: still the same problem (ComboBox is read-only)
gb.qtk: OK
gb.gui: OK

I use gb.qt.

Robi

-Original Message-
From: Benoît Minisini gam...@users.sourceforge.net
Reply-to: mailing list for gambas users
gambas-user@lists.sourceforge.net
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Subject: Re: [Gambas-user] TableView issue
Date: Wed, 1 Sep 2010 22:02:24 +0200


   Benoit,
   
   I just updated to the 2.21 version, revision 3173.
   Checking with the previously attached file gives the same behavior :-(
   
   Did I do something wrong with the update or the bug survived ?
   
   Robi
  
  Are you sure that you recompile things correctly? I have tested with the
  example you provided me.
 
 Sorry, I didn't see that with gb.gtk there is another problem!

Is it better with revision #3174?

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TableView issue

2010-09-02 Thread Fabien Bodard
2010/9/2 JUHASZ Robert robert1juh...@gmail.com:
 Salut Benoit,

 I tested the last version with the different components:

 gb.qt: still the same problem (ComboBox is read-only)
 gb.qtk: OK
 gb.gui: OK  == so you are in gnome :)

 I use gb.qt.

 Robi

 -Original Message-
 From: Benoît Minisini gam...@users.sourceforge.net
 Reply-to: mailing list for gambas users
 gambas-user@lists.sourceforge.net
 To: mailing list for gambas users gambas-user@lists.sourceforge.net
 Subject: Re: [Gambas-user] TableView issue
 Date: Wed, 1 Sep 2010 22:02:24 +0200


   Benoit,
  
   I just updated to the 2.21 version, revision 3173.
   Checking with the previously attached file gives the same behavior :-(
  
   Did I do something wrong with the update or the bug survived ?
  
   Robi
 
  Are you sure that you recompile things correctly? I have tested with the
  example you provided me.

 Sorry, I didn't see that with gb.gtk there is another problem!

 Is it better with revision #3174?

 --
 This SF.net Dev2Dev email is sponsored by:

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TableView issue

2010-09-01 Thread JUHASZ Robert
Benoit,

I just updated to the 2.21 version, revision 3173.
Checking with the previously attached file gives the same behavior :-(

Did I do something wrong with the update or the bug survived ?

Robi

-Original Message-
From: Benoît Minisini gam...@users.sourceforge.net
Reply-to: mailing list for gambas users
gambas-user@lists.sourceforge.net
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Subject: Re: [Gambas-user] TableView issue
Date: Mon, 30 Aug 2010 16:46:13 +0200


  Hello List,
  
  I found a strange behavior of the tableview control. I use Gambas 2.20,
  qt, on ubuntu 10.04.
  
  I try to create an editable table.
  As long as I use only text input, it works fine.
  As long as I use lists or text and list but with unprotected
  (readonly=false, as by default) lists, it works fine. In this case I can
  use the arrows to move up and down, left and right. It is very
  comfortable. As long as I use protected lists (readonly=true) it works
  fine as well, except that I cannot move left and right with the arrows.
  It is less comfortable but still okay.
  
  The problem comes when I use some columns with protected and some others
  with unprotected lists.
  In this case, when I use the arrows for moving horizontally and I move
  from an unprotected cell to a protected one, it crashes the code with an
  error message about the combo box.
  
  If I was not clear then take the attached code, select a cell and move by
  pressing the arrows. The middle column is unprotected.
  
  
  Can someone tell me if it's a bug or what should I do different?
  
  Thx,
  Robi
 
 This was a bug! Can you try the revision #3162 to tell me if it works
 better for you?

No, try revision #3164 instead, it is better. :-)

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TableView issue

2010-09-01 Thread Benoît Minisini
 Benoit,
 
 I just updated to the 2.21 version, revision 3173.
 Checking with the previously attached file gives the same behavior :-(
 
 Did I do something wrong with the update or the bug survived ?
 
 Robi
 

Are you sure that you recompile things correctly? I have tested with the 
example you provided me.

-- 
Benoît Minisini

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TableView issue

2010-09-01 Thread Benoît Minisini
  Benoit,
  
  I just updated to the 2.21 version, revision 3173.
  Checking with the previously attached file gives the same behavior :-(
  
  Did I do something wrong with the update or the bug survived ?
  
  Robi
 
 Are you sure that you recompile things correctly? I have tested with the
 example you provided me.

Sorry, I didn't see that with gb.gtk there is another problem!

-- 
Benoît Minisini

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TableView issue

2010-09-01 Thread Benoît Minisini
   Benoit,
   
   I just updated to the 2.21 version, revision 3173.
   Checking with the previously attached file gives the same behavior :-(
   
   Did I do something wrong with the update or the bug survived ?
   
   Robi
  
  Are you sure that you recompile things correctly? I have tested with the
  example you provided me.
 
 Sorry, I didn't see that with gb.gtk there is another problem!

Is it better with revision #3174?

-- 
Benoît Minisini

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TableView issue

2010-08-30 Thread Benoît Minisini
 Hello List,
 
 I found a strange behavior of the tableview control. I use Gambas 2.20, qt,
 on ubuntu 10.04.
 
 I try to create an editable table.
 As long as I use only text input, it works fine.
 As long as I use lists or text and list but with unprotected
 (readonly=false, as by default) lists, it works fine. In this case I can
 use the arrows to move up and down, left and right. It is very
 comfortable. As long as I use protected lists (readonly=true) it works
 fine as well, except that I cannot move left and right with the arrows. It
 is less comfortable but still okay.
 
 The problem comes when I use some columns with protected and some others
 with unprotected lists.
 In this case, when I use the arrows for moving horizontally and I move from
 an unprotected cell to a protected one, it crashes the code with an error
 message about the combo box.
 
 If I was not clear then take the attached code, select a cell and move by
 pressing the arrows. The middle column is unprotected.
 
 
 Can someone tell me if it's a bug or what should I do different?
 
 Thx,
 Robi

This was a bug! Can you try the revision #3162 to tell me if it works better 
for you?

-- 
Benoît Minisini

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TableView issue

2010-08-30 Thread Benoît Minisini
  Hello List,
  
  I found a strange behavior of the tableview control. I use Gambas 2.20,
  qt, on ubuntu 10.04.
  
  I try to create an editable table.
  As long as I use only text input, it works fine.
  As long as I use lists or text and list but with unprotected
  (readonly=false, as by default) lists, it works fine. In this case I can
  use the arrows to move up and down, left and right. It is very
  comfortable. As long as I use protected lists (readonly=true) it works
  fine as well, except that I cannot move left and right with the arrows.
  It is less comfortable but still okay.
  
  The problem comes when I use some columns with protected and some others
  with unprotected lists.
  In this case, when I use the arrows for moving horizontally and I move
  from an unprotected cell to a protected one, it crashes the code with an
  error message about the combo box.
  
  If I was not clear then take the attached code, select a cell and move by
  pressing the arrows. The middle column is unprotected.
  
  
  Can someone tell me if it's a bug or what should I do different?
  
  Thx,
  Robi
 
 This was a bug! Can you try the revision #3162 to tell me if it works
 better for you?

No, try revision #3164 instead, it is better. :-)

-- 
Benoît Minisini

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user