Latest Public Release Bugs? (2013.1076)

I am having a number issues with the latest public release (2013.1076). When switching my code to follow some of the new forms I have ran into a few strange problems. I have found workarounds for almost all of them, but I will still bring them up here just to see if there is something obvious I am missing.

  • My tab bar widgets are forcing me to manually include a theme in my code. The way I understood it this should be automatic, correct?
  • The value is not updating on my sliders anymore with the new widget 2.0 library. I have had to manually set them each time the listener is called using “slider:setValue(event.value)”
  • My runtime listener for my game loop would not be removed properly in exitScene function. I had to move it into the loop itself when a game over happens. Its works fine now, but still a strange side affect from the update.
  • One of my touch listeners is running twice per touch since I updated to the latest public build (both in the simulator and on my device). I have not found any work around for this. This is the problem I need help with. More details are below.

This is my listener (I have cut some inner code that isn’t related to the problem to simplify)

local function touchListener(event) if(not pauseInstance.paused) then print(event.phase) if (event.phase == "began") then print( "Touched!" ) end end return true; end

I add and remove the listener on enter and exit like I am supposed to.

background:addEventListener( “touch”, touchListener );

background:removeEventListener( “touch”, touchListener );

Now the output from this I get per touch:

began    

Touched!    

began    

Touched!    

ended    

ended

A touch is two nested touches for some reason… Does anyone have any ideas what the issue is?

Thanks in advance.

Hi @Virus Games,

Just curious, have you gone through the Widgets 2.0 Migration guide? Pardon if you already have; I just want to check, since some users aren’t aware it even exists!

http://forums.coronalabs.com/topic/33421-faq-updated-to-build-1034-or-greater-including-latest-public-release-widgets-no-longer-working-read-this-first/

Regards,

Brent

Yes I have gone through the migration guide. I may have overlooked something for the widget issues, but I still haven’t seen it if I did. The widget specific problems aren’t really an issue for me  though since I have found workaround solutions. The real problem that I have and need help with it the “double touch” effect that I am getting since it breaks my game mechanics. 

I’ve migrated to / am using using tableview widgets, and don’t have these issues.

The only issue I do have is the delayed touch behavior – when selecting a tableView row, quick taps aren’t registered at all - the user has to hold on the row a second and then release. Very difficult to use this way. If they share the same technique / code, I’d guess scroll lists are difficult to quickly tap as well.

Hi @Virus Games,

Just curious, have you gone through the Widgets 2.0 Migration guide? Pardon if you already have; I just want to check, since some users aren’t aware it even exists!

http://forums.coronalabs.com/topic/33421-faq-updated-to-build-1034-or-greater-including-latest-public-release-widgets-no-longer-working-read-this-first/

Regards,

Brent

Yes I have gone through the migration guide. I may have overlooked something for the widget issues, but I still haven’t seen it if I did. The widget specific problems aren’t really an issue for me  though since I have found workaround solutions. The real problem that I have and need help with it the “double touch” effect that I am getting since it breaks my game mechanics. 

I’ve migrated to / am using using tableview widgets, and don’t have these issues.

The only issue I do have is the delayed touch behavior – when selecting a tableView row, quick taps aren’t registered at all - the user has to hold on the row a second and then release. Very difficult to use this way. If they share the same technique / code, I’d guess scroll lists are difficult to quickly tap as well.