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

Charlie Reinl Karl.Reinl at ...9...
Fri Aug 17 18:45:07 CEST 2007


Am Freitag, den 17.08.2007, 16:10 +0200 schrieb Benoit Minisini:
> Hi,
> 
> I currently have a strange bug in gb.qt: Key.Code is always zero inside a 
> KeyRelease event. 
> 
> Apparently this bug comes directly from the QT library.
> 
> This bug does not occur if I use gb.gtk instead of gb.qt.
> 
> I use Mandriva 2007.1 with QT 3.3.8. By using google, I found that this 
> problem was encountered with a guy on an old Fedora with QT 3.3.4. He fixed 
> the problem by compiling QT from sources. Strange...
> 
> I'm looking for kind guys that would check this problem on their own system.
> 
> To test the problem, just put a TextBox on a Form, and use the following code:
> 
> PUBLIC SUB TextBox1_KeyPress()
> 
>   DEBUG Key.Code;; Key.State
> 
> END
> 
> PUBLIC SUB TextBox1_KeyRelease()
> 
>   DEBUG Key.Code;; Key.State
> 
> END
> 
> Thanks in advance,
> 
> Regards.
> 
Salut Benoit,

no, not that problem on a Ubuntu 6.06 LTS!

gambas from svn this mornig.


-- 
Amicalment
Charlie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sysInfo.log
Type: text/x-log
Size: 4052 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20070817/ce4f579d/attachment.bin>


More information about the User mailing list