[Gambas-user] Strange bug in QT / gb.qt ?

timothy timothy.marshal-nichols at ...247...
Sat Aug 18 08:39:15 CEST 2007


> -----Original Message-----
> From: gambas-user-bounces at lists.sourceforge.net [mailto:gambas-user-
> bounces at lists.sourceforge.net] On Behalf Of Leonardo Miliani
> Sent: Friday, 17 August 2007 10:01 PM
> To: mailing list for gambas users
> Subject: Re: [Gambas-user] Strange bug in QT / gb.qt ?
> 
> Benoit Minisini ha scritto:
> > PUBLIC SUB TextBox1_KeyPress()
> >
> >   DEBUG Key.Code;; Key.State
> >
> > END
> >
> > PUBLIC SUB TextBox1_KeyRelease()
> >
> >   DEBUG Key.Code;; Key.State
> >
> > END
> Just tried on my OpenSuse 10.2 with Qt upgraded to version 3.5.7.
> 
> With Gambas 1.9.48 this is the output:
> 
> Form1.TextBox1_KeyPress.6: 103 16
> Form1.TextBox1_KeyRelease.12: 103 16
> Form1.TextBox1_KeyPress.6: 103 16
> Form1.TextBox1_KeyRelease.12: 103 16
> Form1.TextBox1_KeyPress.6: 102 16
> Form1.TextBox1_KeyRelease.12: 102 16
> Form1.TextBox1_KeyPress.6: 101 16
> Form1.TextBox1_KeyPress.6: 114 16
> Form1.TextBox1_KeyRelease.12: 114 16
> Form1.TextBox1_KeyRelease.12: 101 16
> Form1.TextBox1_KeyPress.6: 118 16
> Form1.TextBox1_KeyRelease.12: 118 16
> Form1.TextBox1_KeyPress.6: 118 16
> 
> With Gambas 1.9.50:
> Form1.TextBox1_KeyPress.6: 116 16
> Form1.TextBox1_KeyRelease.12: 116 16
> Form1.TextBox1_KeyPress.6: 116 16
> Form1.TextBox1_KeyRelease.12: 116 16
> Form1.TextBox1_KeyPress.6: 103 16
> Form1.TextBox1_KeyRelease.12: 103 16
> Form1.TextBox1_KeyPress.6: 116 16
> Form1.TextBox1_KeyRelease.12: 116 16
> Form1.TextBox1_KeyPress.6: 103 16
> Form1.TextBox1_KeyRelease.12: 103 16
> 
> --
> Ciao.
> Leo.
> 

I also have openSUSE 10.2. But I have standard QT package that comes
with openSUSE - version 3.3.7.

I tried it with Gambas 1.9.49 and everything work correctly (not the
16's as above but the correct value).

I then installed Gambas 1.9.50. It worked fine again.


Thanks

8-{)} Timothy Marshal-Nichols
<mailto: timothy.marshal-nichols at ...247...>









More information about the User mailing list