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?
Jump to content
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)
When scrolling up or down, everyone in a while it "jumps".This didn't happen in G1.0 I have the latest build
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.
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.
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.
I agree with all of you. This issue is a big deal especially when it comes to building business apps... I am sure the corona dev's notice/know about the jerkiness/performance issue of scrollView/tableView - hopefully they can start focusing on that more because this eventually could be a showstopper for a lot of people trying to build business apps with corona.
Ok, I filed a bug report for this problem, case 30976.
Attached is the code to test with. There is nothing but a scrollView with 20 text items.
Although it happens in Simulator too, it happens more often & obvious in actual devices. Besides, with actual devices you can swipe faster & it's how the end users operates.
Try to scroll up & down, sometimes go fast, try to bang on it.
You should be able to feel sometimes it's just not that smooth & jumps a bit here and there.
Community Forum Software by IP.Board