[Gambas-user] Problem with tableview when in edit mode
Charlie Reinl
Karl.Reinl at ...9...
Thu Dec 3 18:31:13 CET 2009
Am Donnerstag, den 03.12.2009, 18:24 +0100 schrieb Doriano Blengino:
> Dimitris Anogiatis ha scritto:
> > Doriano,
> >
> > from the sample project you posted, I can verify the behavior you described
> > when you use the arrow keys.
> > If you click on individual cells it jumps fine. But if you try and type
> > something on one cell and then click on the next one
> > the text you typed before disappears.
> >
> Perhaps this is because there is no "save" event implemented. But the
> complain was about another error: even without writing, but simply
> changing the focused cell with the cursor keys, do you see something
> strange or not?
> > So perhaps a few more changes happened in the tableview control from 2.0 to
> > 2.15 (the one you upgraded to) that are
> > not yet documented and you just might have to consider using a different
> > approach.
> >
> Which different approach? I would like to identify the cause of this
> problem. If it is gambas 2.15, and gambas 2.16 or 2.17 solves, I switch.
> If all gambas versions above 2.0.0 have the problem, I stick with 2.0.0.
> If the problem are QT libraries, I change them. But surely I don't want
> to change a painful code made to compile an invoice through a tableview
> with something else...
> > I use Debian Lenny 5.0.3 and Gambas 2.16
> >
> > I hope this helps.
> >
> ...it would help if you told me if the error is still there in 2.16 or
> not...
> BTW: my debian version (cat /etc/debian_version) shows 5.0.2, and is
> fully updated. How it goes you have 5.0.3?
>
>
>
> > Regards,
> > Dimitris
> >
> > On Thu, Dec 3, 2009 at 8:49 AM, Doriano Blengino <
> > doriano.blengino at ...1909...> wrote:
> >
> >
> >> I am modifying an old program, which uses a TableView to construct an
> >> invoice.
> >> The tableview is almost always in edit mode.
> >>
> >> With gambas version 2.0.0, the original version I used to write the
> >> program, there is no problem (not this one).
> >>
> >> Now I upgraded to gambas v. 2.15 (debian package gambas2 2.15.2-1), running
> >> on a debian "stable" release.
> >>
> >> When in the tableview (in edit mode) I press an arrow key, the cursor slips
> >> on every possible cell in the request direction, until it finds the end of
> >> the tableview. But this is not enough: if the cursor key is Left or Right,
> >> the cell walking goes even further, wrapping to the next or previous row and
> >> restarting.
> >>
> >> I created an executable, and it behaves the same.
> >>
> >> Then I copied the executable to another machine, having gbx2 version 2.0.0,
> >> and the problem does not show up.
> >>
> >> The program uses explicitly QT; both machines have libqt-mt.so.3.3.8
> >> installed, and the same debian "stable" os, and I use both machines from a
> >> third machine running an X11 server (XMing). So it seems the problem is
> >> related to gambas.
> >>
> >> I send a sample project that shows the problem. Launch the application,
> >> click on the Tableview to focus it, and press a cursor key. The cursor will
> >> travel in the requested direction 'til the end of the grid.
> >>
> >> What can I do about this? I was very very reluctant to upgrade gambas; but
> >> I reached a point where I could no more install or upgrade my system. Even
> >> when trying to install a simple htop(1) from debian repositories, I was told
> >> to upgrade some fu*ing library, which in turn meant to upgrade gambas, which
> >> in turn meant to upgrade QT, GTK, poppler, libc, libc-bin... well,
> >> *hundreds* of packages. I will contact the debian mantainer about this - I
> >> don't care about postgres, firebird, curl, smtp, opengl, sdl, v4l, xml and
> >> things. It seems that to install gambas on debian one must pull in all the
> >> world. The other machine, having the old version of gambas, has no problems
> >> - I copied the gambas binaries directly, instead of installing them from
> >> packages. I can install and upgrade, and everything runs smoothly. Sorry for
> >> the debian-related blow.
> >>
> >> Regards,
> >> Doriano
> >>
No same with
2.18.0
Revision: 2447
--
Amicalement
Charlie
More information about the User
mailing list