After migrating to G2.0, I feel the scrollView is not that smooth as before.
When scrolling up or down, sometimes the scroll jumps a bit.
Is it just my strange feeling? anyone sees the same thing?
After migrating to G2.0, I feel the scrollView is not that smooth as before.
When scrolling up or down, sometimes the scroll jumps a bit.
Is it just my strange feeling? anyone sees the same thing?
Have you enabled preloading again? Depending on your version of corona or not, it may not be the default. Can’t guarantee it will fix the jerkiness, but as soon as I read about jerkiness, this is what springs to mind.
I was have performance issues with scrollview and thought the same, make sure you have fps = 60 in your config.lua, I think Corona defaults to 30 if you don’t put anything. I think you’ll find it will be smoother.
I think Corona should default to 60 fps because you do want it to run as fast as possible.
I have changed to fps = 60, but there is still jerkiness.
For example, when I swipe up, the scrollView would act like this:
(1) the scrollview goes down a bit
(2) the scrollView jumps to the beginning
(3) the scrollView starts to go down.
It happens very fast and this situation doesn’t look like fps related. Although the scrollView goes down eventually, the beginning shows some jerkiness.
It does not happen every time, but if I play around with it, I really feel so.
Have you enabled preloading again? Depending on your version of corona or not, it may not be the default. Can’t guarantee it will fix the jerkiness, but as soon as I read about jerkiness, this is what springs to mind.
I was have performance issues with scrollview and thought the same, make sure you have fps = 60 in your config.lua, I think Corona defaults to 30 if you don’t put anything. I think you’ll find it will be smoother.
I think Corona should default to 60 fps because you do want it to run as fast as possible.
I have changed to fps = 60, but there is still jerkiness.
For example, when I swipe up, the scrollView would act like this:
(1) the scrollview goes down a bit
(2) the scrollView jumps to the beginning
(3) the scrollView starts to go down.
It happens very fast and this situation doesn’t look like fps related. Although the scrollView goes down eventually, the beginning shows some jerkiness.
It does not happen every time, but if I play around with it, I really feel so.
I also experience choppiness with scrollview.
I have the entire canvas scroll vertically (there are several graphics in the scrollview, but no buttons or clickable objects)
scrollView2 = widget.newScrollView{
width = 1140,
height = 900,
scrollWidth = 0,
scrollHeight = 1140,
horizontalScrollDisabled=true,
hideScrollBar =true,
backgroundColor = { 205/255, 251/255, 255/255}
}
When scrolling up or down, every once in a while it “jumps”.
This didn’t happen in G1.0 I have the latest build
Jorge
Exactly what I am experiencing & it’s the reason I created this post.
It’s really weird that only you & me feel the same for the G2 scrollView.
I could feel it right after I migrated to G2.
It’s still the same with the latest build.
I’ve experienced a lot of issues with G2 (choppy storyboard transitions, slow preloading of images, choppy scrollview, etc).
But my apps are heavy in graphics (lots of images, animations, and sounds) and this is perhaps why I am experiencing these issues and others don’t.
The thing is, my app was smooth in G1 : /
Recently my app received a 3-stars review (which is unusual because my app is average 5 stars with 1000 reviews in total) and the user said in his comment,
Since recent updates, the scrolling does not run as smooth as before
From this comment, I think “since recent updates” means the time I migrated my app to G2, and the “scrolling” means the scrollView.
Even the end user can feel the scrollView has something wrong
I really hope Corona can try to feel it. It’s quite obvious if the app depends on scrollView a lot.
I second this. My scrollView’s are not remotely close to being as smooth as they were with G1.0, and worst of all this is the main complaint I receive from users right now…
G2 caused at least a 6 months step-back for all widgets. We are still not where we were bug-fix wise pre G2… All in the name of progress…
Make sure you have horizontalScrollDisabled=true when you create the scroll view. There is an issue like that I have seen when horizontal scrolling is enabled. It is meant to snap back to original y position if the y change was small and the x change passes the threshhold to start scrolling horizontaly. It is a bug in my opinion as vertical scrolling is supposed to respect the treshhold as well but it doesn’t, it starts scrolling immediately even if you move just by one pixel.
I have a really graphics heavy widget based on scrollView and in G1 I had to rewrite the scrolling functions because when there were a lot of items on the scroll view the scrolling started to act up really badly. I’m just in the process of migrating it to G2 and thought the new scrolling is better than it was in G1. It all looks fine in simulator but I haven’t done proper testing on device so I might have to resort back to my own scrolling functions if it has issues reported here.
Thanks for the info. But I just checked my code and tested again, I already have horizontalScrollDisabled = true, and the problem is still there, even with Simulator.
G1 didn’t have such a problem I have been describing here.
This happens to me too. When scrolling vertically, it jumps around quite often (easily noticeable). Never had this issue with G1.0. Glad to see I’m not alone.
Anyone from Corona willing to give a possible solution to this? It really sucks having jerky scrolling everywhere, especially when it’s a main part of your app.
Same problem with our app. It does not look polish.
Daily 2178 seems to implement some improvement to transitions … This might have an improvement effect on the scrollView too. Lets see…