[Gambas-user] Strange bug in QT / gb.qt ?
Benoit Minisini
gambas at ...1...
Fri Aug 17 17:38:53 CEST 2007
On vendredi 17 août 2007, Stefano Palmeri wrote:
> Alle 16:10, venerdì 17 agosto 2007, Benoit Minisini ha scritto:
> > PUBLIC SUB TextBox1_KeyPress()
> >
> > DEBUG Key.Code;; Key.State
> >
> > END
> >
> > PUBLIC SUB TextBox1_KeyRelease()
> >
> > DEBUG Key.Code;; Key.State
> >
> > END
>
> Hi, Benoit.
>
> Tested the code with Qt 3.3.8 and Gambas 1.9.49.
> The dubug output is (abcdef pressed/released):
>
> FMain.TextBox1_KeyPress.13: 65 0
> FMain.TextBox1_KeyRelease.19: 65 0
> FMain.TextBox1_KeyPress.13: 66 0
> FMain.TextBox1_KeyRelease.19: 66 0
> FMain.TextBox1_KeyPress.13: 67 0
> FMain.TextBox1_KeyRelease.19: 67 0
> FMain.TextBox1_KeyPress.13: 68 0
> FMain.TextBox1_KeyRelease.19: 68 0
> FMain.TextBox1_KeyPress.13: 69 0
> FMain.TextBox1_KeyRelease.19: 69 0
> FMain.TextBox1_KeyPress.13: 70 0
> FMain.TextBox1_KeyRelease.19: 70 0
>
> Bye.
>
What is your distribution? Can you do the same test on 1.9.50?
This bug is related to the input methods. If a control uses them (TextBox,
TextArea, TextEdit, SpinBox...), then the problem arises.
On my Mandriva 2007.1, apparently, the input methods are plugins that comes
from an external project (immodule), not from TrollTech.
Regards,
--
Benoit Minisini
More information about the User
mailing list