[Gambas-user] Issue 576 in gambas: TextBox.Select not reliable

gambas at ...2524... gambas at ...2524...
Wed Nov 5 07:45:11 CET 2014


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

New issue 576 by chr4... at ...1601...: TextBox.Select not reliable
https://code.google.com/p/gambas/issues/detail?id=576

Hi,

1) By developing an alternative combobox I found an issue with Gambas  
TextBox. The alternative combobox inherits TextBox. If the user enters  
letters in the combobox it searches in a list and completes the user's  
entry with matching words as a selection. This is done in the project in  
Sub SelectToInput() on line 460 with the code
Me.Select(lensearch, lengridtext).

To reproduce (but is it not always reliable reproducible):

Enter one Letter after the other in the combobox
M - i (the combobox shall complete to Mi-lben)
n - e - r - a - f - u - t - t - e - r
(the combobox shall complete to Min-eralfutter after the "n" and so on)

After a couple of entered letters, sometimes after the second, very often  
within five, the combobox suddenly does not display the completed text as  
selection anymore. But as one can see by watching debug output in the code,  
the selection is registered by the interpreter.

This bug prevents me from further developing of the combobox. tux_ in the  
German forum gambas-club.de could reproduce this bug on his system.

2) Give information about your system. Use the 'System information' menu in
the Gambas IDE, and paste the result there.

[System]
Gambas=3.6.0
OperatingSystem=Linux
Kernel=3.11.0-20-generic
Architecture=x86_64
Distribution=Ubuntu 14.04.1 LTS
Desktop=XFCE
Theme=QGtk
Language=de_DE.UTF-8
Memory=3848M
[Libraries]
Cairo=libcairo.so.0.0.0
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.204.0
GTK+3=libgtk-3.so.0.1000.8
GTK+=libgtk-x11-2.0.so.0.2400.23
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
Qt4=libQtCore.so.4.8.6
SDL=libSDL-1.2.so.0.11.4








Attachments:
	DegComboBox-0.0.2.tar.gz  16.0 KB

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings




More information about the User mailing list