[Gambas-user] Issue 426 in gambas: Long strings in gambas custom control constants

gambas at ...2524... gambas at ...2524...
Mon Apr 22 04:00:01 CEST 2013


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

New issue 426 by adamn... at ...626...: Long strings in gambas custom control  
constants
http://code.google.com/p/gambas/issues/detail?id=426

1) Describe the problem.

If the "_Properties" constant in a custom control has a value whose string  
is longer than 255 characters, the string is truncated in the .info file  
and the component will not load properly.

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

Version: TRUNK
Revision: r5618
Operating system: Linux
Distribution: PCLinuxOS
Architecture: x86
GUI component: QT4 / GTK+
Desktop used: LXDE

3) Provide a little project that reproduces the bug or the crash.
Sorry, I'm about a day and a half behind at the moment.  If one is really  
needed I'll build one in a couple of days.

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.
Create a project with a viable gambas custom control with "lots" of new  
properties (or hide "lots of existing properties one by one.)  i.e. ensure  
that the "_Properties" string value is longer than 255 characters.
Compile it --> OK
Close and re-open the project and create a form.
Add the custom control to the form.
Should get errors in the above.

Look at the .info file.  The string has been truncated (and in my case is  
followed by a bunch of blank lines.


6) By doing that carefully, you have done 50% of the bug fix job!
Hope so! Cheers.


-- 
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