AW: Very bumpy group scrolling on Android tablets
Tiemo Hollmann TB
toolbook at kestner.de
Tue Dec 10 11:10:26 EST 2013
could it be related to the 32k limit of objects / groups, or the
imageCacheLimit? See the thread "scrolling a very large image on iOS".
Just a guess,
> -----Ursprüngliche Nachricht-----
> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im
> von Mark Schonewille
> Gesendet: Dienstag, 10. Dezember 2013 16:22
> An: How to use LiveCode
> Betreff: Very bumpy group scrolling on Android tablets
> I'm having a problem with scrolling groups using the native scroller on
> Android devices (and possibly iOS devices). The group contains
> approximately 100 images and 100 buttons. The formattedWidth is
> approximately 2500 pixels.
> When I start scrolling the group horizontally, the first time I scroll it
> till the end is extremely bumpy. Every time, the Android tablet will warn
> me, saying that the app is frozen and asking me to force-quit or wait.
> I have managed to scroll till the end one time, everything works perfectly
> When I leave the card and come back to it, it all starts from the
> again. I have to scroll till the end to obtain smooth scrolling again.
> I have added a handler that scrolls the group till the end and back after
> the openCard handler has finished running and I wait 50 millisecs with
> messages before I set the hScroll of the group to 0 again.
> I have tried every possible combination of layermodes, changing the
> layermodes of buttons, images and the group (9 different combinations).
> Nothing fixes the problem.
> Does anyone else have this bumpy experience with scrolling groups? Is
> a solution?
> Best regards,
> Mark Schonewille
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour
> spaces. http://www.color-converter.com
> Buy my new book "Programming LiveCode for the Real Beginner"
> Fill out this survey please
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode