StablexUI icon indicating copy to clipboard operation
StablexUI copied to clipboard

Options crashes app when I try to set value

Open frankhdz opened this issue 7 years ago • 4 comments

Is there a limit on how many option boxes you can have on screen? As soon as I add a 7th box to my I get the error:

Uncaught exception - std@module_read

If I do not set a value to the box like

var status = UIBuilder.getAs('status',Options);

It works ok but if I do:

status.value="Closed";

I get the error.

The XML looks like this:

 <Options
  w = "100"
 h = "30"
 id = "'status'"
 skinName = "'dropDown'"
 skin:Paint-border = "1"
 skin:Paint-borderColor = "0xcccccc"
 options = "[['Open', 'Open'], ['Closed', 'Closed'], ['Pending', 'Pending']]"
 optionDefaults = "'option'"
											        
											        
/>

frankhdz avatar Mar 20 '17 21:03 frankhdz

After doing a little testing on other targets it appears this issue is only happening on the neko target. Unfortunately "Uncaught exception - std@module_read" is the only error I can get out of the debugger.

frankhdz avatar Mar 20 '17 22:03 frankhdz

I got options working fine but there is still the Uncaught exception - std@module_read on neko targets when I use the StablexUI library. The issue is not present in C++ target.

frankhdz avatar Mar 31 '17 22:03 frankhdz

Your example works fine for me. Can you post minimal complete project with reproducible issue?

RealyUniqueName avatar Apr 03 '17 20:04 RealyUniqueName

Options works fine but have not been able to figure out what triggers the std@module_read read error. It is only happening on this project that is using StablexUI lib. I will try and narrow it down and see if I can provide an example.

frankhdz avatar Apr 05 '17 16:04 frankhdz