[Gambas-user] Strange bug in QT / gb.qt ?
Benoit Minisini
gambas at ...1...
Fri Aug 17 23:10:12 CEST 2007
On vendredi 17 août 2007, Leonardo Miliani wrote:
> 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
Hopefully, I finally found a workaround (I put it in the trunk). I think this
bug comes from the input method plugins that are not part of the standard QT
distribution. But I'm not sure!
Regards,
--
Benoit Minisini
More information about the User
mailing list