28 Nov 2012 1:03 PM #1
Unanswered: ST2 Button very slow, but only the first tap
I am starting to use ST2 and on my first application I have a form screen with a button that loads a JsonP store and pushes a new Nestedlist with the response to the filters in the first screen. Everything peachy...
My only problem is that the first time I tap the button, the application takes about 15 seconds to go from the first screen to the next one, the button just stays there visibly pressed and nothing happens, if I get back to the main query window, and change parameters and issue a new query, everything works perfectly, no delay at all...
Anyone can help pointing to where should I start looking for answers to this problem?
29 Nov 2012 8:20 AM #2
I did some more investigation, made a profile of the application with Chrome, and found this stack of events taking 1.3 minutes.
Any idea why it is happening?
Screen Shot 2012-11-29 at 11.16.48 AM.jpg
30 Nov 2012 8:05 AM #3
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
I have not had any issues with this on any device I have used. How many components do you have rendered?
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
30 Nov 2012 1:01 PM #4
I found what was wrong, the problem was with a grouper function associated to the store, and that was causing the delay. Since I had no idea where to start, I started commenting "additional" lines from the code, until I found the problem.
Finally I started reading more and found out I was using the Tree Store where I should have been using a regular Store. Now the application is very responsive.