[Gambas-user] Issue 103 in gambas: Treeview KeyRelease behaves differently with gtk and qt4

gambas at ...2524... gambas at ...2524...
Tue Sep 6 06:59:10 CEST 2011


Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 103 by adamn... at ...626...: Treeview KeyRelease behaves  
differently with gtk and qt4
http://code.google.com/p/gambas/issues/detail?id=103

1) Describe the problem.
In qt4 the treeview KeyRelease event is being fired even if the key has not  
been released yet. gtk behaves correctly.

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):

Version: TRUNK
Revision: r4094
Operating system: Linux
Distribution: Gentoo ...
Architecture: x86
GUI component: QT4 and GTK+
Desktop used: LXDE

3) Provide a little project that reproduces the bug or the crash.
Attached

4) If your project needs a database, try to provide it, or part of it.
N/A

5) Explain clearly how to reproduce the bug or the crash.
1) Decompress and load the attached in the gambas3 IDE
2. Check in the project properties Environment tab that it has GB_GUI  
defined and set to gb.gtk
3. Run the project.
4. In the treeview press and hold the down arrow key.  After it has  
scrolled a bit release it.  You should see one line in the textarea  
indicating the treeview item that was current when the key was released.
5. Close the form and set the project properties Environment GB_GUI item to  
gb.qt4
6 Re-run the project and repeat step 4.  Now the event is firing on each  
treeview item.



Attachments:
	tvwkeyrelease-0.0.1.tar.gz  4.8 KB





More information about the User mailing list